mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 17:38:08 +02:00
Calling sched_setscheduler twice every sample period has high CPU
overhead. For intel and panfrost, their dump_perfcnt is preemptible and
they don't need the scheduler change.
For freedreno, simply makes the main thread RT at all time. This solves
most of the cpu overhead issue.
v2: removed pthread_t param and just change the scheduler for the
calling thread
Acked-by: Rob Clark <robdclark@chromium.org> (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19668>
|
||
|---|---|---|
| .. | ||
| cfg | ||
| .clang-format | ||
| meson.build | ||
| pps.cc | ||
| pps.h | ||
| pps_algorithm.h | ||
| pps_config.cc | ||
| pps_counter.cc | ||
| pps_counter.h | ||
| pps_datasource.cc | ||
| pps_datasource.h | ||
| pps_device.cc | ||
| pps_device.h | ||
| pps_driver.cc | ||
| pps_driver.h | ||
| pps_producer.cc | ||