diff mbox series

drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c

Message ID 20210524184226.3064621-1-jagan@amarulasolutions.com (mailing list archive)
State New, archived
Headers show
Series drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c | expand

Commit Message

Jagan Teki May 24, 2021, 6:42 p.m. UTC
ytc700tlag_05_201c panel support 8 bpc not 6 bpc as per
recent testing in i.MX8MM platform.

Fix it.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jagan Teki July 2, 2021, 5:28 a.m. UTC | #1
Hi Sam and Thierry,

On Tue, May 25, 2021 at 12:12 AM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> ytc700tlag_05_201c panel support 8 bpc not 6 bpc as per
> recent testing in i.MX8MM platform.
>
> Fix it.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 9be050ab372f..6f4151729fb7 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -4164,7 +4164,7 @@ static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode
>  static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = {
>         .modes = &yes_optoelectronics_ytc700tlag_05_201c_mode,
>         .num_modes = 1,
> -       .bpc = 6,
> +       .bpc = 8,

Can you pick this, if all okay.

Jagan.
Jagan Teki July 9, 2021, 6:13 p.m. UTC | #2
On Fri, Jul 2, 2021 at 10:58 AM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Hi Sam and Thierry,
>
> On Tue, May 25, 2021 at 12:12 AM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > ytc700tlag_05_201c panel support 8 bpc not 6 bpc as per
> > recent testing in i.MX8MM platform.
> >
> > Fix it.
> >
> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> > ---
> >  drivers/gpu/drm/panel/panel-simple.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > index 9be050ab372f..6f4151729fb7 100644
> > --- a/drivers/gpu/drm/panel/panel-simple.c
> > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > @@ -4164,7 +4164,7 @@ static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode
> >  static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = {
> >         .modes = &yes_optoelectronics_ytc700tlag_05_201c_mode,
> >         .num_modes = 1,
> > -       .bpc = 6,
> > +       .bpc = 8,
>
> Can you pick this, if all okay.

Gentle Ping!
Sam Ravnborg July 9, 2021, 6:37 p.m. UTC | #3
Hi Jagan,

On Fri, Jul 09, 2021 at 11:43:53PM +0530, Jagan Teki wrote:
> On Fri, Jul 2, 2021 at 10:58 AM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > Hi Sam and Thierry,
> >
> > On Tue, May 25, 2021 at 12:12 AM Jagan Teki <jagan@amarulasolutions.com> wrote:
> > >
> > > ytc700tlag_05_201c panel support 8 bpc not 6 bpc as per
> > > recent testing in i.MX8MM platform.
> > >
> > > Fix it.
> > >
> > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> > > ---
> > >  drivers/gpu/drm/panel/panel-simple.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > > index 9be050ab372f..6f4151729fb7 100644
> > > --- a/drivers/gpu/drm/panel/panel-simple.c
> > > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > > @@ -4164,7 +4164,7 @@ static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode
> > >  static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = {
> > >         .modes = &yes_optoelectronics_ytc700tlag_05_201c_mode,
> > >         .num_modes = 1,
> > > -       .bpc = 6,
> > > +       .bpc = 8,
> >
> > Can you pick this, if all okay.
> 
> Gentle Ping!
I have lost the original mail. Can you resend then I will review or
apply it.

	Sam
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 9be050ab372f..6f4151729fb7 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -4164,7 +4164,7 @@  static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode
 static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = {
 	.modes = &yes_optoelectronics_ytc700tlag_05_201c_mode,
 	.num_modes = 1,
-	.bpc = 6,
+	.bpc = 8,
 	.size = {
 		.width = 154,
 		.height = 90,