summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2024-07-05 23:00:09 +0300
committerLucas Stach <l.stach@pengutronix.de>2024-10-28 18:33:15 +0300
commit37dc4737447a7667f8e9ec790dac251da057eb27 (patch)
tree0556c9f4e5e3aeede4c17a54e8dfcd10822a346e /tools/perf/scripts/python/flamegraph.py
parent72dc70a062f9faea178d674416d72a2596b69633 (diff)
downloadlinux-37dc4737447a7667f8e9ec790dac251da057eb27.tar.xz
drm/etnaviv: hold GPU lock across perfmon sampling
The perfmon sampling mutates shared GPU state (e.g. VIVS_HI_CLOCK_CONTROL to select the pipe for the perf counter reads). To avoid clashing with other functions mutating the same state (e.g. etnaviv_gpu_update_clock) the perfmon sampling needs to hold the GPU lock. Fixes: 68dc0b295dcb ("drm/etnaviv: use 'sync points' for performance monitor requests") Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions