aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-09-20 11:50:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-10-09 17:00:25 -0500
commitc52dcf49195d06319189c7f1dd8b62bfca545197 (patch)
treeb4e6003fff6f0dfa55d57059e496d9d249839d0a /tools/perf/scripts/python/bin/stackcollapse-report
parentdrm/amd/pp: Fix fan's RPM setting not work on VI/Vega10 (diff)
downloadlinux-c52dcf49195d06319189c7f1dd8b62bfca545197.tar.gz
linux-c52dcf49195d06319189c7f1dd8b62bfca545197.zip
drm/amd/pp: Avoid divide-by-zero in fan_ctrl_set_fan_speed_rpm
The minRPM speed maybe equal to zero. so need to check input RPM not equal to 0, otherwise cause divide-by-zero driver crash. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions