drm/amd/powerplay: reduce sample period time
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 27 Mar 2017 07:32:59 +0000 (15:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:22 +0000 (23:55 -0400)
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>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c

index 604ffea8375738b22eb1e73bab45edeed9d05992..8f663ab56a802bfea2db78338a9b19286e623e52 100644 (file)
@@ -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),