Re: [PATCH v6 3/3] drm/tegra: Add NVDEC driver
From: Thierry Reding <hidden>
Date: 2021-10-06 18:09:05
Also in:
dri-devel, linux-tegra
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Thierry Reding <hidden>
Date: 2021-10-06 18:09:05
Also in:
dri-devel, linux-tegra
On Thu, Sep 16, 2021 at 05:55:17PM +0300, Mikko Perttunen wrote:
Add support for booting and using NVDEC on Tegra210, Tegra186 and Tegra194 to the Host1x and TegraDRM drivers. Booting in secure mode is not currently supported. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> --- v5: * Remove num_instances * Change from nvidia,instance to nvidia,host1x-class v3: * Change num_instances to unsigned int * Remove unnecessary '= 0' initializer * Populate num_instances data * Fix instance number check v2: * Use devm_platform_get_and_ioremap_resource * Remove reset handling, done by power domain code * Assume runtime PM is enabled --- drivers/gpu/drm/tegra/Makefile | 3 +- drivers/gpu/drm/tegra/drm.c | 4 + drivers/gpu/drm/tegra/drm.h | 1 + drivers/gpu/drm/tegra/nvdec.c | 464 +++++++++++++++++++++++++++++++++ drivers/gpu/host1x/dev.c | 18 ++ include/linux/host1x.h | 2 + 6 files changed, 491 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/tegra/nvdec.c
Applied, thanks. Thierry