aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2015-10-15 19:34:21 +0000
committerRafael J. Wysocki <[email protected]>2015-10-15 20:46:33 +0000
commit8e601a9f97a00bab031980de34f9a81891c1f82f (patch)
tree9116b294513ac173b61dffe4c8daa05802072d68 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 4.3-rc5 (diff)
downloadkernel-8e601a9f97a00bab031980de34f9a81891c1f82f.tar.gz
kernel-8e601a9f97a00bab031980de34f9a81891c1f82f.zip
cpufreq: intel_pstate: Fix divide by zero on Knights Landing (KNL)
This is a workaround for KNL platform, where in some cases MPERF counter will not have updated value before next read of MSR_IA32_MPERF. In this case divide by zero will occur. This change ignores current sample for busy calculation in this case. Fixes: b34ef932d79a (intel_pstate: Knights Landing support) Signed-off-by: Srinivas Pandruvada <[email protected]> Acked-by: Kristen Carlson Accardi <[email protected]> Cc: 4.1+ <[email protected]> # 4.1+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions