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:
@@ -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] =
|
||||
|
||||
Reference in New Issue
Block a user