blob: 7df722a133312758a891b56e2faddcf37c830fde [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __VMWGFX_DRM_H__
20#define __VMWGFX_DRM_H__
Christopher Ferris106b3a82016-08-24 12:15:38 -070021#include "drm.h"
22#ifdef __cplusplus
Christopher Ferris106b3a82016-08-24 12:15:38 -070023#endif
24#define DRM_VMW_MAX_SURFACE_FACES 6
Christopher Ferris38062f92014-07-09 15:33:25 -070025#define DRM_VMW_MAX_MIP_LEVELS 24
Ben Cheng655a7c02013-10-16 16:09:24 -070026#define DRM_VMW_GET_PARAM 0
27#define DRM_VMW_ALLOC_DMABUF 1
Christopher Ferris9ce28842018-10-25 12:11:39 -070028#define DRM_VMW_ALLOC_BO 1
Ben Cheng655a7c02013-10-16 16:09:24 -070029#define DRM_VMW_UNREF_DMABUF 2
Christopher Ferris525ce912017-07-26 13:12:53 -070030#define DRM_VMW_HANDLE_CLOSE 2
Christopher Ferris38062f92014-07-09 15:33:25 -070031#define DRM_VMW_CURSOR_BYPASS 3
Ben Cheng655a7c02013-10-16 16:09:24 -070032#define DRM_VMW_CONTROL_STREAM 4
33#define DRM_VMW_CLAIM_STREAM 5
34#define DRM_VMW_UNREF_STREAM 6
Christopher Ferris38062f92014-07-09 15:33:25 -070035#define DRM_VMW_CREATE_CONTEXT 7
Ben Cheng655a7c02013-10-16 16:09:24 -070036#define DRM_VMW_UNREF_CONTEXT 8
37#define DRM_VMW_CREATE_SURFACE 9
38#define DRM_VMW_UNREF_SURFACE 10
Christopher Ferris38062f92014-07-09 15:33:25 -070039#define DRM_VMW_REF_SURFACE 11
Ben Cheng655a7c02013-10-16 16:09:24 -070040#define DRM_VMW_EXECBUF 12
41#define DRM_VMW_GET_3D_CAP 13
42#define DRM_VMW_FENCE_WAIT 14
Christopher Ferris38062f92014-07-09 15:33:25 -070043#define DRM_VMW_FENCE_SIGNALED 15
Ben Cheng655a7c02013-10-16 16:09:24 -070044#define DRM_VMW_FENCE_UNREF 16
45#define DRM_VMW_FENCE_EVENT 17
46#define DRM_VMW_PRESENT 18
Christopher Ferris38062f92014-07-09 15:33:25 -070047#define DRM_VMW_PRESENT_READBACK 19
Ben Cheng655a7c02013-10-16 16:09:24 -070048#define DRM_VMW_UPDATE_LAYOUT 20
Christopher Ferris38062f92014-07-09 15:33:25 -070049#define DRM_VMW_CREATE_SHADER 21
50#define DRM_VMW_UNREF_SHADER 22
Christopher Ferris38062f92014-07-09 15:33:25 -070051#define DRM_VMW_GB_SURFACE_CREATE 23
52#define DRM_VMW_GB_SURFACE_REF 24
53#define DRM_VMW_SYNCCPU 25
Christopher Ferris05d08e92016-02-04 13:16:38 -080054#define DRM_VMW_CREATE_EXTENDED_CONTEXT 26
Christopher Ferris9ce28842018-10-25 12:11:39 -070055#define DRM_VMW_GB_SURFACE_CREATE_EXT 27
56#define DRM_VMW_GB_SURFACE_REF_EXT 28
Christopher Ferris05d08e92016-02-04 13:16:38 -080057#define DRM_VMW_PARAM_NUM_STREAMS 0
Ben Cheng655a7c02013-10-16 16:09:24 -070058#define DRM_VMW_PARAM_NUM_FREE_STREAMS 1
59#define DRM_VMW_PARAM_3D 2
Ben Cheng655a7c02013-10-16 16:09:24 -070060#define DRM_VMW_PARAM_HW_CAPS 3
Christopher Ferris05d08e92016-02-04 13:16:38 -080061#define DRM_VMW_PARAM_FIFO_CAPS 4
Ben Cheng655a7c02013-10-16 16:09:24 -070062#define DRM_VMW_PARAM_MAX_FB_SIZE 5
63#define DRM_VMW_PARAM_FIFO_HW_VERSION 6
Christopher Ferris38062f92014-07-09 15:33:25 -070064#define DRM_VMW_PARAM_MAX_SURF_MEMORY 7
Christopher Ferris05d08e92016-02-04 13:16:38 -080065#define DRM_VMW_PARAM_3D_CAPS_SIZE 8
Christopher Ferris38062f92014-07-09 15:33:25 -070066#define DRM_VMW_PARAM_MAX_MOB_MEMORY 9
67#define DRM_VMW_PARAM_MAX_MOB_SIZE 10
Christopher Ferris05d08e92016-02-04 13:16:38 -080068#define DRM_VMW_PARAM_SCREEN_TARGET 11
Christopher Ferris05d08e92016-02-04 13:16:38 -080069#define DRM_VMW_PARAM_DX 12
Christopher Ferris9ce28842018-10-25 12:11:39 -070070#define DRM_VMW_PARAM_HW_CAPS2 13
71#define DRM_VMW_PARAM_SM4_1 14
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070072enum drm_vmw_handle_type {
Tao Baod7db5942015-01-28 10:07:51 -080073 DRM_VMW_HANDLE_LEGACY = 0,
Tao Baod7db5942015-01-28 10:07:51 -080074 DRM_VMW_HANDLE_PRIME = 1
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070075};
Ben Cheng655a7c02013-10-16 16:09:24 -070076struct drm_vmw_getparam_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -070077 __u64 value;
78 __u32 param;
79 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -070080};
81struct drm_vmw_context_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -070082 __s32 cid;
83 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -070084};
85struct drm_vmw_surface_create_req {
Christopher Ferris106b3a82016-08-24 12:15:38 -070086 __u32 flags;
87 __u32 format;
88 __u32 mip_levels[DRM_VMW_MAX_SURFACE_FACES];
Christopher Ferris106b3a82016-08-24 12:15:38 -070089 __u64 size_addr;
90 __s32 shareable;
91 __s32 scanout;
Ben Cheng655a7c02013-10-16 16:09:24 -070092};
Christopher Ferris106b3a82016-08-24 12:15:38 -070093struct drm_vmw_surface_arg {
94 __s32 sid;
Tao Baod7db5942015-01-28 10:07:51 -080095 enum drm_vmw_handle_type handle_type;
Ben Cheng655a7c02013-10-16 16:09:24 -070096};
97struct drm_vmw_size {
Christopher Ferris106b3a82016-08-24 12:15:38 -070098 __u32 width;
99 __u32 height;
100 __u32 depth;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700101 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700102};
103union drm_vmw_surface_create_arg {
Tao Baod7db5942015-01-28 10:07:51 -0800104 struct drm_vmw_surface_arg rep;
105 struct drm_vmw_surface_create_req req;
Ben Cheng655a7c02013-10-16 16:09:24 -0700106};
107union drm_vmw_surface_reference_arg {
Tao Baod7db5942015-01-28 10:07:51 -0800108 struct drm_vmw_surface_create_req rep;
109 struct drm_vmw_surface_arg req;
Ben Cheng655a7c02013-10-16 16:09:24 -0700110};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800111#define DRM_VMW_EXECBUF_VERSION 2
Christopher Ferris1308ad32017-11-14 17:32:13 -0800112#define DRM_VMW_EXECBUF_FLAG_IMPORT_FENCE_FD (1 << 0)
113#define DRM_VMW_EXECBUF_FLAG_EXPORT_FENCE_FD (1 << 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700114struct drm_vmw_execbuf_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700115 __u64 commands;
116 __u32 command_size;
117 __u32 throttle_us;
118 __u64 fence_rep;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700119 __u32 version;
120 __u32 flags;
121 __u32 context_handle;
Christopher Ferris1308ad32017-11-14 17:32:13 -0800122 __s32 imported_fence_fd;
Ben Cheng655a7c02013-10-16 16:09:24 -0700123};
Ben Cheng655a7c02013-10-16 16:09:24 -0700124struct drm_vmw_fence_rep {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700125 __u32 handle;
126 __u32 mask;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700127 __u32 seqno;
128 __u32 passed_seqno;
Christopher Ferris1308ad32017-11-14 17:32:13 -0800129 __s32 fd;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700130 __s32 error;
Ben Cheng655a7c02013-10-16 16:09:24 -0700131};
Christopher Ferris9ce28842018-10-25 12:11:39 -0700132struct drm_vmw_alloc_bo_req {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700133 __u32 size;
134 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700135};
Christopher Ferris9ce28842018-10-25 12:11:39 -0700136#define drm_vmw_alloc_dmabuf_req drm_vmw_alloc_bo_req
137struct drm_vmw_bo_rep {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700138 __u64 map_handle;
139 __u32 handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700140 __u32 cur_gmr_id;
141 __u32 cur_gmr_offset;
142 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700143};
Christopher Ferris9ce28842018-10-25 12:11:39 -0700144#define drm_vmw_dmabuf_rep drm_vmw_bo_rep
145union drm_vmw_alloc_bo_arg {
146 struct drm_vmw_alloc_bo_req req;
147 struct drm_vmw_bo_rep rep;
Ben Cheng655a7c02013-10-16 16:09:24 -0700148};
Christopher Ferris9ce28842018-10-25 12:11:39 -0700149#define drm_vmw_alloc_dmabuf_arg drm_vmw_alloc_bo_arg
Ben Cheng655a7c02013-10-16 16:09:24 -0700150struct drm_vmw_rect {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700151 __s32 x;
152 __s32 y;
153 __u32 w;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700154 __u32 h;
Ben Cheng655a7c02013-10-16 16:09:24 -0700155};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800156struct drm_vmw_control_stream_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700157 __u32 stream_id;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700158 __u32 enabled;
159 __u32 flags;
160 __u32 color_key;
161 __u32 handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700162 __u32 offset;
163 __s32 format;
164 __u32 size;
165 __u32 width;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700166 __u32 height;
167 __u32 pitch[3];
168 __u32 pad64;
Tao Baod7db5942015-01-28 10:07:51 -0800169 struct drm_vmw_rect src;
170 struct drm_vmw_rect dst;
Ben Cheng655a7c02013-10-16 16:09:24 -0700171};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800172#define DRM_VMW_CURSOR_BYPASS_ALL (1 << 0)
Ben Cheng655a7c02013-10-16 16:09:24 -0700173#define DRM_VMW_CURSOR_BYPASS_FLAGS (1)
174struct drm_vmw_cursor_bypass_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700175 __u32 flags;
176 __u32 crtc_id;
177 __s32 xpos;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700178 __s32 ypos;
179 __s32 xhot;
180 __s32 yhot;
Ben Cheng655a7c02013-10-16 16:09:24 -0700181};
182struct drm_vmw_stream_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700183 __u32 stream_id;
184 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700185};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700186struct drm_vmw_get_3d_cap_arg {
187 __u64 buffer;
188 __u32 max_size;
189 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700190};
Ben Cheng655a7c02013-10-16 16:09:24 -0700191#define DRM_VMW_FENCE_FLAG_EXEC (1 << 0)
Christopher Ferris05d08e92016-02-04 13:16:38 -0800192#define DRM_VMW_FENCE_FLAG_QUERY (1 << 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700193#define DRM_VMW_WAIT_OPTION_UNREF (1 << 0)
194struct drm_vmw_fence_wait_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700195 __u32 handle;
196 __s32 cookie_valid;
197 __u64 kernel_cookie;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700198 __u64 timeout_us;
199 __s32 lazy;
200 __s32 flags;
201 __s32 wait_options;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700202 __s32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700203};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800204struct drm_vmw_fence_signaled_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700205 __u32 handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700206 __u32 flags;
207 __s32 signaled;
208 __u32 passed_seqno;
209 __u32 signaled_flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700210 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700211};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800212struct drm_vmw_fence_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700213 __u32 handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700214 __u32 pad64;
215};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800216#define DRM_VMW_EVENT_FENCE_SIGNALED 0x80000000
Ben Cheng655a7c02013-10-16 16:09:24 -0700217struct drm_vmw_event_fence {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700218 struct drm_event base;
219 __u64 user_data;
220 __u32 tv_sec;
221 __u32 tv_usec;
Ben Cheng655a7c02013-10-16 16:09:24 -0700222};
Ben Cheng655a7c02013-10-16 16:09:24 -0700223#define DRM_VMW_FE_FLAG_REQ_TIME (1 << 0)
Christopher Ferris05d08e92016-02-04 13:16:38 -0800224struct drm_vmw_fence_event_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700225 __u64 fence_rep;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700226 __u64 user_data;
227 __u32 handle;
228 __u32 flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700229};
230struct drm_vmw_present_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700231 __u32 fb_id;
232 __u32 sid;
233 __s32 dest_x;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700234 __s32 dest_y;
235 __u64 clips_ptr;
236 __u32 num_clips;
237 __u32 pad64;
Ben Cheng655a7c02013-10-16 16:09:24 -0700238};
Ben Cheng655a7c02013-10-16 16:09:24 -0700239struct drm_vmw_present_readback_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700240 __u32 fb_id;
241 __u32 num_clips;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700242 __u64 clips_ptr;
243 __u64 fence_rep;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800244};
Ben Cheng655a7c02013-10-16 16:09:24 -0700245struct drm_vmw_update_layout_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700246 __u32 num_outputs;
247 __u32 pad64;
248 __u64 rects;
Christopher Ferris38062f92014-07-09 15:33:25 -0700249};
250enum drm_vmw_shader_type {
Tao Baod7db5942015-01-28 10:07:51 -0800251 drm_vmw_shader_type_vs = 0,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800252 drm_vmw_shader_type_ps,
Christopher Ferris38062f92014-07-09 15:33:25 -0700253};
254struct drm_vmw_shader_create_arg {
Tao Baod7db5942015-01-28 10:07:51 -0800255 enum drm_vmw_shader_type shader_type;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700256 __u32 size;
257 __u32 buffer_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700258 __u32 shader_handle;
259 __u64 offset;
Christopher Ferris38062f92014-07-09 15:33:25 -0700260};
261struct drm_vmw_shader_arg {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700262 __u32 handle;
263 __u32 pad64;
Christopher Ferris38062f92014-07-09 15:33:25 -0700264};
265enum drm_vmw_surface_flags {
Tao Baod7db5942015-01-28 10:07:51 -0800266 drm_vmw_surface_flag_shareable = (1 << 0),
267 drm_vmw_surface_flag_scanout = (1 << 1),
Tao Baod7db5942015-01-28 10:07:51 -0800268 drm_vmw_surface_flag_create_buffer = (1 << 2)
Christopher Ferris38062f92014-07-09 15:33:25 -0700269};
270struct drm_vmw_gb_surface_create_req {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700271 __u32 svga3d_flags;
272 __u32 format;
273 __u32 mip_levels;
Tao Baod7db5942015-01-28 10:07:51 -0800274 enum drm_vmw_surface_flags drm_surface_flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700275 __u32 multisample_count;
276 __u32 autogen_filter;
277 __u32 buffer_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700278 __u32 array_size;
Tao Baod7db5942015-01-28 10:07:51 -0800279 struct drm_vmw_size base_size;
Christopher Ferris38062f92014-07-09 15:33:25 -0700280};
281struct drm_vmw_gb_surface_create_rep {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700282 __u32 handle;
283 __u32 backup_size;
284 __u32 buffer_handle;
285 __u32 buffer_size;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700286 __u64 buffer_map_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700287};
Christopher Ferris38062f92014-07-09 15:33:25 -0700288union drm_vmw_gb_surface_create_arg {
Tao Baod7db5942015-01-28 10:07:51 -0800289 struct drm_vmw_gb_surface_create_rep rep;
290 struct drm_vmw_gb_surface_create_req req;
Christopher Ferris38062f92014-07-09 15:33:25 -0700291};
Christopher Ferris38062f92014-07-09 15:33:25 -0700292struct drm_vmw_gb_surface_ref_rep {
Tao Baod7db5942015-01-28 10:07:51 -0800293 struct drm_vmw_gb_surface_create_req creq;
294 struct drm_vmw_gb_surface_create_rep crep;
Christopher Ferris38062f92014-07-09 15:33:25 -0700295};
Christopher Ferris38062f92014-07-09 15:33:25 -0700296union drm_vmw_gb_surface_reference_arg {
Tao Baod7db5942015-01-28 10:07:51 -0800297 struct drm_vmw_gb_surface_ref_rep rep;
298 struct drm_vmw_surface_arg req;
Christopher Ferris38062f92014-07-09 15:33:25 -0700299};
Christopher Ferris38062f92014-07-09 15:33:25 -0700300enum drm_vmw_synccpu_flags {
Tao Baod7db5942015-01-28 10:07:51 -0800301 drm_vmw_synccpu_read = (1 << 0),
302 drm_vmw_synccpu_write = (1 << 1),
303 drm_vmw_synccpu_dontblock = (1 << 2),
Tao Baod7db5942015-01-28 10:07:51 -0800304 drm_vmw_synccpu_allow_cs = (1 << 3)
Christopher Ferris38062f92014-07-09 15:33:25 -0700305};
306enum drm_vmw_synccpu_op {
Tao Baod7db5942015-01-28 10:07:51 -0800307 drm_vmw_synccpu_grab,
Tao Baod7db5942015-01-28 10:07:51 -0800308 drm_vmw_synccpu_release
Christopher Ferris38062f92014-07-09 15:33:25 -0700309};
310struct drm_vmw_synccpu_arg {
Tao Baod7db5942015-01-28 10:07:51 -0800311 enum drm_vmw_synccpu_op op;
Tao Baod7db5942015-01-28 10:07:51 -0800312 enum drm_vmw_synccpu_flags flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700313 __u32 handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700314 __u32 pad64;
315};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800316enum drm_vmw_extended_context {
317 drm_vmw_context_legacy,
318 drm_vmw_context_dx
319};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800320union drm_vmw_extended_context_arg {
321 enum drm_vmw_extended_context req;
322 struct drm_vmw_context_arg rep;
323};
Christopher Ferris525ce912017-07-26 13:12:53 -0700324struct drm_vmw_handle_close_arg {
325 __u32 handle;
326 __u32 pad64;
327};
Christopher Ferris9ce28842018-10-25 12:11:39 -0700328#define drm_vmw_unref_dmabuf_arg drm_vmw_handle_close_arg
329enum drm_vmw_surface_version {
330 drm_vmw_gb_surface_v1
331};
332struct drm_vmw_gb_surface_create_ext_req {
333 struct drm_vmw_gb_surface_create_req base;
334 enum drm_vmw_surface_version version;
335 uint32_t svga3d_flags_upper_32_bits;
336 SVGA3dMSPattern multisample_pattern;
337 SVGA3dMSQualityLevel quality_level;
338 uint64_t must_be_zero;
339};
340union drm_vmw_gb_surface_create_ext_arg {
341 struct drm_vmw_gb_surface_create_rep rep;
342 struct drm_vmw_gb_surface_create_ext_req req;
343};
344struct drm_vmw_gb_surface_ref_ext_rep {
345 struct drm_vmw_gb_surface_create_ext_req creq;
346 struct drm_vmw_gb_surface_create_rep crep;
347};
348union drm_vmw_gb_surface_reference_ext_arg {
349 struct drm_vmw_gb_surface_ref_ext_rep rep;
350 struct drm_vmw_surface_arg req;
351};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700352#ifdef __cplusplus
353#endif
Christopher Ferris38062f92014-07-09 15:33:25 -0700354#endif