drm: export the DRM permission check code
authorThomas Hellstrom <thellstrom@vmware.com>
Sat, 11 Jul 2015 05:31:08 +0000 (22:31 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Aug 2015 17:06:18 +0000 (10:06 -0700)
commit5101020c78c9f242fe77bd7986bc24f7b800172a
tree21c4b7350c58d48b492d7cc87c55bdc57ff538b9
parent05c9501859c8bd80635d7299c384e2a8db7c0ce1
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>
drivers/gpu/drm/drm_ioctl.c
include/drm/drmP.h