summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/malidp_planes.c
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2016-10-24 18:35:09 +0100
committerLiviu Dudau <Liviu.Dudau@arm.com>2016-11-04 17:10:42 +0000
commit2fe1f08ee06e9f2eabdaf9fdaba31360920abfcb (patch)
tree3305441cef8f3e9d91583051867fd842fa005d47 /drivers/gpu/drm/arm/malidp_planes.c
parentfe37ed6a2dd63b5cc945b6b354c02b58473c0abf (diff)
downloadop-kernel-dev-2fe1f08ee06e9f2eabdaf9fdaba31360920abfcb.zip
op-kernel-dev-2fe1f08ee06e9f2eabdaf9fdaba31360920abfcb.tar.gz
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@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_planes.c')
-rw-r--r--drivers/gpu/drm/arm/malidp_planes.c1
1 files changed, 1 insertions, 0 deletions
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,
OpenPOWER on IntegriCloud