mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
tu: Explicitly use 6XX scratch reg packing in perfcntrs_pass_cs_entries.
It looks like this will change in 8xx, but for now this gets us off of deprecated reg packing. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38796>
This commit is contained in:
parent
454c665552
commit
f12a9b91c9
1 changed files with 2 additions and 1 deletions
|
|
@ -2961,7 +2961,8 @@ tu_CreateDevice(VkPhysicalDevice physicalDevice,
|
|||
goto fail_prepare_perfcntrs_pass_cs;
|
||||
}
|
||||
|
||||
tu_cs_emit_regs(&sub_cs, A6XX_CP_SCRATCH_REG(PERF_CNTRS_REG, 1 << i));
|
||||
/* TODO: a8xx */
|
||||
tu_cs_emit_regs(&sub_cs, CP_SCRATCH_REG(A6XX, PERF_CNTRS_REG, 1 << i));
|
||||
tu_cs_emit_pkt7(&sub_cs, CP_WAIT_FOR_ME, 0);
|
||||
|
||||
device->perfcntrs_pass_cs_entries[i] =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue