summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_screen.c
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/drivers/virgl/virgl_screen.c
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/drivers/virgl/virgl_screen.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c
index 5d4374bf3dd..7d09ecc1bd8 100644
--- a/src/gallium/drivers/virgl/virgl_screen.c
+++ b/src/gallium/drivers/virgl/virgl_screen.c
@@ -822,7 +822,7 @@ fixup_readback_format(union virgl_caps *caps)
}
struct pipe_screen *
-virgl_create_screen(struct virgl_winsys *vws)
+virgl_create_screen(struct virgl_winsys *vws, const struct pipe_screen_config *config)
{
struct virgl_screen *screen = CALLOC_STRUCT(virgl_screen);