mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
tu: Fix preemption latency selector values
I suspect this was unnoticed because write_preempt_counters_to_iova() would overwrite the selectors. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41315>
This commit is contained in:
parent
b430ca522e
commit
f694b2ac6f
1 changed files with 2 additions and 2 deletions
|
|
@ -2061,10 +2061,10 @@ tu_autotune::emit_switch_away_amble(struct tu_cs *cs) const
|
|||
static size_t counter = 0;
|
||||
if (counter++ % 2 == 0) {
|
||||
tu_cs_emit_pkt4(cs, preemption_latency_selector_reg, 1);
|
||||
tu_cs_emit(cs, always_count_selector);
|
||||
tu_cs_emit(cs, preemption_latency_selector);
|
||||
|
||||
tu_cs_emit_pkt4(cs, always_count_selector_reg, 1);
|
||||
tu_cs_emit(cs, preemption_latency_selector);
|
||||
tu_cs_emit(cs, always_count_selector);
|
||||
}
|
||||
|
||||
tu_cond_exec_end(cs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue