diff options
author | kwm <kwm@FreeBSD.org> | 2015-08-09 12:58:56 +0000 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-08-09 12:58:56 +0000 |
commit | aeb66ad891a24e3621c62151744bb007915b23d2 (patch) | |
tree | 4a2c5c0da7642764f0c370978457eaa2d085928f /sys/dev/drm2 | |
parent | cab733fc814b9944c96adae20de63db13f84b4d7 (diff) | |
download | FreeBSD-src-aeb66ad891a24e3621c62151744bb007915b23d2.zip FreeBSD-src-aeb66ad891a24e3621c62151744bb007915b23d2.tar.gz |
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
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r-- | sys/dev/drm2/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drmP.h b/sys/dev/drm2/drmP.h index f028d81..88cb2b7 100644 --- a/sys/dev/drm2/drmP.h +++ b/sys/dev/drm2/drmP.h @@ -1593,7 +1593,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 DRM_WAKEUP(w) wakeup((void *)w) #define DRM_WAKEUP_INT(w) wakeup(w) |