summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-12 01:04:56 +0200
committerNicolai Hähnle <[email protected]>2017-05-18 11:48:53 +0200
commit6c01c4b907fa43daaca6d0c0e23db4787611a165 (patch)
tree937c8073444243d36ea3340d4f7723ab937ccb41 /src/amd/common/ac_gpu_info.h
parentc488bf24ed47b98c580e162e8457bff7d6f57ed3 (diff)
ac: add radeon_info::num_{sdma,compute}_rings
Vulkan needs them. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.h')
-rw-r--r--src/amd/common/ac_gpu_info.h3
1 files changed, 2 insertions, 1 deletions
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;