diff options
author | Marek Olšák <[email protected]> | 2017-06-21 00:38:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-23 19:50:20 +0200 |
commit | a98a04ec80deb6a6b452165cf54a79c6ea824ab2 (patch) | |
tree | 96b781d28dba368164abbaf4f9ecd3bcdbae6308 /src/gallium/targets/pipe-loader/pipe_radeonsi.c | |
parent | 118b2008ba18d6cf5d511e0a0bacbb846aad6982 (diff) |
gallium/radeon: pass create_screen flags to r600_common_screen_init
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/targets/pipe-loader/pipe_radeonsi.c')
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_radeonsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/pipe-loader/pipe_radeonsi.c b/src/gallium/targets/pipe-loader/pipe_radeonsi.c index b6a78e42cbe..1bbd97ff802 100644 --- a/src/gallium/targets/pipe-loader/pipe_radeonsi.c +++ b/src/gallium/targets/pipe-loader/pipe_radeonsi.c @@ -11,10 +11,10 @@ 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; } |