|
|
@ -98,6 +98,8 @@ enum virgl_context_cmd { |
|
|
|
VIRGL_CCMD_SET_ATOMIC_BUFFERS, |
|
|
|
VIRGL_CCMD_SET_ATOMIC_BUFFERS, |
|
|
|
VIRGL_CCMD_SET_DEBUG_FLAGS, |
|
|
|
VIRGL_CCMD_SET_DEBUG_FLAGS, |
|
|
|
VIRGL_CCMD_GET_QUERY_RESULT_QBO, |
|
|
|
VIRGL_CCMD_GET_QUERY_RESULT_QBO, |
|
|
|
|
|
|
|
VIRGL_CCMD_TRANSFER3D, |
|
|
|
|
|
|
|
VIRGL_CCMD_END_TRANSFERS, |
|
|
|
VIRGL_MAX_COMMANDS |
|
|
|
VIRGL_MAX_COMMANDS |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -573,4 +575,13 @@ enum virgl_context_cmd { |
|
|
|
#define VIRGL_QUERY_RESULT_QBO_OFFSET 5 |
|
|
|
#define VIRGL_QUERY_RESULT_QBO_OFFSET 5 |
|
|
|
#define VIRGL_QUERY_RESULT_QBO_INDEX 6 |
|
|
|
#define VIRGL_QUERY_RESULT_QBO_INDEX 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VIRGL_TRANSFER_TO_HOST 1 |
|
|
|
|
|
|
|
#define VIRGL_TRANSFER_FROM_HOST 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Transfer */ |
|
|
|
|
|
|
|
#define VIRGL_TRANSFER3D_SIZE 13 |
|
|
|
|
|
|
|
/* The first 11 dwords are the same as VIRGL_RESOURCE_IW_* */ |
|
|
|
|
|
|
|
#define VIRGL_TRANSFER3D_DATA_OFFSET 12 |
|
|
|
|
|
|
|
#define VIRGL_TRANSFER3D_DIRECTION 13 |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|