diff --git a/src/amd/common/ac_spm.c b/src/amd/common/ac_spm.c index a0ea83f2847..6b4ec16d47c 100644 --- a/src/amd/common/ac_spm.c +++ b/src/amd/common/ac_spm.c @@ -357,7 +357,8 @@ ac_spm_map_counter(struct ac_spm *spm, struct ac_spm_block_select *block_sel, S_037008_PERF_MODE3(0); break; default: - return false; + /* Try to program the new counter slot. */ + continue; } /* Mark this 16-bit counter as used. */