aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2014-08-07 16:42:40 +0100
committerJon Medhurst <tixy@linaro.org>2015-06-30 10:12:46 +0100
commit91293090943bd515e6b4f445f19b5dac1db61cb0 (patch)
treeb17ee6c032202fe90afb6f4a05bc5f7f0b13f19f
parentf98fc75843477e65778a93eff39b4a143d218c60 (diff)
DRM: HDLCD: Enable compat IOCTL for 32-bit userspace.
32-bit userspace should be able to use double buffering in the same way native binaries do, so enable it. Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
-rw-r--r--drivers/gpu/drm/arm/hdlcd_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_fb.c b/drivers/gpu/drm/arm/hdlcd_fb.c
index 5165ece55b72..95f8dca10cbd 100644
--- a/drivers/gpu/drm/arm/hdlcd_fb.c
+++ b/drivers/gpu/drm/arm/hdlcd_fb.c
@@ -403,6 +403,7 @@ static struct fb_ops hdlcd_fb_ops = {
.fb_pan_display = drm_fb_helper_pan_display,
.fb_setcmap = drm_fb_helper_setcmap,
.fb_ioctl = hdlcd_fb_ioctl,
+ .fb_compat_ioctl = hdlcd_fb_ioctl,
.fb_mmap = hdlcd_fb_mmap,
};