summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_drv.c
diff options
context:
space:
mode:
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: