/linux/drivers/gpu/drm/tegra/ |
H A D | nvdec.c | 36 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 D | Makefile | 27 nvdec.o \
|
H A D | drm.c | 1387 { .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 D | base.c | 28 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 D | Kbuild | 2 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 D | r535.c | 78 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 D | priv.h | 4 #include <engine/nvdec.h>
|
H A D | gm107.c | 41 gm107_nvdec_nofw(struct nvkm_nvdec *nvdec, int ver, in gm107_nvdec_nofw() argument
|
H A D | ga102.c | 54 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 D | nvidia,tegra210-nvdec.yaml | 4 $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 D | nvidia,tegra234-nvdec.yaml | 4 $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 D | ga102.c | 26 #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 D | gp102.c | 27 #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 D | tu102.c | 57 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 D | gv100.c | 52 MODULE_FIRMWARE("nvidia/gv100/nvdec/scrubber.bin");
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 1907 .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 D | priv.h | 45 #include <engine/nvdec.h>
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ |
H A D | Kbuild | 19 include $(src)/nvkm/engine/nvdec/Kbuild
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | layout.h | 45 NVKM_LAYOUT_INST(NVKM_ENGINE_NVDEC , struct nvkm_nvdec , nvdec, 8)
|
/linux/Documentation/devicetree/bindings/arm/tegra/ |
H A D | nvidia,tegra194-cbb.yaml | 35 engines like TSEC (Security co-processor), NVDEC (NVIDIA Video Decoder
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | acr.h | 27 case NVKM_ACR_LSF_NVDEC : return "nvdec"; in nvkm_acr_lsf_id()
|
/linux/drivers/gpu/host1x/ |
H A D | dev.c | 152 { /* 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 D | tegra194.dtsi | 1919 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 D | base.c | 211 CASE(NVDEC ); in nvkm_fifo_info()
|
/linux/drivers/memory/tegra/ |
H A D | tegra210.c | 1194 { .name = "nvdec", .swgroup = TEGRA_SWGROUP_NVDEC, .reg = 0xab4 }, 1267 TEGRA210_MC_RESET(NVDEC, 0x970, 0x974, 5),
|