Patch "drm/amd: Revert "drm/amd/display: keep eDP Vdd on when eDP stream is already enabled"" has been added to the 5.18-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: Revert "drm/amd/display: keep eDP Vdd on when eDP stream is already enabled"

to the 5.18-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-revert-drm-amd-display-keep-edp-vdd-on-when-.patch
and it can be found in the queue-5.18 subdirectory.

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



commit 51e22810c4c544f06f4a20288be5af0f8a43a4ed
Author: Mario Limonciello <mario.limonciello@xxxxxxx>
Date:   Wed Jun 15 17:30:05 2022 -0500

    drm/amd: Revert "drm/amd/display: keep eDP Vdd on when eDP stream is already enabled"
    
    [ Upstream commit 937e24b7f5595566a64e0f856ebab9147f2e4d1b ]
    
    A variety of Lenovo machines with Rembrandt APUs and OLED panels have
    stopped showing the display at login.  This behavior clears up after
    leaving it idle and moving the mouse or touching keyboard.
    
    It was bisected to be caused by commit 559e2655220d ("drm/amd/display:
    keep eDP Vdd on when eDP stream is already enabled").  Revert this commit
    to fix the issue.
    
    Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2047
    Reported-by: Aaron Ma <aaron.ma@xxxxxxxxxxxxx>
    Fixes: 559e2655220d ("drm/amd/display: keep eDP Vdd on when eDP stream is already enabled")
    Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
    Tested-by: Mark Pearson <markpearson@xxxxxxxxxx>
    Acked-by: Alex Deucher <alexander.deucher@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/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
index 248602c15f3a..6007b847b54f 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
@@ -1771,29 +1771,9 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
 				break;
 			}
 		}
-
-		/*
-		 * TO-DO: So far the code logic below only addresses single eDP case.
-		 * For dual eDP case, there are a few things that need to be
-		 * implemented first:
-		 *
-		 * 1. Change the fastboot logic above, so eDP link[0 or 1]'s
-		 * stream[0 or 1] will all be checked.
-		 *
-		 * 2. Change keep_edp_vdd_on to an array, and maintain keep_edp_vdd_on
-		 * for each eDP.
-		 *
-		 * Once above 2 things are completed, we can then change the logic below
-		 * correspondingly, so dual eDP case will be fully covered.
-		 */
-
-		// We are trying to enable eDP, don't power down VDD if eDP stream is existing
-		if ((edp_stream_num == 1 && edp_streams[0] != NULL) || can_apply_edp_fast_boot) {
+		// We are trying to enable eDP, don't power down VDD
+		if (can_apply_edp_fast_boot)
 			keep_edp_vdd_on = true;
-			DC_LOG_EVENT_LINK_TRAINING("Keep eDP Vdd on\n");
-		} else {
-			DC_LOG_EVENT_LINK_TRAINING("No eDP stream enabled, turn eDP Vdd off\n");
-		}
 	}
 
 	// Check seamless boot support



[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