summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2014-02-26 18:51:57 +0400
committerThomas Hellstrom <thellstrom@vmware.com>2014-03-28 17:19:02 +0400
commit4beb6d9fa6a74c189884be4913cfdd24fc8758ac (patch)
tree8398718ddaaa97ac5d247088b9cffe741434e672 /include/drm
parentc996fd0b956450563454e7ccc97a82ca31f9d043 (diff)
downloadlinux-4beb6d9fa6a74c189884be4913cfdd24fc8758ac.tar.xz
drm: Add a function to get the ioctl flags
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 4e24a1a0daeb..e97fc998374c 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1229,6 +1229,7 @@ extern long drm_ioctl(struct file *filp,
extern long drm_compat_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg);
extern int drm_lastclose(struct drm_device *dev);
+extern bool drm_ioctl_flags(unsigned int nr, unsigned int *flags);
/* Device support (drm_fops.h) */
extern struct mutex drm_global_mutex;