diff options
| author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2023-04-20 09:40:39 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-04-26 18:02:33 -0400 |
| commit | d81268ee1c1073471cf0e8adb0fc9d026b602c3b (patch) | |
| tree | 5068fd59c541c1348cf40e8a636e0204b4075623 /tools/perf/scripts/python/libxed.py | |
| parent | drm/i915/guc: Actually return an error if GuC version range check fails (diff) | |
| download | linux-d81268ee1c1073471cf0e8adb0fc9d026b602c3b.tar.gz linux-d81268ee1c1073471cf0e8adb0fc9d026b602c3b.zip | |
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 <ashutosh.dixit@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230420164041.1428455-2-ashutosh.dixit@intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
