mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 07:10:36 +02:00
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:
parent
ea63aa3e8e
commit
d391cd0c4d
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue