[PATCH] DRM/Panel : abt-y030xx067a yellow tint fix

Sam Ravnborg sam at ravnborg.org
Thu Sep 23 20:17:51 UTC 2021


Hi Christophe, Paul,
On Tue, Sep 14, 2021 at 11:27:16AM +0200, Christophe Branchereau wrote:
> The previous parameters caused an unbalanced yellow tint.
> 
> Signed-off-by: Christophe Branchereau <cbranchereau at gmail.com>

with the subject fixed the patch is:
Acked-by: Sam Ravnborg <sam at ravnborg.org>

Paul - I assume you will apply this as you wrote on irc.

	Sam

> ---
>  drivers/gpu/drm/panel/panel-abt-y030xx067a.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-abt-y030xx067a.c b/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
> index 2d8794d495d0..3d8a9ab47cae 100644
> --- a/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
> +++ b/drivers/gpu/drm/panel/panel-abt-y030xx067a.c
> @@ -146,8 +146,8 @@ static const struct reg_sequence y030xx067a_init_sequence[] = {
>  	{ 0x09, REG09_SUB_BRIGHT_R(0x20) },
>  	{ 0x0a, REG0A_SUB_BRIGHT_B(0x20) },
>  	{ 0x0b, REG0B_HD_FREERUN | REG0B_VD_FREERUN },
> -	{ 0x0c, REG0C_CONTRAST_R(0x10) },
> -	{ 0x0d, REG0D_CONTRAST_G(0x10) },
> +	{ 0x0c, REG0C_CONTRAST_R(0x00) },
> +	{ 0x0d, REG0D_CONTRAST_G(0x00) },
>  	{ 0x0e, REG0E_CONTRAST_B(0x10) },
>  	{ 0x0f, 0 },
>  	{ 0x10, REG10_BRIGHT(0x7f) },
> -- 
> 2.33.0


More information about the dri-devel mailing list