diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-07-11 08:31:08 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-08-12 20:06:18 +0300 |
commit | 5101020c78c9f242fe77bd7986bc24f7b800172a (patch) | |
tree | 21c4b7350c58d48b492d7cc87c55bdc57ff538b9 /include/drm | |
parent | 05c9501859c8bd80635d7299c384e2a8db7c0ce1 (diff) | |
download | linux-5101020c78c9f242fe77bd7986bc24f7b800172a.tar.xz |
drm: export the DRM permission check code
This way drm_ioctl_permit() can be used by drivers
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 4717449d6aa9..3b0c50f7412a 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -887,6 +887,7 @@ static inline bool drm_is_primary_client(const struct drm_file *file_priv) /*@{*/ /* Driver support (drm_drv.h) */ +extern int drm_ioctl_permit(u32 flags, struct drm_file *file_priv); extern long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); extern long drm_compat_ioctl(struct file *filp, |