]> git.itanic.dy.fi Git - linux-stable/commit
drm/panel-edp: Fix delays for Innolux N116BCA-EA1
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 8 Sep 2022 08:54:53 +0000 (16:54 +0800)
committerDouglas Anderson <dianders@chromium.org>
Thu, 8 Sep 2022 15:33:25 +0000 (08:33 -0700)
commit8f7115c1923cd11146525f1615beb29018001964
treecf4c5d70510de67d609a4c7cf40d8addf1df53fe
parentd76034a427a2660b080bc155e4fd8f6393eefb48
drm/panel-edp: Fix delays for Innolux N116BCA-EA1

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@chromium.org>
Fixes: 51d35631c970 ("drm/panel-simple: Add N116BCA-EA1")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908085454.1024167-1-wenst@chromium.org
drivers/gpu/drm/panel/panel-edp.c