summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_drv.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2012-11-17 15:58:47 +0000
committerJonathan Gray <jsg@jsg.id.au>2013-01-10 12:22:00 +1100
commit4dc74b09dc0e39cdd1e9cc4a1ad4d70e3f6f5c82 (patch)
treeffcc508cb3ee5f762803b2e29767d0c31985869e /sys/dev/pci/drm/drm_drv.c
parentc52496b423a16cffb5b1300b1104afca2a378723 (diff)
add plane ioctls
Diffstat (limited to 'sys/dev/pci/drm/drm_drv.c')
-rw-r--r--sys/dev/pci/drm/drm_drv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index ab097dcd9b5..e2ff2c73ce8 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -708,10 +708,16 @@ drmioctl(dev_t kdev, u_long cmd, caddr_t data, int flags,
return (EBUSY);
case DRM_IOCTL_MODE_GETRESOURCES:
return drm_mode_getresources(dev, data, file_priv);
+ case DRM_IOCTL_MODE_GETPLANERESOURCES:
+ return drm_mode_getplane_res(dev, data, file_priv);
case DRM_IOCTL_MODE_GETCRTC:
return drm_mode_getcrtc(dev, data, file_priv);
case DRM_IOCTL_MODE_SETCRTC:
return drm_mode_setcrtc(dev, data, file_priv);
+ case DRM_IOCTL_MODE_GETPLANE:
+ return drm_mode_getplane(dev, data, file_priv);
+ case DRM_IOCTL_MODE_SETPLANE:
+ return drm_mode_setplane(dev, data, file_priv);
case DRM_IOCTL_MODE_CURSOR:
return drm_mode_cursor_ioctl(dev, data, file_priv);
case DRM_IOCTL_MODE_GETGAMMA: