All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Pearson <mpearson@lenovo.com>
To: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>
Subject: [PATCH] Lenovo X13 Yoga OLED panel brightness fix
Date: Sat, 16 May 2020 23:36:04 +0000	[thread overview]
Message-ID: <SG2PR03MB3324B5B8D808407B243943CABDBA0@SG2PR03MB3324.apcprd03.prod.outlook.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1280 bytes --]

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.

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@lenovo.com
Signed-off-by: jendrina@lenovo.com
Signed-off-by: Mark Pearson <mpearson@lenovo.com>
Reviewed-by: Lyude Paul <lyude@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
--
2.26.

[-- Attachment #1.2: Type: text/html, Size: 4469 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2020-05-18 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 23:36 Mark Pearson [this message]
2020-05-18  0:06 [PATCH] Lenovo X13 Yoga OLED panel brightness fix Mark Pearson
2020-05-18 22:43 ` Lyude Paul
2020-05-18 23:13   ` Lyude Paul
2020-05-20 12:32     ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SG2PR03MB3324B5B8D808407B243943CABDBA0@SG2PR03MB3324.apcprd03.prod.outlook.com \
    --to=mpearson@lenovo.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.