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)
commita649b133c3154f3d1d297cf85711957e61c0f070
treefc0571b546048416112ebf965465ff27048b7662
parent28aa30b08de6f4b346f25f7c8bb5ba3739c1879c
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