]> 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)
commitd5430c96c3f05463dc05ab354fc37225c124eeae
treefc0571b546048416112ebf965465ff27048b7662
parent81dd7ccbc6aa1b2a702ff0eeaed377e0740ac13c
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