OSDN Git Service

drm/amd/powerplay: improve OD code robustness
authortianci yin <tianci.yin@amd.com>
Tue, 4 Dec 2018 08:07:18 +0000 (16:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Dec 2018 20:01:37 +0000 (15:01 -0500)
commit1b3b27b2a1044457d7dbf1b13bfdbd9a0c1c1108
treee8573beb8b119ff5369dbfa008cf8b059383aee7
parent4944af670bc2c7da77ac17b295656d913e3898f4
drm/amd/powerplay: improve OD code robustness

add protection code to avoid lower frequency trigger over drive.

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Tianci Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c