drm/tegra: plane: Support 180° rotation
authorDmitry Osipenko <digetx@gmail.com>
Wed, 17 Jun 2020 23:40:40 +0000 (02:40 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 17 Jul 2020 14:06:17 +0000 (16:06 +0200)
commit4fba6d22ca9ad28b8871d763b35a4da2e1ca272e
tree271161ea18060adbf87215d6a3d8f15082a51bb0
parentcd740777d29d7053e0172c7e0105789428425941
drm/tegra: plane: Support 180° rotation

Combining horizontal and vertical reflections gives us 180 degrees of
rotation. Both reflection modes are already supported, and thus, we just
need to mark the 180 rotation mode as supported. The 180 rotation mode is
needed for devices like Nexus 7 tablet, which have display panel mounted
upside-down.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c