]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Implement stream ID related callbacks on engines
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:19:54 +0000 (17:19 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:52 +0000 (16:27 +0200)
commit7eece1fb0cdeb0bc5862186110ee0d571e00e3ad
treea956991a61dea2dab00d0899187e97837b4c120c
parent4ab3245e279f939b0bc85b89855b147fa5ad69fe
drm/tegra: Implement stream ID related callbacks on engines

Implement the get_streamid_offset and can_use_memory_ctx callbacks
required for supporting context isolation. Since old firmware on VIC
cannot support context isolation without hacks that we don't want to
implement, check the firmware binary to see if context isolation
should be enabled.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/nvdec.c
drivers/gpu/drm/tegra/vic.c