]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Support semi-planar formats on Tegra114+
authorThierry Reding <treding@nvidia.com>
Wed, 12 Jan 2022 08:36:29 +0000 (09:36 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 1 Mar 2022 10:13:09 +0000 (11:13 +0100)
commit6ca8a048a1fa90e01af32e35d46da6a97fd7f26f
treefc0571b546048416112ebf965465ff27048b7662
parented22805ddbf665feb6909dffc3c644d8f253f186
drm/tegra: Support semi-planar formats on Tegra114+

The NV12, NV21, NV16, NV61, NV24 and NV42 formats are supported by
Tegra114 and later display hardware. Add the necessary programming to
allow them to be used.

Note that this does not work for Tegra186 and later yet because those
generations have a different display architecture that doesn't support
the same formats.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/hub.c
drivers/gpu/drm/tegra/plane.c
drivers/gpu/drm/tegra/plane.h