Rev 4568 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4568 | Rev 5056 | ||
---|---|---|---|
Line 85... | Line 85... | ||
85 | #define DRM_VMW_PARAM_MAX_FB_SIZE 5 |
85 | #define DRM_VMW_PARAM_MAX_FB_SIZE 5 |
86 | #define DRM_VMW_PARAM_FIFO_HW_VERSION 6 |
86 | #define DRM_VMW_PARAM_FIFO_HW_VERSION 6 |
87 | #define DRM_VMW_PARAM_MAX_SURF_MEMORY 7 |
87 | #define DRM_VMW_PARAM_MAX_SURF_MEMORY 7 |
88 | #define DRM_VMW_PARAM_3D_CAPS_SIZE 8 |
88 | #define DRM_VMW_PARAM_3D_CAPS_SIZE 8 |
89 | #define DRM_VMW_PARAM_MAX_MOB_MEMORY 9 |
89 | #define DRM_VMW_PARAM_MAX_MOB_MEMORY 9 |
- | 90 | #define DRM_VMW_PARAM_MAX_MOB_SIZE 10 |
|
- | 91 | ||
- | 92 | /** |
|
- | 93 | * enum drm_vmw_handle_type - handle type for ref ioctls |
|
- | 94 | * |
|
- | 95 | */ |
|
- | 96 | enum drm_vmw_handle_type { |
|
- | 97 | DRM_VMW_HANDLE_LEGACY = 0, |
|
- | 98 | DRM_VMW_HANDLE_PRIME = 1 |
|
- | 99 | }; |
|
Line 90... | Line 100... | ||
90 | 100 | ||
91 | /** |
101 | /** |
92 | * struct drm_vmw_getparam_arg |
102 | * struct drm_vmw_getparam_arg |
93 | * |
103 | * |
Line 174... | Line 184... | ||
174 | 184 | ||
175 | /** |
185 | /** |
176 | * struct drm_wmv_surface_arg |
186 | * struct drm_wmv_surface_arg |
177 | * |
187 | * |
- | 188 | * @sid: Surface id of created surface or surface to destroy or reference. |
|
178 | * @sid: Surface id of created surface or surface to destroy or reference. |
189 | * @handle_type: Handle type for DRM_VMW_REF_SURFACE Ioctl. |
179 | * |
190 | * |
180 | * Output data from the DRM_VMW_CREATE_SURFACE Ioctl. |
191 | * Output data from the DRM_VMW_CREATE_SURFACE Ioctl. |
181 | * Input argument to the DRM_VMW_UNREF_SURFACE Ioctl. |
192 | * Input argument to the DRM_VMW_UNREF_SURFACE Ioctl. |
182 | * Input argument to the DRM_VMW_REF_SURFACE Ioctl. |
193 | * Input argument to the DRM_VMW_REF_SURFACE Ioctl. |
Line 183... | Line 194... | ||
183 | */ |
194 | */ |
184 | 195 | ||
185 | struct drm_vmw_surface_arg { |
196 | struct drm_vmw_surface_arg { |
186 | int32_t sid; |
197 | int32_t sid; |
Line 187... | Line 198... | ||
187 | uint32_t pad64; |
198 | enum drm_vmw_handle_type handle_type; |
188 | }; |
199 | }; |
189 | 200 |