Patch "drm/amd/display: Unconditionally print when DP sink power state fails" has been added to the 6.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/amd/display: Unconditionally print when DP sink power state fails

to the 6.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-amd-display-unconditionally-print-when-dp-sink-p.patch
and it can be found in the queue-6.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit eb23fb70b5be8b9ecd1298f3a95c497724f9e094
Author: Srinivasan Shanmugam <srinivasan.shanmugam@xxxxxxx>
Date:   Mon Apr 17 22:30:01 2023 +0530

    drm/amd/display: Unconditionally print when DP sink power state fails
    
    [ Upstream commit e4dfd94d5e3851df607b26ab5b20ad8d94f5ccff ]
    
    The previous 'commit ca9beb8aac68 ("drm/amd/display: Add logging when
    setting DP sink power state fails")', it is better to unconditionally
    print "failed to power up sink", because we are returning
    DC_ERROR_UNEXPECTED.
    
    Fixes: ca9beb8aac68 ("drm/amd/display: Add logging when setting DP sink power state fails")
    Cc: Aurabindo Pillai <aurabindo.pillai@xxxxxxx>
    Cc: Fangzhi Zuo <Jerry.Zuo@xxxxxxx>
    Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@xxxxxxx>
    Reviewed-by: Aurabindo Pillai <aurabindo.pillai@xxxxxxx>
    Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
index ba98013fecd00..6d2d10da2b77c 100644
--- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
+++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
@@ -1043,9 +1043,7 @@ static enum dc_status wake_up_aux_channel(struct dc_link *link)
 				DP_SET_POWER,
 				&dpcd_power_state,
 				sizeof(dpcd_power_state));
-		if (status < 0)
-			DC_LOG_DC("%s: Failed to power up sink: %s\n", __func__,
-				  dpcd_power_state == DP_SET_POWER_D0 ? "D0" : "D3");
+		DC_LOG_DC("%s: Failed to power up sink\n", __func__);
 		return DC_ERROR_UNEXPECTED;
 	}
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux