Patch "drm/panel-edp: Fix delays for Innolux N116BCA-EA1" has been added to the 5.19-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/panel-edp: Fix delays for Innolux N116BCA-EA1

to the 5.19-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-panel-edp-fix-delays-for-innolux-n116bca-ea1.patch
and it can be found in the queue-5.19 subdirectory.

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



commit b5a477cfe1e8ae8d4b1bc9c917238d2bc90dd95d
Author: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
Date:   Thu Sep 8 16:54:53 2022 +0800

    drm/panel-edp: Fix delays for Innolux N116BCA-EA1
    
    [ Upstream commit 8f7115c1923cd11146525f1615beb29018001964 ]
    
    Commit 52824ca4502d ("drm/panel-edp: Better describe eDP panel delays")
    clarified the various delays used for eDP panels, tying them to the eDP
    panel timing diagram.
    
    For Innolux N116BCA-EA1, .prepare_to_enable would be:
    
        t4_min + t5_min + t6_min + max(t7_max, t8_min)
    
    Since t4_min and t5_min are both 0, the panel can use either .enable or
    .prepare_to_enable.
    
    As .enable is better defined, switch to using .enable for this panel.
    
    Also add .disable = 50, based on the datasheet's t9_min value. This
    effectively makes the delays the same as delay_200_500_e80_d50.
    
    Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
    Fixes: 51d35631c970 ("drm/panel-simple: Add N116BCA-EA1")
    Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
    Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
    Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20220908085454.1024167-1-wenst@xxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index a189982601a4..e8040defe607 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1270,7 +1270,8 @@ static const struct panel_desc innolux_n116bca_ea1 = {
 	},
 	.delay = {
 		.hpd_absent = 200,
-		.prepare_to_enable = 80,
+		.enable = 80,
+		.disable = 50,
 		.unprepare = 500,
 	},
 };



[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