radeonsi: clean up winsys creation

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 27 May 2019 19:26 EDT

- unify the code- choose radeon or amdgpu based on the DRM version, not based on which one succeeds first

fccced57cf4 radeonsi: clean up winsys creation
src/gallium/auxiliary/target-helpers/drm_helper.h | 13 ++---------
src/gallium/drivers/radeonsi/si_pipe.c | 27 +++++++++++++++++++++--
src/gallium/drivers/radeonsi/si_public.h | 5 +----
src/gallium/targets/pipe-loader/pipe_radeonsi.c | 13 ++---------
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 8 -------
5 files changed, 30 insertions(+), 36 deletions(-)

Upstream: cgit.freedesktop.org


  • Share