From: Oliver Graute <oliver.graute@kococonnector.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Dennis Menschel <menschel-d@posteo.de> Cc: Oliver Graute <oliver.graute@kococonnector.com>, stable@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v1] staging: fbtft: fb_st7789v: reset display before initialization Date: Thu, 10 Feb 2022 09:53:22 +0100 [thread overview] Message-ID: <20220210085322.15676-1-oliver.graute@kococonnector.com> (raw) In rare cases the display is flipped or mirrored. This was observed more often in a low temperature environment. A clean reset on init_display() should help to get registers in a sane state. Fixes: ef8f317795da (staging: fbtft: use init function instead of init sequence) Cc: stable@vger.kernel.org Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> --- drivers/staging/fbtft/fb_st7789v.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index 3a280cc1892c..0a2dbed9ffc7 100644 --- a/drivers/staging/fbtft/fb_st7789v.c +++ b/drivers/staging/fbtft/fb_st7789v.c @@ -82,6 +82,8 @@ enum st7789v_command { { int rc; + par->fbtftops.reset(par); + rc = init_tearing_effect_line(par); if (rc) return rc; -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Oliver Graute <oliver.graute@kococonnector.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Dennis Menschel <menschel-d@posteo.de> Cc: linux-fbdev@vger.kernel.org, Oliver Graute <oliver.graute@kococonnector.com>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, stable@vger.kernel.org Subject: [PATCH v1] staging: fbtft: fb_st7789v: reset display before initialization Date: Thu, 10 Feb 2022 09:53:22 +0100 [thread overview] Message-ID: <20220210085322.15676-1-oliver.graute@kococonnector.com> (raw) In rare cases the display is flipped or mirrored. This was observed more often in a low temperature environment. A clean reset on init_display() should help to get registers in a sane state. Fixes: ef8f317795da (staging: fbtft: use init function instead of init sequence) Cc: stable@vger.kernel.org Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> --- drivers/staging/fbtft/fb_st7789v.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c index 3a280cc1892c..0a2dbed9ffc7 100644 --- a/drivers/staging/fbtft/fb_st7789v.c +++ b/drivers/staging/fbtft/fb_st7789v.c @@ -82,6 +82,8 @@ enum st7789v_command { { int rc; + par->fbtftops.reset(par); + rc = init_tearing_effect_line(par); if (rc) return rc; -- 2.17.1
next reply other threads:[~2022-02-10 9:00 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-10 8:53 Oliver Graute [this message] 2022-02-10 8:53 ` [PATCH v1] staging: fbtft: fb_st7789v: reset display before initialization Oliver Graute -- strict thread matches above, loose matches on Subject: below -- 2021-08-13 12:59 Oliver Graute 2021-08-13 15:00 ` Greg KH
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220210085322.15676-1-oliver.graute@kococonnector.com \ --to=oliver.graute@kococonnector.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=gregkh@linuxfoundation.org \ --cc=linux-fbdev@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-staging@lists.linux.dev \ --cc=menschel-d@posteo.de \ --cc=stable@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.