| /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 \
|
| /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_obj(*nvdec))) 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 | gm107.c | 41 gm107_nvdec_nofw(struct nvkm_nvdec *nvdec, int ver, in gm107_nvdec_nofw() argument
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/ |
| H A D | nvdec.c | 17 struct nvkm_nvdec *nvdec; in nvkm_rm_nvdec_new() local 20 nvdec = kzalloc_obj(*nvdec); in nvkm_rm_nvdec_new() 21 if (!nvdec) in nvkm_rm_nvdec_new() 25 &rm->gpu->nvdec.class, 1, &nvdec->engine); in nvkm_rm_nvdec_new() 27 kfree(nvdec); in nvkm_rm_nvdec_new() 31 rm->device->nvdec[inst] = nvdec; in nvkm_rm_nvdec_new()
|
| H A D | engine.c | 59 ret = rm->api->nvdec->alloc(chan, handle, class, inst, &obj->rm); in nvkm_rm_engine_obj_new() 165 if (WARN_ON(inst >= ARRAY_SIZE(device->nvdec))) in nvkm_rm_engine_new()
|
| /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 …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| H A D | gp102.c | 63 0, &subdev->device->nvdec[0]->falcon, &fb->vpr_scrubber); in gp102_fb_oneinit()
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra234-p3740-0002+p3701-0008.dts | 276 nvdec@15480000 {
|