aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 66814291949a..295de65b7088 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -272,10 +272,13 @@ typedef int drm_ioctl_t(struct inode *inode, struct file *filp,
272typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd, 272typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
273 unsigned long arg); 273 unsigned long arg);
274 274
275#define DRM_AUTH 0x1
276#define DRM_MASTER 0x2
277#define DRM_ROOT_ONLY 0x4
278
275typedef struct drm_ioctl_desc { 279typedef struct drm_ioctl_desc {
276 drm_ioctl_t *func; 280 drm_ioctl_t *func;
277 int auth_needed; 281 int flags;
278 int root_only;
279} drm_ioctl_desc_t; 282} drm_ioctl_desc_t;
280 283
281typedef struct drm_devstate { 284typedef struct drm_devstate {
@@ -370,6 +373,7 @@ typedef struct drm_buf_entry {
370/** File private data */ 373/** File private data */
371typedef struct drm_file { 374typedef struct drm_file {
372 int authenticated; 375 int authenticated;
376 int master;
373 int minor; 377 int minor;
374 pid_t pid; 378 pid_t pid;
375 uid_t uid; 379 uid_t uid;