[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161108134325.1466-1-Liviu.Dudau@arm.com>
Date: Tue, 8 Nov 2016 13:43:25 +0000
From: Liviu Dudau <Liviu.Dudau@....com>
To: DRI devel <dri-devel@...ts.freedesktop.org>
Cc: Mali DP Maintainers <malidp@...s.arm.com>,
David Airlie <airlied@...ux.ie>,
Brian Starkey <brian.starkey@....com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] drm: mali-dp: Add support for setting plane's rotation property from userspace.
In order to support DRM_IOCTL_MODE_OBJ_SETPROPERTY for the rotation property
we need to have a ->set_property hook defined for the planes. Set the
plane's ->set_property hook to drm_atomic_helper_plane_set_property()
Signed-off-by: Liviu Dudau <Liviu.Dudau@....com>
---
drivers/gpu/drm/arm/malidp_planes.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/arm/malidp_planes.c b/drivers/gpu/drm/arm/malidp_planes.c
index bb1c528..8eef9a8 100644
--- a/drivers/gpu/drm/arm/malidp_planes.c
+++ b/drivers/gpu/drm/arm/malidp_planes.c
@@ -89,6 +89,7 @@ void malidp_destroy_plane_state(struct drm_plane *plane,
static const struct drm_plane_funcs malidp_de_plane_funcs = {
.update_plane = drm_atomic_helper_update_plane,
.disable_plane = drm_atomic_helper_disable_plane,
+ .set_property = drm_atomic_helper_plane_set_property,
.destroy = malidp_de_plane_destroy,
.reset = drm_atomic_helper_plane_reset,
.atomic_duplicate_state = malidp_duplicate_plane_state,
--
2.10.0
Powered by blists - more mailing lists