mesa/src/etnaviv/drm
Lucas Stach 241e1861da etnaviv: drm: use COARSE clock for timeouts when possible
COARSE clocks add a worst-case jitter of 10ms to the timing, as they
degrade the timing to Linux jiffy accuracy. However, they allow to skip
a syscall on platforms where the accurate version of the clock can not
be accelerated through the VDSO.

Switch to using the COARSE version of the clock when the timeout is
larger than 200ms, i.e. the accuracy of the timeout is degraded less
than 5% by the added worst-case jitter.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27079>
2024-07-30 14:35:19 +00:00
..
tests build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
etnaviv_bo.c etnaviv: drm: fix check if BO is on a deferred destroy list 2023-01-28 13:48:30 +00:00
etnaviv_bo_cache.c etnaviv: drm: use COARSE clock for BO cache timing 2024-07-30 14:35:19 +00:00
etnaviv_cmd_stream.c etnaviv: drm: don't skip flush when there are active PMRs 2024-07-08 08:11:47 +00:00
etnaviv_device.c etnaviv: drm: rename etna_drm_table_lock 2022-07-03 17:41:55 +00:00
etnaviv_drmif.h etnaviv: drm: Drop NPU-related params 2024-04-23 05:39:57 +00:00
etnaviv_gpu.c etnaviv: drm: Stop after model query failure 2024-04-26 19:30:08 +00:00
etnaviv_perfmon.c
etnaviv_pipe.c etnaviv/drm: only print out fence error on non timeout 2021-03-29 11:54:59 +02:00
etnaviv_priv.h etnaviv: drm: use COARSE clock for timeouts when possible 2024-07-30 14:35:19 +00:00
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00