From: Frank Oltmanns <frank@oltmanns.dev>
To: "Guido Günther" <agx@sigxcpu.org>,
"Purism Kernel Team" <kernel@puri.sm>,
"Ondrej Jirman" <megous@megous.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Sam Ravnborg" <sam@ravnborg.org>,
"David Airlie" <airlied@gmail.com>,
"Daniel Vetter" <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org (open list:DRM PANEL DRIVERS),
linux-kernel@vger.kernel.org (open list)
Cc: Frank Oltmanns <frank@oltmanns.dev>
Subject: [PATCH 0/1] drm/panel: st7703: Fix resume of XBD599 panel
Date: Sun, 12 Feb 2023 13:08:28 +0100 [thread overview]
Message-ID: <20230212120830.46880-1-frank@oltmanns.dev> (raw)
This patch fixes flickering after resume from sleep on panel
xingbangda,xbd599 (e.g. used in PinePhone).
It was originally submitted by Ondrej Jirman in July 2020:
https://lore.kernel.org/all/20200716123753.3552425-1-megous@megous.com/
The original patchset contained two patches. This submission fixes the
patch that broke handling of the JH057N panel of the Purism Librem 5.
In essence, it does not change any behavior towards the JH057N panel,
but only affects the XDB599.
The patch is just a refactoring of Ondřej's original patch, that is
already used today by PinePhone distributions like PostmarketOS.
I was torn between using function pointers and just calling msleep()
with device specific delays. I decided to go with function pointers,
because my understanding is that calling msleep(0), which would be
required for waiting for the JH057N display to discharge, still results
in a delay. The empty function I used has no side effect on that panel.
The patch is based on drm-next.
Ondřej, since this is just a refactoring, I would gladly add your SoB,
if you wish so.
Thanks,
Frank
Frank Oltmanns (1):
drm/panel: st7703: Fix resume of XBD599 panel
drivers/gpu/drm/panel/panel-sitronix-st7703.c | 40 ++++++++++++++++---
1 file changed, 35 insertions(+), 5 deletions(-)
--
2.39.1
next reply other threads:[~2023-02-12 18:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-12 12:08 Frank Oltmanns [this message]
2023-02-12 12:08 ` [PATCH 1/1] drm/panel: st7703: Fix resume of XBD599 panel Frank Oltmanns
2023-02-12 12:08 ` Frank Oltmanns
2023-02-12 12:36 ` Ondřej Jirman
2023-02-12 12:36 ` Ondřej Jirman
2023-02-12 13:15 ` Frank Oltmanns
2023-02-12 13:15 ` Frank Oltmanns
2023-02-12 17:52 ` Frank Oltmanns
2023-02-12 17:52 ` Frank Oltmanns
2023-02-12 19:35 ` Ondřej Jirman
2023-02-12 19:35 ` Ondřej Jirman
2023-02-13 7:47 ` Frank Oltmanns
2023-02-13 7:47 ` Frank Oltmanns
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=20230212120830.46880-1-frank@oltmanns.dev \
--to=frank@oltmanns.dev \
--cc=agx@sigxcpu.org \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@puri.sm \
--cc=linux-kernel@vger.kernel.org \
--cc=megous@megous.com \
--cc=sam@ravnborg.org \
--cc=thierry.reding@gmail.com \
/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: link
Be 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.