ac: add radeon_info::is_amdgpu instead of checking drm_major == 3
authorMarek Olšák <marek.olsak@amd.com>
Wed, 12 Jun 2019 02:49:18 +0000 (22:49 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Jun 2019 17:31:18 +0000 (13:31 -0400)
commitabe9a51d27049971c77a0072693511caf9b793e2
treeb020b10528853daf4b6660b89f7d973195d75226
parentbbbbea243aea8297a4b7006be9e8f8e85c493b81
ac: add radeon_info::is_amdgpu instead of checking drm_major == 3

and clean up

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
19 files changed:
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h
src/amd/vulkan/radv_debug.c
src/gallium/drivers/r600/r600_buffer_common.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/r600/r600_query.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/r600/radeon_uvd.c
src/gallium/drivers/r600/radeon_vce.c
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeon/radeon_vce.c
src/gallium/drivers/radeonsi/si_buffer.c
src/gallium/drivers/radeonsi/si_debug.c
src/gallium/drivers/radeonsi/si_get.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_query.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c