Message ID | 1673330093-6771-3-git-send-email-xinlei.lee@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Reduce lcm_reset to DSI LP11 send cmd time | expand |
Il 10/01/23 06:54, xinlei.lee@mediatek.com ha scritto: > From: Xinlei Lee <xinlei.lee@mediatek.com> > > Since the panel spec stipulates that the time from lcm_reset to DSI to > send the initial code should be greater than 6ms and less than 40ms, > so reduce the delay before sending the initial code and avoid panel > exceptions. Please change the commit title to describe what you're doing. drm/panel: boe-tv101wum-nl6: Remove extra delay in init commands ....and the commit description should also contain something like Reduce the delay after LCM reset by removing an extra delay in the initialization commands array. The required delay of at least 6ms after reset is guaranteed by boe_panel_prepare(). Regards, Angelo
On Tue, 2023-01-10 at 10:20 +0100, AngeloGioacchino Del Regno wrote: > Il 10/01/23 06:54, xinlei.lee@mediatek.com ha scritto: > > From: Xinlei Lee <xinlei.lee@mediatek.com> > > > > Since the panel spec stipulates that the time from lcm_reset to DSI > > to > > send the initial code should be greater than 6ms and less than > > 40ms, > > so reduce the delay before sending the initial code and avoid panel > > exceptions. > > Please change the commit title to describe what you're doing. > > drm/panel: boe-tv101wum-nl6: Remove extra delay in init commands > > > ....and the commit description should also contain something like > > Reduce the delay after LCM reset by removing an extra delay in the > initialization commands array. The required delay of at least 6ms > after > reset is guaranteed by boe_panel_prepare(). > > Regards, > Angelo > Hi Angelo: Thanks for your suggestions and careful revisions, I will revise my commit description. Best Regards! xinlei
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index 857a2f0420d7..f0093035f1ff 100644 --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c @@ -780,7 +780,6 @@ static const struct panel_init_cmd inx_hj110iz_init_cmd[] = { }; static const struct panel_init_cmd boe_init_cmd[] = { - _INIT_DELAY_CMD(24), _INIT_DCS_CMD(0xB0, 0x05), _INIT_DCS_CMD(0xB1, 0xE5), _INIT_DCS_CMD(0xB3, 0x52),