aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorRodrigo Vivi <[email protected]>2022-08-30 15:35:37 -0400
committerRodrigo Vivi <[email protected]>2022-08-31 15:56:44 -0400
commitff4e0cafe845110c9b7fe26eb8a6b49d60a1288c (patch)
tree0a383a05fedbee3692b903080e22784f5d3162dc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent73c7a8a871dc9aa6b7876c1a30bdbe0f899eb4f6 (diff)
drm/i915/slpc: Fix inconsistent locked return
Fix for intel_guc_slpc_set_min_freq() warn: inconsistent returns '&slpc->lock'. v2: Avoid with_intel_runtime_pm with the internal goto/return. (Ashutosh) Also standardize the 'ret' if this came from the efficient setup. And avoid the 'unlikely'. Fixes: 95ccf312a1e4 ("drm/i915/guc/slpc: Allow SLPC to use efficient frequency") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Cc: Ashutosh Dixit <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Reviewed-by: Ashutosh Dixit <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions