From a98a04ec80deb6a6b452165cf54a79c6ea824ab2 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 21 Jun 2017 00:38:06 +0200 Subject: gallium/radeon: pass create_screen flags to r600_common_screen_init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/auxiliary/target-helpers/drm_helper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gallium/auxiliary') diff --git a/src/gallium/auxiliary/target-helpers/drm_helper.h b/src/gallium/auxiliary/target-helpers/drm_helper.h index 65231cf3eba..0027ede23a1 100644 --- a/src/gallium/auxiliary/target-helpers/drm_helper.h +++ b/src/gallium/auxiliary/target-helpers/drm_helper.h @@ -90,7 +90,7 @@ pipe_r300_create_screen(int fd, unsigned flags) { struct radeon_winsys *rw; - rw = radeon_drm_winsys_create(fd, r300_screen_create); + rw = radeon_drm_winsys_create(fd, flags, r300_screen_create); return rw ? debug_screen_wrap(rw->screen) : NULL; } @@ -115,7 +115,7 @@ pipe_r600_create_screen(int fd, unsigned flags) { struct radeon_winsys *rw; - rw = radeon_drm_winsys_create(fd, r600_screen_create); + rw = radeon_drm_winsys_create(fd, flags, r600_screen_create); return rw ? debug_screen_wrap(rw->screen) : NULL; } @@ -142,10 +142,10 @@ pipe_radeonsi_create_screen(int fd, unsigned flags) struct radeon_winsys *rw; /* First, try amdgpu. */ - rw = amdgpu_winsys_create(fd, radeonsi_screen_create); + rw = amdgpu_winsys_create(fd, flags, radeonsi_screen_create); if (!rw) - rw = radeon_drm_winsys_create(fd, radeonsi_screen_create); + rw = radeon_drm_winsys_create(fd, flags, radeonsi_screen_create); return rw ? debug_screen_wrap(rw->screen) : NULL; } -- cgit v1.2.3