Patch "drm/msm/dpu: adjust display_v_end for eDP and DP" has been added to the 5.15-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/msm/dpu: adjust display_v_end for eDP and DP

to the 5.15-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-msm-dpu-adjust-display_v_end-for-edp-and-dp.patch
and it can be found in the queue-5.15 subdirectory.

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



commit 2c950ae58f31713aac6ed17ef7670a031a3a06ef
Author: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx>
Date:   Fri Feb 25 13:23:09 2022 -0800

    drm/msm/dpu: adjust display_v_end for eDP and DP
    
    [ Upstream commit e18aeea7f5efb9508722c8c7fd4d32e6f8cdfe50 ]
    
    The “DP timing” requires the active region to be defined in the
    bottom-right corner of the frame dimensions which is different
    with DSI. Therefore both display_h_end and display_v_end need
    to be adjusted accordingly. However current implementation has
    only display_h_end adjusted.
    
    Signed-off-by: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx>
    
    Fixes: fc3a69ec68d3 ("drm/msm/dpu: intf timing path for displayport")
    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
    Patchwork: https://patchwork.freedesktop.org/patch/476277/
    Link: https://lore.kernel.org/r/1645824192-29670-2-git-send-email-quic_khsieh@xxxxxxxxxxx
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c
index 116e2b5b1a90..284f5610dc35 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c
@@ -148,6 +148,7 @@ static void dpu_hw_intf_setup_timing_engine(struct dpu_hw_intf *ctx,
 		active_v_end = active_v_start + (p->yres * hsync_period) - 1;
 
 		display_v_start += p->hsync_pulse_width + p->h_back_porch;
+		display_v_end   -= p->h_front_porch; 
 
 		active_hctl = (active_h_end << 16) | active_h_start;
 		display_hctl = active_hctl;



[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