drm/amd: Downgrade message about watermarks table after s0i3 to debug
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 28 Apr 2023 21:42:03 +0000 (16:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:28:46 +0000 (09:28 -0400)
This message shows up on s0i3 resume for DCN31 and DCN314 platforms but
it has been decided that this flow won't be changed and the message is
expected behavior.

Downgrade the message to debug.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_smu.c

index 0827c7d..32279c5 100644 (file)
@@ -130,7 +130,7 @@ static int dcn31_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr,
        if (result == VBIOSSMC_Result_Failed) {
                if (msg_id == VBIOSSMC_MSG_TransferTableDram2Smu &&
                    param == TABLE_WATERMARKS)
-                       DC_LOG_WARNING("Watermarks table not configured properly by SMU");
+                       DC_LOG_DEBUG("Watermarks table not configured properly by SMU");
                else
                        ASSERT(0);
                REG_WRITE(MP1_SMN_C2PMSG_91, VBIOSSMC_Result_OK);
index 0765334..07baa10 100644 (file)
@@ -145,7 +145,7 @@ static int dcn314_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr,
        if (result == VBIOSSMC_Result_Failed) {
                if (msg_id == VBIOSSMC_MSG_TransferTableDram2Smu &&
                    param == TABLE_WATERMARKS)
-                       DC_LOG_WARNING("Watermarks table not configured properly by SMU");
+                       DC_LOG_DEBUG("Watermarks table not configured properly by SMU");
                else if (msg_id == VBIOSSMC_MSG_SetHardMinDcfclkByFreq ||
                         msg_id == VBIOSSMC_MSG_SetMinDeepSleepDcfclk)
                        DC_LOG_WARNING("DCFCLK_DPM is not enabled by BIOS");