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>
Fri, 25 Feb 2022 15:36:37 +0000 (16:36 +0100)
commitc25eae9d06b616515493de6b0443903ffc7213b1
treefc0571b546048416112ebf965465ff27048b7662
parentf3e0a175dcfecfb97d7025609ef76708be8753d0
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