diff options
Diffstat (limited to 'include/drm/vmwgfx_drm.h')
-rw-r--r-- | include/drm/vmwgfx_drm.h | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/include/drm/vmwgfx_drm.h b/include/drm/vmwgfx_drm.h index cd7cd8162ed6..bcb0912afe7a 100644 --- a/include/drm/vmwgfx_drm.h +++ b/include/drm/vmwgfx_drm.h | |||
@@ -54,7 +54,7 @@ | |||
54 | #define DRM_VMW_FENCE_EVENT 17 | 54 | #define DRM_VMW_FENCE_EVENT 17 |
55 | #define DRM_VMW_PRESENT 18 | 55 | #define DRM_VMW_PRESENT 18 |
56 | #define DRM_VMW_PRESENT_READBACK 19 | 56 | #define DRM_VMW_PRESENT_READBACK 19 |
57 | 57 | #define DRM_VMW_UPDATE_LAYOUT 20 | |
58 | 58 | ||
59 | /*************************************************************************/ | 59 | /*************************************************************************/ |
60 | /** | 60 | /** |
@@ -552,31 +552,6 @@ struct drm_vmw_get_3d_cap_arg { | |||
552 | 552 | ||
553 | /*************************************************************************/ | 553 | /*************************************************************************/ |
554 | /** | 554 | /** |
555 | * DRM_VMW_UPDATE_LAYOUT - Update layout | ||
556 | * | ||
557 | * Updates the preferred modes and connection status for connectors. The | ||
558 | * command conisits of one drm_vmw_update_layout_arg pointing out a array | ||
559 | * of num_outputs drm_vmw_rect's. | ||
560 | */ | ||
561 | |||
562 | /** | ||
563 | * struct drm_vmw_update_layout_arg | ||
564 | * | ||
565 | * @num_outputs: number of active | ||
566 | * @rects: pointer to array of drm_vmw_rect | ||
567 | * | ||
568 | * Input argument to the DRM_VMW_UPDATE_LAYOUT Ioctl. | ||
569 | */ | ||
570 | |||
571 | struct drm_vmw_update_layout_arg { | ||
572 | uint32_t num_outputs; | ||
573 | uint32_t pad64; | ||
574 | uint64_t rects; | ||
575 | }; | ||
576 | |||
577 | |||
578 | /*************************************************************************/ | ||
579 | /** | ||
580 | * DRM_VMW_FENCE_WAIT | 555 | * DRM_VMW_FENCE_WAIT |
581 | * | 556 | * |
582 | * Waits for a fence object to signal. The wait is interruptible, so that | 557 | * Waits for a fence object to signal. The wait is interruptible, so that |
@@ -788,4 +763,28 @@ struct drm_vmw_present_readback_arg { | |||
788 | uint64_t clips_ptr; | 763 | uint64_t clips_ptr; |
789 | uint64_t fence_rep; | 764 | uint64_t fence_rep; |
790 | }; | 765 | }; |
766 | |||
767 | /*************************************************************************/ | ||
768 | /** | ||
769 | * DRM_VMW_UPDATE_LAYOUT - Update layout | ||
770 | * | ||
771 | * Updates the preferred modes and connection status for connectors. The | ||
772 | * command consists of one drm_vmw_update_layout_arg pointing to an array | ||
773 | * of num_outputs drm_vmw_rect's. | ||
774 | */ | ||
775 | |||
776 | /** | ||
777 | * struct drm_vmw_update_layout_arg | ||
778 | * | ||
779 | * @num_outputs: number of active connectors | ||
780 | * @rects: pointer to array of drm_vmw_rect cast to an uint64_t | ||
781 | * | ||
782 | * Input argument to the DRM_VMW_UPDATE_LAYOUT Ioctl. | ||
783 | */ | ||
784 | struct drm_vmw_update_layout_arg { | ||
785 | uint32_t num_outputs; | ||
786 | uint32_t pad64; | ||
787 | uint64_t rects; | ||
788 | }; | ||
789 | |||
791 | #endif | 790 | #endif |