drm/amd/powerplay: notify smu no display by default.
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 13 Oct 2016 07:25:09 +0000 (15:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Oct 2016 16:09:44 +0000 (12:09 -0400)
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 e7fb8e95436b1c2abb82bc256b2579a6b33b6c02..1c73ac7c24ba5e55409bc83f922197d14167a49d 100644 (file)
@@ -1226,7 +1226,7 @@ int smu7_enable_dpm_tasks(struct pp_hwmgr *hwmgr)
        PP_ASSERT_WITH_CODE((0 == tmp_result),
                        "Failed to enable VR hot GPIO interrupt!", result = tmp_result);
 
-       smum_send_msg_to_smc(hwmgr->smumgr, (PPSMC_Msg)PPSMC_HasDisplay);
+       smum_send_msg_to_smc(hwmgr->smumgr, (PPSMC_Msg)PPSMC_NoDisplay);
 
        tmp_result = smu7_enable_sclk_control(hwmgr);
        PP_ASSERT_WITH_CODE((0 == tmp_result),