diff options
author | Tomeu Vizoso <[email protected]> | 2018-10-02 09:07:31 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-10-04 16:18:36 +0200 |
commit | ed53a79cf81b13e9c16517c70713a926d49a5fe6 (patch) | |
tree | 094f3dc3aecef3eee5189473db8d40e95791b5eb /doxygen | |
parent | 0c70e11206b28164c7cde736ce15cd183d51a7fa (diff) |
virgl: Negotiate version with vtest server
Check if server supports version negotation by sending a PING_PROTOCOL_VERSION
message right before a dummy RESOURCE_BUSY_WAIT. If we don't get a reply
for the first, we know the server doesn't support it.
If it does support it, we can query the max protocol version supported
by the server and fall back if needed.
v2: - Send a new message to negotiate the protocol version, checking if
the server supports this message by immediately sending a busy wait
message. (Dave Airlie)
v3: - Send a zero-arg command PING_PROTOCOL_VERSION so we actually keep
compatibility with older servers. (Code by Dave Airlie)
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions