diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-06-18 11:49:58 -0700 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-06-24 09:57:57 -0700 |
| commit | 1beae9aa2b88d3a02eb666e7b777eb2d7bc645f4 (patch) | |
| tree | 933acd62186f1dba20cc0cda9e9547a4e6a3eadd /tools/perf/scripts/python/intel-pt-events.py | |
| parent | a1c940cbf505e2342ebb5ea996f0acf205d6af7b (diff) | |
drm/xe/guc_pc: Add _locked variant for min/max freq
There are places in which the getters/setters are called one after the
other causing a multiple lock()/unlock(). These are not currently a
problem since they are all happening from the same thread, but there's a
race possibility as calls are added outside of the early init when the
max/min and stashed values need to be correlated.
Add the _locked() variants to prepare for that.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250618-wa-22019338487-v5-1-b888388477f2@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
