summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2016-12-01 12:14:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-12-07 02:08:33 +0300
commit10e2ca346bf74561ff1b7fff6287716ab976cd8c (patch)
treebd86ee6f909a5b5b49b222469e5c20c3f18d26f9 /tools/perf/scripts/python
parent1cd99a8d97c90e04d526d843f2be950f6e4e3bd2 (diff)
downloadlinux-10e2ca346bf74561ff1b7fff6287716ab976cd8c.tar.xz
drm/amd/powerplay: bypass fan table setup if no fan connected
If vBIOS noFan bit is set, the fan table parameters in thermal controller will not get initialized. The driver should avoid to use these uninitialized parameter to do calculation. Otherwise, it may trigger divide 0 error. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions