aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2019-10-31 12:26:20 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-11-08 11:29:58 +0100
commitc31432fa7f825de0e19838f1ac7746381c509ec4 (patch)
treed5f4e09003c27b0a4a7342b55d64af786570926f /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentLinux 5.4-rc6 (diff)
downloadlinux-dev-c31432fa7f825de0e19838f1ac7746381c509ec4.tar.xz
linux-dev-c31432fa7f825de0e19838f1ac7746381c509ec4.zip
cpufreq: intel_pstate: Fix invalid EPB setting
The max value of EPB can only be 0x0F. Attempting to set more than that triggers an "unchecked MSR access error" warning which happens in intel_pstate_hwp_force_min_perf() called via cpufreq stop_cpu(). However, it is not even necessary to touch the EPB from intel_pstate, because it is restored on every CPU online by the intel_epb.c code, so let that code do the right thing and drop the redundant (and incorrect) EPB update from intel_pstate. Fixes: af3b7379e2d70 ("cpufreq: intel_pstate: Force HWP min perf before offline") Reported-by: Qian Cai <cai@lca.pw> Cc: 5.2+ <stable@vger.kernel.org> # 5.2+ Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> [ rjw: Changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions