OSDN Git Service

drm: disable GPU authentication
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 9 Feb 2011 02:43:27 +0000 (10:43 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 31 Mar 2011 02:03:21 +0000 (10:03 +0800)
drivers/gpu/drm/drm_fops.c

index 2ec7d48..08f0674 100644 (file)
@@ -252,7 +252,7 @@ static int drm_open_helper(struct inode *inode, struct file *filp,
        priv->minor = idr_find(&drm_minors_idr, minor_id);
        priv->ioctl_count = 0;
        /* for compatibility root is always authenticated */
-       priv->authenticated = capable(CAP_SYS_ADMIN);
+       priv->authenticated = 1;
        priv->lock_count = 0;
 
        INIT_LIST_HEAD(&priv->lhead);