aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/plane.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-03-19 17:20:46 +0100
committerThierry Reding <treding@nvidia.com>2018-05-18 21:56:21 +0200
commit995c5a509fb032ddd83eff4f3772c7fc8ff0b7ec (patch)
treea65253b7a7e110a7625fa1a5d64c60b02d954561 /drivers/gpu/drm/tegra/plane.h
parentdrm/tegra: gem: Fill in missing export info (diff)
downloadlinux-dev-995c5a509fb032ddd83eff4f3772c7fc8ff0b7ec.tar.xz
linux-dev-995c5a509fb032ddd83eff4f3772c7fc8ff0b7ec.zip
drm/tegra: dc: Support rotation property
Currently only the DRM_MODE_REFLECT_Y rotation is supported. The driver already supports reflection on the Y axis via a custom flag which is not very useful because it requires custom userspace. Add the standard rotation property that supports 0 degree rotation and Y axis reflection for primary and overlay planes to provide a better interface than the custom flag. v2: keep custom flag for ABI compatibility (Dmitry) Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/plane.h')
-rw-r--r--drivers/gpu/drm/tegra/plane.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/plane.h b/drivers/gpu/drm/tegra/plane.h
index 7360ddfafee8..e79e6b4a8e0a 100644
--- a/drivers/gpu/drm/tegra/plane.h
+++ b/drivers/gpu/drm/tegra/plane.h
@@ -46,6 +46,8 @@ struct tegra_plane_state {
u32 format;
u32 swap;
+ bool bottom_up;
+
/* used for legacy blending support only */
struct tegra_plane_legacy_blending_state blending[2];
bool opaque;