summaryrefslogtreecommitdiff
path: root/shared/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 /shared/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 'shared/drm.h')
-rw-r--r--shared/drm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/shared/drm.h b/shared/drm.h
index 470eb033..40a85875 100644
--- a/shared/drm.h
+++ b/shared/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 */