diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-01-24 08:04:09 +0300 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-01-27 19:55:03 +0300 |
| commit | 4ee64041bcca5289623c287336bfd94a42f42104 (patch) | |
| tree | 68a8148d96f8d6d280ec2284a40184deb0bc7e44 /tools/perf/scripts/python/gecko.py | |
| parent | ef7ce3938621e47c6aa2d517eab6f1d484ad365b (diff) | |
| download | linux-4ee64041bcca5289623c287336bfd94a42f42104.tar.xz | |
drm/xe/pmu: Get/put runtime pm on event init
When the event is created, make sure runtime pm is taken and later put:
in order to read an event counter the GPU needs to remain accessible and
doing a get/put during perf's read is not possible it's holding a
raw_spinlock.
Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250124050411.2189060-4-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
