From: Liviu Dudau Date: Thu, 7 Aug 2014 15:42:40 +0000 (+0100) Subject: DRM: HDLCD: Enable compat IOCTL for 32-bit userspace. X-Git-Tag: submit/tizen/20141203.153721~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f3f445a96ac34a0e64122021440f8dcff050036;p=platform%2Fkernel%2Flinux-arm64.git 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 --- diff --git a/drivers/gpu/drm/arm/hdlcd_fb.c b/drivers/gpu/drm/arm/hdlcd_fb.c index 5165ece55b7..95f8dca10cb 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, };