mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
freedreno/a6xx: Program gen8+ slice SEL regs
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
This commit is contained in:
parent
8717118da3
commit
4d114a6bf7
1 changed files with 9 additions and 0 deletions
|
|
@ -851,6 +851,15 @@ perfcntr_resume(struct fd_acc_query *aq, struct fd_batch *batch) assert_dt
|
|||
.reg = entry->counter->select_reg,
|
||||
.value = g->countables[entry->cid].selector,
|
||||
});
|
||||
|
||||
for (unsigned s = 0; s < ARRAY_SIZE(entry->counter->slice_select_regs); s++) {
|
||||
if (!entry->counter->slice_select_regs[s])
|
||||
break;
|
||||
fd_pkt4(cs, 1).add((fd_reg_pair){
|
||||
.reg = entry->counter->slice_select_regs[s],
|
||||
.value = g->countables[entry->cid].selector,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/* and snapshot the start values */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue