All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Morgan <macroalpha82@gmail.com>
To: Jessica Zhang <quic_jesszhan@quicinc.com>
Cc: neil.armstrong@linaro.org, Chris Morgan <macromorgan@hotmail.com>,
	sam@ravnborg.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/4] drm/panel-elida-kd35t133: hold panel in reset for unprepare
Date: Thu, 16 Nov 2023 09:17:31 -0600	[thread overview]
Message-ID: <6556328d.ca0a0220.644a5.b79b@mx.google.com> (raw)
In-Reply-To: <8959af0e-080f-42b0-8b3a-ba8ea7f34c91@quicinc.com>

On Wed, Nov 15, 2023 at 01:38:11PM -0800, Jessica Zhang wrote:
> 
> 
> On 11/15/2023 7:26 AM, Chris Morgan wrote:
> > From: Chris Morgan <macromorgan@hotmail.com>
> > 
> > For devices like the Anbernic RG351M and RG351P the panel is wired to
> > an always on regulator. When the device suspends and wakes up, there
> > are some slight artifacts on the screen that go away over time. If
> > instead we hold the panel in reset status after it is unprepared,
> > this does not happen.
> 
> Hi Chris,
> 
> LGTM, though if this is fixing something maybe we can add
> 
> Fixes: 5b6603360c12 ("drm/panel: add panel driver for Elida KD35T133
> panels")

It *may* fix an intermittent issue with the panel resuming from
suspend, but it really more solves an issue with devices for which
we're still adding support.

Should I still tag it as a "fixes" then?

Thank you.

> 
> > 
> > Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
> 
> Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
> 
> Thanks,
> 
> Jessica Zhang
> 
> > ---
> >   drivers/gpu/drm/panel/panel-elida-kd35t133.c | 2 ++
> >   1 file changed, 2 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/panel/panel-elida-kd35t133.c b/drivers/gpu/drm/panel/panel-elida-kd35t133.c
> > index 6cd8536c09ff..f1fc4a26f447 100644
> > --- a/drivers/gpu/drm/panel/panel-elida-kd35t133.c
> > +++ b/drivers/gpu/drm/panel/panel-elida-kd35t133.c
> > @@ -104,6 +104,8 @@ static int kd35t133_unprepare(struct drm_panel *panel)
> >   		return ret;
> >   	}
> > +	gpiod_set_value_cansleep(ctx->reset_gpio, 1);
> > +
> >   	regulator_disable(ctx->iovcc);
> >   	regulator_disable(ctx->vdd);
> > -- 
> > 2.34.1
> > 

  reply	other threads:[~2023-11-16 15:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-15 15:26 [PATCH 0/4] Elida KD35T133 Panel Improvements Chris Morgan
2023-11-15 15:26 ` [PATCH 1/4] drm/panel-elida-kd35t133: trival: update panel size from 5.5 to 3.5 Chris Morgan
2023-11-15 21:22   ` Jessica Zhang
2023-11-15 15:26 ` [PATCH 2/4] drm/panel-elida-kd35t133: hold panel in reset for unprepare Chris Morgan
2023-11-15 21:38   ` Jessica Zhang
2023-11-16 15:17     ` Chris Morgan [this message]
2023-11-16 21:40       ` Jessica Zhang
2023-11-15 15:26 ` [PATCH 3/4] drm/panel-elida-kd35t133: drop drm_connector_set_orientation_from_panel Chris Morgan
2023-11-15 22:00   ` Jessica Zhang
2023-11-15 15:26 ` [PATCH 4/4] drm/panel-elida-kd35t133: Drop prepare/unprepare logic Chris Morgan
2023-11-15 22:30   ` Jessica Zhang

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=6556328d.ca0a0220.644a5.b79b@mx.google.com \
    --to=macroalpha82@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=macromorgan@hotmail.com \
    --cc=neil.armstrong@linaro.org \
    --cc=quic_jesszhan@quicinc.com \
    --cc=sam@ravnborg.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: 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.