Patch "drm/i915/cx0: Only clear/set the Pipe Reset bit of the PHY Lanes Owned" has been added to the 6.5-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/i915/cx0: Only clear/set the Pipe Reset bit of the PHY Lanes Owned

to the 6.5-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-i915-cx0-only-clear-set-the-pipe-reset-bit-of-th.patch
and it can be found in the queue-6.5 subdirectory.

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



commit 50a8c0b77c429f0699753cb5bf2a04a6d17f2bd6
Author: Khaled Almahallawy <khaled.almahallawy@xxxxxxxxx>
Date:   Wed Oct 4 17:13:10 2023 -0700

    drm/i915/cx0: Only clear/set the Pipe Reset bit of the PHY Lanes Owned
    
    [ Upstream commit 5e4c16fe08c8b894b258f4110349dc9b642669f9 ]
    
    Currently, with MFD/pin assignment D, the driver clears the pipe reset bit
    of lane 1 which is not owned by display. This causes the display
    to block S0iX.
    
    By not clearing this bit for lane 1 and keeping whatever default, S0ix
    started to work. This is already what the driver does at the end
    of the phy lane reset sequence (Step#8)
    
    Bspec: 65451
    Fixes: 619a06dba6fa ("drm/i915/mtl: Reset only one lane in case of MFD")
    Cc: Mika Kahola <mika.kahola@xxxxxxxxx>
    Cc: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>
    Signed-off-by: Khaled Almahallawy <khaled.almahallawy@xxxxxxxxx>
    Reviewed-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>
    Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20231005001310.154396-1-khaled.almahallawy@xxxxxxxxx
    (cherry picked from commit 4a07f063d20c46524f00976f4537de72d9f31c4e)
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c
index 719447ce86e70..974dd52e720c1 100644
--- a/drivers/gpu/drm/i915/display/intel_cx0_phy.c
+++ b/drivers/gpu/drm/i915/display/intel_cx0_phy.c
@@ -2554,8 +2554,7 @@ static void intel_cx0_phy_lane_reset(struct drm_i915_private *i915,
 		drm_warn(&i915->drm, "PHY %c failed to bring out of SOC reset after %dus.\n",
 			 phy_name(phy), XELPDP_PORT_BUF_SOC_READY_TIMEOUT_US);
 
-	intel_de_rmw(i915, XELPDP_PORT_BUF_CTL2(port),
-		     XELPDP_LANE_PIPE_RESET(0) | XELPDP_LANE_PIPE_RESET(1),
+	intel_de_rmw(i915, XELPDP_PORT_BUF_CTL2(port), lane_pipe_reset,
 		     lane_pipe_reset);
 
 	if (__intel_de_wait_for_register(i915, XELPDP_PORT_BUF_CTL2(port),



[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