diff options
| author | Ashutosh Dixit <[email protected]> | 2023-04-20 09:40:39 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-04-26 18:02:33 -0400 |
| commit | d81268ee1c1073471cf0e8adb0fc9d026b602c3b (patch) | |
| tree | 5068fd59c541c1348cf40e8a636e0204b4075623 /tools/perf/scripts/python/flamegraph.py | |
| parent | 80ab31799002166ac7c660bacfbff4f85bc29107 (diff) | |
drm/i915/hwmon: Get mutex and rpm ref just once in hwm_power_max_write
In preparation for follow-on patches, refactor hwm_power_max_write to take
hwmon_lock and runtime pm wakeref at start of the function and release them
at the end, therefore acquiring these just once each.
Signed-off-by: Ashutosh Dixit <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions