aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-04-10 13:54:14 +0200
committerGert Wollny <[email protected]>2019-06-20 08:50:38 +0200
commit30eb1fdc51d96d443a755138acc425da9e949466 (patch)
tree5f72b34b9ff2f3b47358b52ab911bf90be25381b /src/gallium/auxiliary/pipe-loader
parentcf800998af2b3d57beff972d7e154db6d0944b21 (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (v1) Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index 9d75a9868e2..960d63b2c31 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
@@ -107,6 +107,7 @@ static const struct drm_driver_descriptor driver_descriptors[] = {
{
.driver_name = "virtio_gpu",
.create_screen = pipe_virgl_create_screen,
+ .driconf_xml = &virgl_driconf_xml,
},
{
.driver_name = "v3d",