Home
last modified time | relevance | path

Searched refs:VTEST_CMD_LEN (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_socket.c137 buf[VTEST_CMD_LEN] = strlen(cmdline) + 1; in virgl_vtest_send_init()
153 vtest_hdr[VTEST_CMD_LEN] = VCMD_PING_PROTOCOL_VERSION_SIZE; in virgl_vtest_negotiate_version()
157 vtest_hdr[VTEST_CMD_LEN] = VCMD_BUSY_WAIT_SIZE; in virgl_vtest_negotiate_version()
174 vtest_hdr[VTEST_CMD_LEN] = VCMD_PROTOCOL_VERSION_SIZE; in virgl_vtest_negotiate_version()
234 get_caps_buf[VTEST_CMD_LEN] = 0; in virgl_vtest_send_get_caps()
236 get_caps_buf[VTEST_CMD_LEN + 2] = 0; in virgl_vtest_send_get_caps()
291 vtest_hdr[VTEST_CMD_LEN] = VCMD_RES_CREATE2_SIZE; in virgl_vtest_send_resource_create2()
344 vtest_hdr[VTEST_CMD_LEN] = VCMD_RES_CREATE_SIZE; in virgl_vtest_send_resource_create()
369 vtest_hdr[VTEST_CMD_LEN] = cbuf->base.cdw; in virgl_vtest_submit_cmd()
382 vtest_hdr[VTEST_CMD_LEN] = 1; in virgl_vtest_send_resource_unref()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_vtest.c169 vtest_hdr[VTEST_CMD_LEN] = size; in vtest_vcmd_create_renderer()
180 vtest_hdr[VTEST_CMD_LEN] = VCMD_PING_PROTOCOL_VERSION_SIZE; in vtest_vcmd_ping_protocol_version()
189 vtest_hdr[VTEST_CMD_LEN] = VCMD_BUSY_WAIT_SIZE; in vtest_vcmd_ping_protocol_version()
218 vtest_hdr[VTEST_CMD_LEN] = VCMD_PROTOCOL_VERSION_SIZE; in vtest_vcmd_protocol_version()
227 assert(vtest_hdr[VTEST_CMD_LEN] == VCMD_PROTOCOL_VERSION_SIZE); in vtest_vcmd_protocol_version()
239 vtest_hdr[VTEST_CMD_LEN] = VCMD_GET_PARAM_SIZE; in vtest_vcmd_get_param()
247 assert(vtest_hdr[VTEST_CMD_LEN] == 2); in vtest_vcmd_get_param()
265 vtest_hdr[VTEST_CMD_LEN] = VCMD_GET_CAPSET_SIZE; in vtest_vcmd_get_capset()
281 size_t read_size = (vtest_hdr[VTEST_CMD_LEN] - 1) * 4; in vtest_vcmd_get_capset()
306 vtest_hdr[VTEST_CMD_LEN] = VCMD_CONTEXT_INIT_SIZE; in vtest_vcmd_context_init()
[all …]
/third_party/mesa3d/src/virtio/vtest/
Dvtest_protocol.h39 #define VTEST_CMD_LEN 0 /* length of data */ macro