ac: add radeon_info::num_rings and move ring_type to amd_family.h
[mesa.git] / src / amd / common / ac_gpu_info.h
index cffa0b7b22212e8fbc33aa9d1e3ef5e8eb5f9908..412332ea70d1df74a195af90bf3ad8ba9e8db701 100644 (file)
@@ -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;