lkml.org 
[lkml]   [2020]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.7 056/376] drm/dp: Lenovo X13 Yoga OLED panel brightness fix
    Date
    From: Mark Pearson <mpearson.lenovo@gmail.com>

    [ Upstream commit 0df3ff451287d71c620384eb7bb2cd3a8106412c ]

    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: Mark Pearson <mpearson@gmail.com>
    [fixed commit message, sobs]
    Signed-off-by: Lyude Paul <lyude@redhat.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200519025635.22846-1-mpearson@lenovo.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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.25.1


    \
     
     \ /
      Last update: 2020-06-19 17:22    [W:3.343 / U:1.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site