Home
last modified time | relevance | path

Searched full:nvdec (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/gpu/drm/tegra/
H A Dnvdec.c36 struct nvdec { struct
55 static inline struct nvdec *to_nvdec(struct tegra_drm_client *client) in to_nvdec() argument
57 return container_of(client, struct nvdec, client); in to_nvdec()
60 static inline void nvdec_writel(struct nvdec *nvdec, u32 value, in nvdec_writel() argument
63 writel(value, nvdec->regs + offset); in nvdec_writel()
66 static int nvdec_boot_falcon(struct nvdec *nvdec) in nvdec_boot_falcon() argument
71 if (nvdec->config->supports_sid && tegra_dev_iommu_get_stream_id(nvdec->dev, &stream_id)) { in nvdec_boot_falcon()
75 nvdec_writel(nvdec, value, NVDEC_TFBIF_TRANSCFG); in nvdec_boot_falcon()
77 nvdec_writel(nvdec, stream_id, VIC_THI_STREAMID0); in nvdec_boot_falcon()
78 nvdec_writel(nvdec, stream_id, VIC_THI_STREAMID1); in nvdec_boot_falcon()
[all …]
H A DMakefile27 nvdec.o \
H A Ddrm.c1387 { .compatible = "nvidia,tegra210-nvdec", },
1393 { .compatible = "nvidia,tegra186-nvdec", },
1398 { .compatible = "nvidia,tegra194-nvdec", },
1400 { .compatible = "nvidia,tegra234-nvdec", },
/linux/drivers/gpu/drm/nouveau/nvkm/engine/nvdec/
H A Dbase.c28 struct nvkm_nvdec *nvdec = nvkm_nvdec(engine); in nvkm_nvdec_dtor() local
29 nvkm_falcon_dtor(&nvdec->falcon); in nvkm_nvdec_dtor()
30 return nvdec; in nvkm_nvdec_dtor()
43 struct nvkm_nvdec *nvdec; in nvkm_nvdec_new_() local
46 if (!(nvdec = *pnvdec = kzalloc(sizeof(*nvdec), GFP_KERNEL))) in nvkm_nvdec_new_()
50 &nvdec->engine); in nvkm_nvdec_new_()
54 fwif = nvkm_firmware_load(&nvdec->engine.subdev, fwif, "Nvdec", nvdec); in nvkm_nvdec_new_()
58 nvdec->func = fwif->func; in nvkm_nvdec_new_()
60 return nvkm_falcon_ctor(nvdec->func->flcn, &nvdec->engine.subdev, in nvkm_nvdec_new_()
61 nvdec->engine.subdev.name, addr, &nvdec->falcon); in nvkm_nvdec_new_()
H A DKbuild2 nvkm-y += nvkm/engine/nvdec/base.o
3 nvkm-y += nvkm/engine/nvdec/gm107.o
4 nvkm-y += nvkm/engine/nvdec/tu102.o
5 nvkm-y += nvkm/engine/nvdec/ga100.o
6 nvkm-y += nvkm/engine/nvdec/ga102.o
7 nvkm-y += nvkm/engine/nvdec/ad102.o
9 nvkm-y += nvkm/engine/nvdec/r535.o
H A Dr535.c78 struct nvkm_nvdec *nvdec = nvkm_nvdec(engine); in r535_nvdec_dtor() local
80 kfree(nvdec->engine.func); in r535_nvdec_dtor()
81 return nvdec; in r535_nvdec_dtor()
H A Dpriv.h4 #include <engine/nvdec.h>
H A Dgm107.c41 gm107_nvdec_nofw(struct nvkm_nvdec *nvdec, int ver, in gm107_nvdec_nofw() argument
H A Dga102.c54 ga102_nvdec_nofw(struct nvkm_nvdec *nvdec, int ver, const struct nvkm_nvdec_fwif *fwif) in ga102_nvdec_nofw() argument
/linux/Documentation/devicetree/bindings/gpu/host1x/
H A Dnvidia,tegra210-nvdec.yaml4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra210-nvdec.yaml#
7 title: NVIDIA Tegra NVDEC
10 NVDEC is the hardware video decoder present on NVIDIA Tegra210
20 pattern: "^nvdec@[0-9a-f]*$"
24 - nvidia,tegra210-nvdec
25 - nvidia,tegra186-nvdec
26 - nvidia,tegra194-nvdec
36 - const: nvdec
43 - const: nvdec
92 nvdec@15480000 {
[all …]
H A Dnvidia,tegra234-nvdec.yaml4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml#
7 title: NVIDIA Tegra234 NVDEC
10 NVDEC is the hardware video decoder present on NVIDIA Tegra210
20 pattern: "^nvdec@[0-9a-f]*$"
24 - nvidia,tegra234-nvdec
34 - const: nvdec
43 - const: nvdec
66 phandle to the memory controller for determining information for the NVDEC
131 nvdec@15480000 {
132 compatible = "nvidia,tegra234-nvdec";
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dga102.c26 #include <engine/nvdec.h>
39 nvkm_falcon_fw_ctor_hs_v2(&ga102_flcn_fw, "mem-unlock", subdev, "nvdec/scrubber", in ga102_fb_oneinit()
40 0, &subdev->device->nvdec[0]->falcon, &fb->vpr_scrubber); in ga102_fb_oneinit()
69 MODULE_FIRMWARE("nvidia/ga102/nvdec/scrubber.bin");
70 MODULE_FIRMWARE("nvidia/ga103/nvdec/scrubber.bin");
71 MODULE_FIRMWARE("nvidia/ga104/nvdec/scrubber.bin");
72 MODULE_FIRMWARE("nvidia/ga106/nvdec/scrubber.bin");
73 MODULE_FIRMWARE("nvidia/ga107/nvdec/scrubber.bin");
H A Dgp102.c27 #include <engine/nvdec.h>
62 nvkm_falcon_fw_ctor_hs(&gm200_flcn_fw, "mem-unlock", subdev, NULL, "nvdec/scrubber", in gp102_fb_oneinit()
63 0, &subdev->device->nvdec[0]->falcon, &fb->vpr_scrubber); in gp102_fb_oneinit()
88 MODULE_FIRMWARE("nvidia/gp102/nvdec/scrubber.bin");
89 MODULE_FIRMWARE("nvidia/gp104/nvdec/scrubber.bin");
90 MODULE_FIRMWARE("nvidia/gp106/nvdec/scrubber.bin");
91 MODULE_FIRMWARE("nvidia/gp107/nvdec/scrubber.bin");
92 MODULE_FIRMWARE("nvidia/gp108/nvdec/scrubber.bin");
H A Dtu102.c57 MODULE_FIRMWARE("nvidia/tu102/nvdec/scrubber.bin");
58 MODULE_FIRMWARE("nvidia/tu104/nvdec/scrubber.bin");
59 MODULE_FIRMWARE("nvidia/tu106/nvdec/scrubber.bin");
60 MODULE_FIRMWARE("nvidia/tu116/nvdec/scrubber.bin");
61 MODULE_FIRMWARE("nvidia/tu117/nvdec/scrubber.bin");
H A Dgv100.c52 MODULE_FIRMWARE("nvidia/gv100/nvdec/scrubber.bin");
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dbase.c1907 .nvdec = { 0x00000001, gm107_nvdec_new },
1975 .nvdec = { 0x00000001, gm107_nvdec_new },
2010 .nvdec = { 0x00000001, gm107_nvdec_new },
2045 .nvdec = { 0x00000001, gm107_nvdec_new },
2103 .nvdec = { 0x00000001, gm107_nvdec_new },
2136 .nvdec = { 0x00000001, gm107_nvdec_new },
2170 .nvdec = { 0x00000001, gm107_nvdec_new },
2204 .nvdec = { 0x00000001, gm107_nvdec_new },
2238 .nvdec = { 0x00000001, gm107_nvdec_new },
2272 .nvdec = { 0x00000001, gm107_nvdec_new },
[all …]
H A Dpriv.h45 #include <engine/nvdec.h>
/linux/drivers/gpu/drm/nouveau/nvkm/engine/
H A DKbuild19 include $(src)/nvkm/engine/nvdec/Kbuild
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h45 NVKM_LAYOUT_INST(NVKM_ENGINE_NVDEC , struct nvkm_nvdec , nvdec, 8)
/linux/Documentation/devicetree/bindings/arm/tegra/
H A Dnvidia,tegra194-cbb.yaml35 engines like TSEC (Security co-processor), NVDEC (NVIDIA Video Decoder
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dacr.h27 case NVKM_ACR_LSF_NVDEC : return "nvdec"; in nvkm_acr_lsf_id()
/linux/drivers/gpu/host1x/
H A Ddev.c152 { /* NVDEC */ .base = 0x1b00, .offset = 0x30, .limit = 0x34 },
194 { /* NVDEC */ .base = 0x1b00, .offset = 0x30, .limit = 0x34 },
242 { /* NVDEC MMIO */ .base = 0x1698, .offset = 0x34, .limit = 0x34 },
243 { /* NVDEC ch */ .base = 0x17c8, .offset = 0x30, .limit = 0x30 },
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra194.dtsi1919 nvdec@15140000 {
1920 compatible = "nvidia,tegra194-nvdec";
1923 clock-names = "nvdec";
1925 reset-names = "nvdec";
2067 nvdec@15480000 {
2068 compatible = "nvidia,tegra194-nvdec";
2071 clock-names = "nvdec";
2073 reset-names = "nvdec";
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dbase.c211 CASE(NVDEC ); in nvkm_fifo_info()
/linux/drivers/memory/tegra/
H A Dtegra210.c1194 { .name = "nvdec", .swgroup = TEGRA_SWGROUP_NVDEC, .reg = 0xab4 },
1267 TEGRA210_MC_RESET(NVDEC, 0x970, 0x974, 5),

12