summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2024-07-05 23:00:10 +0300
committerLucas Stach <l.stach@pengutronix.de>2024-10-28 18:33:43 +0300
commit67cb86039f8e2e29164b317d16756804e0deaa2a (patch)
tree3888f0320f73ae2c05a2f42a5943dacac6c20d75 /tools/perf/scripts/python
parent37dc4737447a7667f8e9ec790dac251da057eb27 (diff)
downloadlinux-67cb86039f8e2e29164b317d16756804e0deaa2a.tar.xz
drm/etnaviv: assert GPU lock held in perfmon pipe_*_read functions
The perf counter read functions don't just read registers, but they also mutate state to direct the reads towards the correct pipe and engine. Assert that the GPU mutex is held at this point, so that those state changes don't interfere with others. Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions