[PATCH] Lenovo X13 Yoga OLED panel brightness fix

Lyude Paul lyude at redhat.com
Mon May 18 22:43:52 UTC 2020


Yeah, git send-email is kinda :(, but unfortunately the entire kernel uses this
workflow. Hopefully freedesktop's gitlab efforts will change this someday...

also - in the future, if you don't want comments to appear in the patch when
they're applied put them below the ---, e.g. the one before the Reviewed-by:
tag.

Anyway-I'll go ahead and push this, thanks for keeping this list up to date!

On Mon, 2020-05-18 at 00:06 +0000, Mark Pearson wrote:
> Hi,
> 
> Patch to fix an issue controlling the brightness of the OLED panel on the
> Lenovo X13 Yoga 
> Please let me know any feedback or questions.
> Note - apologies if this message has shown up before - I had some mail client
> issues.
> 
> Mark Pearson
> ---------------------------------
> 
> Add another panel that needs the edid quirk to the list so that brightness 
> control works correctly. Fixes issue seen on Lenovo X13 Yoga with OLED panel
> 
> Co-developed-by: jendrina at lenovo.com
> Signed-off-by: jendrina at lenovo.com
> Signed-off-by: Mark Pearson <mpearson at lenovo.com>
> Reviewed-by: Lyude Paul <lyude at redhat.com>
> ---
> drivers/gpu/drm/drm_dp_helper.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
> index c6fbe6e6bc9d..41f0e797ce8c 100644
> --- a/drivers/gpu/drm/drm_dp_helper.c
> +++ b/drivers/gpu/drm/drm_dp_helper.c
> @@ -1313,6 +1313,7 @@ static const struct edid_quirk edid_quirk_list[] = {
>                { MFG(0x06, 0xaf), PROD_ID(0xeb, 0x41),
> BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
>                { MFG(0x4d, 0x10), PROD_ID(0xc7, 0x14),
> BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
>                { MFG(0x4d, 0x10), PROD_ID(0xe6, 0x14),
> BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
> +             { MFG(0x4c, 0x83), PROD_ID(0x47, 0x41),
> BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
> };
> 
>  #undef MFG



More information about the dri-devel mailing list