virgl: handle getting new capsets.
authorDave Airlie <airlied@redhat.com>
Thu, 15 Feb 2018 04:20:37 +0000 (14:20 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Mar 2018 03:29:38 +0000 (13:29 +1000)
commitcd32258ec12e8edaf9facfa0715ad40032530f7e
tree2bfc7f9f4bcfdebf9fc4af0735273e38b69a558c
parent70190a656766019107d82aa5404ffa1cad9fb6e4
virgl: handle getting new capsets.

This checks the kernel api is new enough and asks for the
larger caps size since the kernel won't mess it up now.

Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_winsys.h
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.h
src/gallium/winsys/virgl/drm/virtgpu_drm.h
src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c