aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-02-21 11:17:35 +1000
committerDave Airlie <airlied@redhat.com>2011-03-04 14:47:30 +1000
commit9f35421e09c494c36079d7cf5724ae9f832431d7 (patch)
tree1c9ab806a43a30df918e9e12505823a387779e34 /include/drm/drmP.h
parente1e84017f95504348308085ae7cd0bfe268caf10 (diff)
downloadkernel_samsung_smdk4412-9f35421e09c494c36079d7cf5724ae9f832431d7.zip
kernel_samsung_smdk4412-9f35421e09c494c36079d7cf5724ae9f832431d7.tar.gz
kernel_samsung_smdk4412-9f35421e09c494c36079d7cf5724ae9f832431d7.tar.bz2
drm/core: add ioctl to query device/driver capabilities
We're coming to see a need to have a set of generic capability checks in the core DRM, in addition to the driver-specific ioctls that already exist. This patch defines an ioctl to do as such, but does not yet define any capabilities. [airlied: drop the driver callback for now.] Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 52a2fd2..8352147 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1276,6 +1276,8 @@ extern int drm_getclient(struct drm_device *dev, void *data,
struct drm_file *file_priv);
extern int drm_getstats(struct drm_device *dev, void *data,
struct drm_file *file_priv);
+extern int drm_getcap(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
extern int drm_setversion(struct drm_device *dev, void *data,
struct drm_file *file_priv);
extern int drm_noop(struct drm_device *dev, void *data,