diff options
author | Yannick Fertré <yannick.fertre@st.com> | 2019-03-21 09:04:05 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-04-03 18:44:41 +0200 |
commit | 0084c3c71126fc878c6dab8a6ab8ecc484c2be02 (patch) | |
tree | 50c70997406ccc212f9d2ed26d5a73b38a4e3b78 /drivers/gpu/drm | |
parent | 530b19698dc8ab125068ee3bf946f4cc1aca18fd (diff) | |
download | linux-0084c3c71126fc878c6dab8a6ab8ecc484c2be02.tar.bz2 |
drm/panel: otm8009a: Add delay at the end of initialization
At the end of initialization, a delay is required by the panel. Without
this delay, the panel could received a frame early & generate a crash of
panel (black screen).
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1553155445-13407-1-git-send-email-yannick.fertre@st.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c index 87fa316e1d7b..58ccf648b70f 100644 --- a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c +++ b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c @@ -248,6 +248,9 @@ static int otm8009a_init_sequence(struct otm8009a *ctx) /* Send Command GRAM memory write (no parameters) */ dcs_write_seq(ctx, MIPI_DCS_WRITE_MEMORY_START); + /* Wait a short while to let the panel be ready before the 1st frame */ + mdelay(10); + return 0; } |