diff options
Diffstat (limited to 'include/drm/vmwgfx_drm.h')
-rw-r--r-- | include/drm/vmwgfx_drm.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/drm/vmwgfx_drm.h b/include/drm/vmwgfx_drm.h index 490db458d5d..467b80c7485 100644 --- a/include/drm/vmwgfx_drm.h +++ b/include/drm/vmwgfx_drm.h | |||
@@ -49,6 +49,7 @@ | |||
49 | #define DRM_VMW_REF_SURFACE 11 | 49 | #define DRM_VMW_REF_SURFACE 11 |
50 | #define DRM_VMW_EXECBUF 12 | 50 | #define DRM_VMW_EXECBUF 12 |
51 | #define DRM_VMW_FENCE_WAIT 13 | 51 | #define DRM_VMW_FENCE_WAIT 13 |
52 | #define DRM_VMW_GET_3D_CAP 14 | ||
52 | 53 | ||
53 | /*************************************************************************/ | 54 | /*************************************************************************/ |
54 | /** | 55 | /** |
@@ -68,6 +69,7 @@ | |||
68 | #define DRM_VMW_PARAM_HW_CAPS 3 | 69 | #define DRM_VMW_PARAM_HW_CAPS 3 |
69 | #define DRM_VMW_PARAM_FIFO_CAPS 4 | 70 | #define DRM_VMW_PARAM_FIFO_CAPS 4 |
70 | #define DRM_VMW_PARAM_MAX_FB_SIZE 5 | 71 | #define DRM_VMW_PARAM_MAX_FB_SIZE 5 |
72 | #define DRM_VMW_PARAM_FIFO_HW_VERSION 6 | ||
71 | 73 | ||
72 | /** | 74 | /** |
73 | * struct drm_vmw_getparam_arg | 75 | * struct drm_vmw_getparam_arg |
@@ -557,6 +559,29 @@ struct drm_vmw_stream_arg { | |||
557 | * Return a single stream that was claimed by this process. Also makes | 559 | * Return a single stream that was claimed by this process. Also makes |
558 | * sure that the stream has been stopped. | 560 | * sure that the stream has been stopped. |
559 | */ | 561 | */ |
562 | /*************************************************************************/ | ||
563 | /** | ||
564 | * DRM_VMW_GET_3D_CAP | ||
565 | * | ||
566 | * Read 3D capabilities from the FIFO | ||
567 | * | ||
568 | */ | ||
569 | |||
570 | /** | ||
571 | * struct drm_vmw_get_3d_cap_arg | ||
572 | * | ||
573 | * @buffer: Pointer to a buffer for capability data, cast to an uint64_t | ||
574 | * @size: Max size to copy | ||
575 | * | ||
576 | * Input argument to the DRM_VMW_GET_3D_CAP_IOCTL | ||
577 | * ioctls. | ||
578 | */ | ||
579 | |||
580 | struct drm_vmw_get_3d_cap_arg { | ||
581 | uint64_t buffer; | ||
582 | uint32_t max_size; | ||
583 | uint32_t pad64; | ||
584 | }; | ||
560 | 585 | ||
561 | /*************************************************************************/ | 586 | /*************************************************************************/ |
562 | /** | 587 | /** |