Re: [PATCH] drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c

From: Jagan Teki
Date: Fri Jul 02 2021 - 01:28:54 EST


Hi Sam and Thierry,

On Tue, May 25, 2021 at 12:12 AM Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx>
> ---
> 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.