linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on
@ 2020-07-03  9:51 Jitao Shi
  2020-07-05  8:06 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Jitao Shi @ 2020-07-03  9:51 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
	dri-devel, linux-kernel
  Cc: ck.hu, huijuan.xie, stonea168, linux-mediatek, Jitao Shi

Delay the backlight on to make sure the video stable.

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 3ad828eaefe1..18f34f286d3d 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -734,6 +734,9 @@ static const struct panel_desc auo_b116xw03 = {
 		.width = 256,
 		.height = 144,
 	},
+	.delay = {
+		.enable = 400,
+	},
 };
 
 static const struct drm_display_mode auo_b133xtn01_mode = {
-- 
2.25.1
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on
  2020-07-03  9:51 [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on Jitao Shi
@ 2020-07-05  8:06 ` Sam Ravnborg
  2020-07-05  9:44   ` Jitao Shi
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2020-07-05  8:06 UTC (permalink / raw)
  To: Jitao Shi
  Cc: David Airlie, huijuan.xie, stonea168, linux-kernel, dri-devel,
	Thierry Reding, linux-mediatek, Daniel Vetter, ck.hu

Hi Jitao.

On Fri, Jul 03, 2020 at 05:51:13PM +0800, Jitao Shi wrote:
> Delay the backlight on to make sure the video stable.
> 
> Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 3ad828eaefe1..18f34f286d3d 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -734,6 +734,9 @@ static const struct panel_desc auo_b116xw03 = {
>  		.width = 256,
>  		.height = 144,
>  	},
> +	.delay = {
> +		.enable = 400,
> +	},
>  };
>  
>  static const struct drm_display_mode auo_b133xtn01_mode = {

Patch did not apply to drm-misc-next.
Please update - and when you do so also add:
.bus_flags
.bus_format
.connector_type

So we have this panel properly defined.

	Sam

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on
  2020-07-05  8:06 ` Sam Ravnborg
@ 2020-07-05  9:44   ` Jitao Shi
  0 siblings, 0 replies; 3+ messages in thread
From: Jitao Shi @ 2020-07-05  9:44 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: David Airlie, huijuan.xie, stonea168, linux-kernel, dri-devel,
	Thierry Reding, linux-mediatek, Daniel Vetter, ck.hu

On Sun, 2020-07-05 at 10:06 +0200, Sam Ravnborg wrote:
> Hi Jitao.
> 
> On Fri, Jul 03, 2020 at 05:51:13PM +0800, Jitao Shi wrote:
> > Delay the backlight on to make sure the video stable.
> > 
> > Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
> > ---
> >  drivers/gpu/drm/panel/panel-simple.c | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > index 3ad828eaefe1..18f34f286d3d 100644
> > --- a/drivers/gpu/drm/panel/panel-simple.c
> > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > @@ -734,6 +734,9 @@ static const struct panel_desc auo_b116xw03 = {
> >  		.width = 256,
> >  		.height = 144,
> >  	},
> > +	.delay = {
> > +		.enable = 400,
> > +	},
> >  };
> >  
> >  static const struct drm_display_mode auo_b133xtn01_mode = {
> 
> Patch did not apply to drm-misc-next.
> Please update - and when you do so also add:
> .bus_flags
> .bus_format
> .connector_type
> 
> So we have this panel properly defined.
> 
> 	Sam

Thanks for your review.
I'll add those next version.

Jitao
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-05  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03  9:51 [PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on Jitao Shi
2020-07-05  8:06 ` Sam Ravnborg
2020-07-05  9:44   ` Jitao Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).