summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/meson/meson_overlay.c
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-04-29 09:52:47 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2019-06-07 10:32:56 +0200
commitfd311d880c76dec61fdc6f4b1f3b6653bb189029 (patch)
tree3b0e6b7810547e65b4c5119dd62a99358de8553e /drivers/gpu/drm/meson/meson_overlay.c
parentdrm/vkms: Forward timer right after drm_crtc_handle_vblank (diff)
downloadlinux-fd311d880c76dec61fdc6f4b1f3b6653bb189029.tar.xz
linux-fd311d880c76dec61fdc6f4b1f3b6653bb189029.zip
drm/meson: Add zpos immutable property to planes
Add immutable zpos property to primary and overlay planes to specify the current fixed zpos position. Fixes: f9a2348196d1 ("drm/meson: Support Overlay plane for video rendering") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190429075247.7946-1-narmstrong@baylibre.com
Diffstat (limited to 'drivers/gpu/drm/meson/meson_overlay.c')
-rw-r--r--drivers/gpu/drm/meson/meson_overlay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/meson/meson_overlay.c b/drivers/gpu/drm/meson/meson_overlay.c
index 55b3f2f2e608..cc7c6ae3013d 100644
--- a/drivers/gpu/drm/meson/meson_overlay.c
+++ b/drivers/gpu/drm/meson/meson_overlay.c
@@ -578,6 +578,9 @@ int meson_overlay_create(struct meson_drm *priv)
drm_plane_helper_add(plane, &meson_overlay_helper_funcs);
+ /* For now, VD Overlay plane is always on the back */
+ drm_plane_create_zpos_immutable_property(plane, 0);
+
priv->overlay_plane = plane;
DRM_DEBUG_DRIVER("\n");