mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
panvk: silence a perfetto init warning
Kernel drivers gained timestamp support in 6.13. CI might be on an older kernel, but on a build with perfetto enabled. Silence the warning. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32728>
This commit is contained in:
parent
419879ee62
commit
0204baaa8b
1 changed files with 1 additions and 3 deletions
|
|
@ -274,10 +274,8 @@ panvk_utrace_perfetto_init(struct panvk_device *dev, uint32_t queue_count)
|
|||
|
||||
/* check for timestamp support */
|
||||
if (!props->gpu_can_query_timestamp || !props->timestamp_frequency ||
|
||||
!get_gpu_time_ns(dev)) {
|
||||
mesa_logw("disable perfetto because gpu timestamp is missing");
|
||||
!get_gpu_time_ns(dev))
|
||||
return;
|
||||
}
|
||||
|
||||
utp->gpu_clock_id = get_gpu_clock_id();
|
||||
utp->device_id = (uintptr_t)dev;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue