[virglrenderer-devel] [PATCH] virtio-gpu-3d: add support for second capability set
Gerd Hoffmann
kraxel at redhat.com
Fri Feb 16 08:54:59 UTC 2018
> + } else if (info.capset_index == 1) {
> + resp.capset_id = VIRTIO_GPU_CAPSET_VIRGL2;
> + virgl_renderer_get_cap_set(resp.capset_id,
> + &resp.capset_max_version,
> + &resp.capset_max_size);
> +#ifdef VIRGLRENDERER_SUPPORTS_CAPSET2
> + g->virtio_config.num_capsets = 2;
> +#endif
Not going to fly. The virglrenderer version you compile against may be
a different than the one used by the binary. I think instead of
depending on the #define qemu should just try call
virgl_renderer_get_cap_set(VIRTIO_GPU_CAPSET_VIRGL2) and see if that
works.
cheers,
Gerd
More information about the virglrenderer-devel
mailing list