diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2022-08-30 22:35:37 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2022-08-31 22:56:44 +0300 |
commit | ff4e0cafe845110c9b7fe26eb8a6b49d60a1288c (patch) | |
tree | 0a383a05fedbee3692b903080e22784f5d3162dc /tools/perf/scripts/python/stackcollapse.py | |
parent | 73c7a8a871dc9aa6b7876c1a30bdbe0f899eb4f6 (diff) | |
download | linux-ff4e0cafe845110c9b7fe26eb8a6b49d60a1288c.tar.xz |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220830193537.52201-1-rodrigo.vivi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions