]> git.dujemihanovic.xyz Git - linux.git/commitdiff
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 0827c7df28557920d6bd34adf4aa1b7aafef071f..32279c5db72483f24106a5b282622903baaaa6ac 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 0765334f0825985811d8a3cf9997034c0db0c291..07baa10a86473d64ed06efbb5d0b3ecf92af8aa2 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");