summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-03-27 10:32:59 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-03-30 06:55:22 +0300
commita7c7bc4c0c47eaac77b8fa92f0672032df7f4254 (patch)
treea55f451f8f307ec709a51890be7f42798e4167ee /drivers/gpu/drm/amd/powerplay
parente2a4cd69a57de8c229f4de577739cde63f3dde0d (diff)
downloadlinux-a7c7bc4c0c47eaac77b8fa92f0672032df7f4254.tar.xz
drm/amd/powerplay: reduce sample period time
for power readings. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
index 604ffea83757..8f663ab56a80 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
@@ -3296,7 +3296,7 @@ static int smu7_get_gpu_power(struct pp_hwmgr *hwmgr,
"Failed to start pm status log!",
return -1);
- msleep_interruptible(2000);
+ msleep_interruptible(20);
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr->smumgr,
PPSMC_MSG_PmStatusLogSample),