ac/perfcounter: fix number of scoped instances for RMI block

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39199>
This commit is contained in:
Samuel Pitoiset 2026-01-08 14:08:24 +01:00 committed by Marge Bot
parent ea63aa3e8e
commit d391cd0c4d

View file

@ -789,6 +789,9 @@ bool ac_init_perfcounters(const struct radeon_info *info,
case DMA:
block->num_scoped_instances = MIN2(2, info->ip[AMD_IP_SDMA].num_queues);
break;
case RMI:
block->num_scoped_instances = rb_per_sa * 2;
break;
default:
break;
}