mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
tu: only support userspace-managed perfcounters on a7xx and earlier
Future kernel API for perfcounter management will likely be required for a8xx and onwards. For a7xx and earlier, cmdstream-based selector and counter register management is still supported. Cc: mesa-stable Signed-off-by: Zan Dobersek <zdobersek@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40949>
This commit is contained in:
parent
712a4e5691
commit
c2708afbc7
1 changed files with 3 additions and 0 deletions
|
|
@ -1778,6 +1778,9 @@ tu_physical_device_init(struct tu_physical_device *device,
|
|||
|
||||
device->vk.pipeline_cache_import_ops = cache_import_ops;
|
||||
|
||||
/* gen8 and onwards must use kernel UAPI for perfcntr management */
|
||||
device->is_perf_cntr_selectable &= (device->info->chip <= 7);
|
||||
|
||||
return VK_SUCCESS;
|
||||
|
||||
fail_free_name:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue