From 30eb1fdc51d96d443a755138acc425da9e949466 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 10 Apr 2019 13:54:14 +0200 Subject: 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 Reviewed-by: Emil Velikov (v1) Reviewed-by: Gurchetan Singh --- src/gallium/drivers/virgl/virgl_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/virgl/virgl_screen.c') 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); -- cgit v1.2.3