diff options
author | Sinclair Yeh <syeh@vmware.com> | 2015-11-16 12:14:11 -0800 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2015-11-18 09:39:24 -0800 |
commit | 8005ed72533a6aa01eab44499a4d9c7f1b1cf2b2 (patch) | |
tree | e0ba636393ab8b58ae164af58ab9c93e0ae4633f /drm_drv.c | |
parent | f264fa394bcadb26e56d8a8808c7a4a4dcc9e5ff (diff) |
vmwgfx: Add temporary support for drm_ioctl_mode_cursor2
Newer desktop environments have switched over to using the new
cursor2 ioctl. Porting this capability over is not straightforward
given the current state of the stand alone driver.
Since we do not support cursor hotspot, an easier solution is to
simply throw away hot_x and hot_y, and call the existing cursor
ioctl.
We will give this a proper update when we update everything for
the atomic mode set feature.
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drm_drv.c')
-rw-r--r-- | drm_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -133,6 +133,7 @@ static struct drm_ioctl_desc drm_ioctls[] = { DRM_IOCTL_DEF(DRM_IOCTL_MODE_DETACHMODE, drm_mode_detachmode_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_MODE_GETPROPERTY, drm_mode_getproperty_ioctl, DRM_MASTER | DRM_CONTROL_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_MODE_SETPROPERTY, drm_mode_connector_property_set_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW), + DRM_IOCTL_DEF(DRM_IOCTL_MODE_CURSOR2, drm_mode_cursor2_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW|DRM_UNLOCKED), DRM_IOCTL_DEF(DRM_IOCTL_MODE_GETPROPBLOB, drm_mode_getblob_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_MODE_GETFB, drm_mode_getfb, DRM_MASTER|DRM_CONTROL_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_MODE_ADDFB, drm_mode_addfb, DRM_MASTER|DRM_CONTROL_ALLOW), |