diff options
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 13afddc1f034..82f5c8b12844 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | |||
@@ -103,6 +103,9 @@ | |||
103 | #define DRM_IOCTL_VMW_PRESENT_READBACK \ | 103 | #define DRM_IOCTL_VMW_PRESENT_READBACK \ |
104 | DRM_IOW(DRM_COMMAND_BASE + DRM_VMW_PRESENT_READBACK, \ | 104 | DRM_IOW(DRM_COMMAND_BASE + DRM_VMW_PRESENT_READBACK, \ |
105 | struct drm_vmw_present_readback_arg) | 105 | struct drm_vmw_present_readback_arg) |
106 | #define DRM_IOCTL_VMW_UPDATE_LAYOUT \ | ||
107 | DRM_IOW(DRM_COMMAND_BASE + DRM_VMW_UPDATE_LAYOUT, \ | ||
108 | struct drm_vmw_update_layout_arg) | ||
106 | 109 | ||
107 | /** | 110 | /** |
108 | * The core DRM version of this macro doesn't account for | 111 | * The core DRM version of this macro doesn't account for |
@@ -165,6 +168,9 @@ static struct drm_ioctl_desc vmw_ioctls[] = { | |||
165 | VMW_IOCTL_DEF(VMW_PRESENT_READBACK, | 168 | VMW_IOCTL_DEF(VMW_PRESENT_READBACK, |
166 | vmw_present_readback_ioctl, | 169 | vmw_present_readback_ioctl, |
167 | DRM_MASTER | DRM_AUTH | DRM_UNLOCKED), | 170 | DRM_MASTER | DRM_AUTH | DRM_UNLOCKED), |
171 | VMW_IOCTL_DEF(VMW_UPDATE_LAYOUT, | ||
172 | vmw_kms_update_layout_ioctl, | ||
173 | DRM_MASTER | DRM_UNLOCKED), | ||
168 | }; | 174 | }; |
169 | 175 | ||
170 | static struct pci_device_id vmw_pci_id_list[] = { | 176 | static struct pci_device_id vmw_pci_id_list[] = { |