diff options
author | Marek Olšák <[email protected]> | 2019-11-14 17:43:12 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-19 18:31:53 -0500 |
commit | e9cc4f670f7faf4e95933fe670b3bd13a6efa887 (patch) | |
tree | ce44b61325c9277429f479f40b4193f8a77c2912 /src/amd/common/ac_gpu_info.h | |
parent | 654efd38bb49daa0040ffbc6b046a6d3ba4cdb4f (diff) |
ac: add radeon_info::num_rings and move ring_type to amd_family.h
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.h')
-rw-r--r-- | src/amd/common/ac_gpu_info.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h index cffa0b7b222..412332ea70d 100644 --- a/src/amd/common/ac_gpu_info.h +++ b/src/amd/common/ac_gpu_info.h @@ -57,8 +57,7 @@ struct radeon_info { /* Features. */ bool has_graphics; /* false if the chip is compute-only */ - uint32_t num_compute_rings; - uint32_t num_sdma_rings; + uint32_t num_rings[NUM_RING_TYPES]; bool has_clear_state; bool has_distributed_tess; bool has_dcc_constant_encode; |