diff options
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/drm.h | 1 | ||||
-rw-r--r-- | include/uapi/drm/drm_mode.h | 13 | ||||
-rw-r--r-- | include/uapi/drm/i915_drm.h | 3 |
3 files changed, 16 insertions, 1 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 5a57be68bab7..238a166b9fe6 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h | |||
@@ -732,6 +732,7 @@ struct drm_prime_handle { | |||
732 | #define DRM_IOCTL_MODE_ADDFB2 DRM_IOWR(0xB8, struct drm_mode_fb_cmd2) | 732 | #define DRM_IOCTL_MODE_ADDFB2 DRM_IOWR(0xB8, struct drm_mode_fb_cmd2) |
733 | #define DRM_IOCTL_MODE_OBJ_GETPROPERTIES DRM_IOWR(0xB9, struct drm_mode_obj_get_properties) | 733 | #define DRM_IOCTL_MODE_OBJ_GETPROPERTIES DRM_IOWR(0xB9, struct drm_mode_obj_get_properties) |
734 | #define DRM_IOCTL_MODE_OBJ_SETPROPERTY DRM_IOWR(0xBA, struct drm_mode_obj_set_property) | 734 | #define DRM_IOCTL_MODE_OBJ_SETPROPERTY DRM_IOWR(0xBA, struct drm_mode_obj_set_property) |
735 | #define DRM_IOCTL_MODE_CURSOR2 DRM_IOWR(0xBB, struct drm_mode_cursor2) | ||
735 | 736 | ||
736 | /** | 737 | /** |
737 | * Device specific ioctls should only be in their respective headers | 738 | * Device specific ioctls should only be in their respective headers |
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index 090e5331ab7e..53db7cea373b 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h | |||
@@ -388,6 +388,19 @@ struct drm_mode_cursor { | |||
388 | __u32 handle; | 388 | __u32 handle; |
389 | }; | 389 | }; |
390 | 390 | ||
391 | struct drm_mode_cursor2 { | ||
392 | __u32 flags; | ||
393 | __u32 crtc_id; | ||
394 | __s32 x; | ||
395 | __s32 y; | ||
396 | __u32 width; | ||
397 | __u32 height; | ||
398 | /* driver specific handle */ | ||
399 | __u32 handle; | ||
400 | __s32 hot_x; | ||
401 | __s32 hot_y; | ||
402 | }; | ||
403 | |||
391 | struct drm_mode_crtc_lut { | 404 | struct drm_mode_crtc_lut { |
392 | __u32 crtc_id; | 405 | __u32 crtc_id; |
393 | __u32 gamma_size; | 406 | __u32 gamma_size; |
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index 07d59419fe6b..923ed7fe5775 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h | |||
@@ -305,7 +305,7 @@ typedef struct drm_i915_irq_wait { | |||
305 | #define I915_PARAM_HAS_WAIT_TIMEOUT 19 | 305 | #define I915_PARAM_HAS_WAIT_TIMEOUT 19 |
306 | #define I915_PARAM_HAS_SEMAPHORES 20 | 306 | #define I915_PARAM_HAS_SEMAPHORES 20 |
307 | #define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21 | 307 | #define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21 |
308 | #define I915_PARAM_RSVD_FOR_FUTURE_USE 22 | 308 | #define I915_PARAM_HAS_VEBOX 22 |
309 | #define I915_PARAM_HAS_SECURE_BATCHES 23 | 309 | #define I915_PARAM_HAS_SECURE_BATCHES 23 |
310 | #define I915_PARAM_HAS_PINNED_BATCHES 24 | 310 | #define I915_PARAM_HAS_PINNED_BATCHES 24 |
311 | #define I915_PARAM_HAS_EXEC_NO_RELOC 25 | 311 | #define I915_PARAM_HAS_EXEC_NO_RELOC 25 |
@@ -660,6 +660,7 @@ struct drm_i915_gem_execbuffer2 { | |||
660 | #define I915_EXEC_RENDER (1<<0) | 660 | #define I915_EXEC_RENDER (1<<0) |
661 | #define I915_EXEC_BSD (2<<0) | 661 | #define I915_EXEC_BSD (2<<0) |
662 | #define I915_EXEC_BLT (3<<0) | 662 | #define I915_EXEC_BLT (3<<0) |
663 | #define I915_EXEC_VEBOX (4<<0) | ||
663 | 664 | ||
664 | /* Used for switching the constants addressing mode on gen4+ RENDER ring. | 665 | /* Used for switching the constants addressing mode on gen4+ RENDER ring. |
665 | * Gen6+ only supports relative addressing to dynamic state (default) and | 666 | * Gen6+ only supports relative addressing to dynamic state (default) and |