diff options
author | Dave Airlie <[email protected]> | 2018-06-08 16:19:49 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-07-10 09:07:37 +1000 |
commit | 45e25adfe8913ae554205e9ae8766fae4afcdc35 (patch) | |
tree | dfc73ff453e4363523f44ebed9833dffc8a192b2 /src/gbm | |
parent | 2badf0e85b3a54119b08c559dc18aed43a156295 (diff) |
virgl/vtest: add support to vtest for new cap getting.
The vtest protocol is pretty simple but also pretty dumb, and
the v1 caps query was fixed size, with no nice way to expand it,
however the server also ignores any command it doesn't understand.
So we can query v2 caps by sending a v2 followed by a v1, if the
v2 is ignored we know it's an old vtest server, and the we get
a v2 answer then we can just read the v1 answer and discard it.
Acked-by: Jakob Bornecrantz <[email protected]> (sounds good)
Diffstat (limited to 'src/gbm')
0 files changed, 0 insertions, 0 deletions