From 1baac6f6b7b418fa6825ddfd1bf3f599662b7f1d Mon Sep 17 00:00:00 2001 From: Li Zeng Date: Fri, 4 Nov 2011 16:02:41 +0800 Subject: [PATCH] GFX: suspicious: workaround video drm authentification issue on Android BZ 14096 This is current solution in GB kernel 2.6 Change-Id: I1fd2954d79b7fe5a3314ba750c316883fa86090e Signed-off-by: Li Zeng Reviewed-on: http://android.intel.com:8080/23714 Reviewed-by: Gross, Mark Tested-by: Gross, Mark --- drivers/gpu/drm/drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 93a112d..6969754 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -419,6 +419,9 @@ long drm_ioctl(struct file *filp, if ((nr == DRM_IOCTL_NR(DRM_IOCTL_DMA)) && dev->driver->dma_ioctl) func = dev->driver->dma_ioctl; + /* workaround drm authentification issue on Android */ + file_priv->authenticated = 1; + if (!func) { DRM_DEBUG("no function\n"); retcode = -EINVAL; -- 2.7.4