summaryrefslogtreecommitdiff
path: root/linux/drm.h
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2001-02-28 09:27:44 +0000
committerRik Faith <faith@alephnull.com>2001-02-28 09:27:44 +0000
commit88dbee54ed400a3fd5594fab506518c171167805 (patch)
tree12b1b92826c3039c05cd0f43d6a0c72a37877ae6 /linux/drm.h
parentc4a247d26228b2506fcb1c5cac2302a22e91219e (diff)
Implement drmOpen* without /proc dependence (Fallback to /proc is included
for backward compatibility.) Move statistic-gathering drm* calls from dristat.c to xf86drm.c
Diffstat (limited to 'linux/drm.h')
-rw-r--r--linux/drm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drm.h b/linux/drm.h
index 470eb033..40a85875 100644
--- a/linux/drm.h
+++ b/linux/drm.h
@@ -44,11 +44,8 @@
#define DRM_IOCTL_NR(n) ((n) & 0xff)
#endif
-#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP)
-#define DRM_DEV_UID 0
-#define DRM_DEV_GID 0
-
#define DRM_MAJOR 226
+#define DRM_MAX_MINOR 15
#define DRM_NAME "drm" /* Name in kernel, /dev, and /proc */
#define DRM_MIN_ORDER 5 /* At least 2^5 bytes = 32 bytes */
#define DRM_MAX_ORDER 22 /* Up to 2^22 bytes = 4MB */