gallium/virgl: Add code path for virgl to read driconf
authorGert Wollny <gert.wollny@collabora.com>
Wed, 10 Apr 2019 11:54:14 +0000 (13:54 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Thu, 20 Jun 2019 06:50:38 +0000 (08:50 +0200)
commit30eb1fdc51d96d443a755138acc425da9e949466
tree5f72b34b9ff2f3b47358b52ab911bf90be25381b
parentcf800998af2b3d57beff972d7e154db6d0944b21
gallium/virgl: Add code path for virgl to read driconf

This works only for the drm variant of virgl and not for the vtest
variant.

v2: Rebase, replace the configuration query function by a pointer to
    the configuration data.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (v1)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
src/gallium/auxiliary/target-helpers/drm_helper.h
src/gallium/auxiliary/target-helpers/drm_helper_public.h
src/gallium/auxiliary/target-helpers/inline_sw_helper.h
src/gallium/auxiliary/target-helpers/sw_helper.h
src/gallium/drivers/virgl/virgl_public.h
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/winsys/virgl/drm/virgl_drm_public.h
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c