From 6c01c4b907fa43daaca6d0c0e23db4787611a165 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Fri, 12 May 2017 01:04:56 +0200 Subject: ac: add radeon_info::num_{sdma,compute}_rings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vulkan needs them. Reviewed-by: Marek Olšák --- src/amd/common/ac_gpu_info.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/amd/common/ac_gpu_info.h') diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h index 0dd7dc7b16d..9bf2b84d851 100644 --- a/src/amd/common/ac_gpu_info.h +++ b/src/amd/common/ac_gpu_info.h @@ -50,8 +50,9 @@ struct radeon_info { bool has_dedicated_vram; bool has_virtual_memory; bool gfx_ib_pad_with_type2; - bool has_sdma; bool has_uvd; + uint32_t num_sdma_rings; + uint32_t num_compute_rings; uint32_t uvd_fw_version; uint32_t vce_fw_version; uint32_t me_fw_version; -- cgit v1.2.3