diff options
author | Koop Mast <kwm@FreeBSD.org> | 2015-08-09 12:58:56 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2015-08-09 12:58:56 +0000 |
commit | 34c7eb57ed1cbb97c5ea93fa3d4f10730172c1a4 (patch) | |
tree | 4a2c5c0da7642764f0c370978457eaa2d085928f /sys/dev/drm | |
parent | a0c1575d2f20abdb7711565b19f58c68923fde79 (diff) | |
download | src-34c7eb57ed1cbb97c5ea93fa3d4f10730172c1a4.tar.gz src-34c7eb57ed1cbb97c5ea93fa3d4f10730172c1a4.zip |
Add a new group named 'video' with the id of 44. And make drm create
devices in /dev/dri/ with this new group.
This will allow ports and users to more easily access to these devices
for OpenGL and OpenCL support.
Reviewed by: dumbbell@
Approved by: dumbbell@
Differential Revision: https://reviews.freebsd.org/D1260
Notes
Notes:
svn path=/head/; revision=286524
Diffstat (limited to 'sys/dev/drm')
-rw-r--r-- | sys/dev/drm/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h index 7725884693a8..7ff14954563c 100644 --- a/sys/dev/drm/drmP.h +++ b/sys/dev/drm/drmP.h @@ -175,7 +175,7 @@ SYSCTL_DECL(_hw_drm); #define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP) #define DRM_DEV_UID 0 -#define DRM_DEV_GID 0 +#define DRM_DEV_GID 44 /* "video" group */ #define wait_queue_head_t atomic_t #define DRM_WAKEUP(w) wakeup((void *)w) |