drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 2 Apr 2019 03:30:37 +0000 (11:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Oct 2019 14:06:54 +0000 (09:06 -0500)
Another panel that needs 6BPC quirk.

BugLink: https://bugs.launchpad.net/bugs/1819968
Cc: <stable@vger.kernel.org> # v4.8+
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190402033037.21877-1-kai.heng.feng@canonical.com
drivers/gpu/drm/drm_edid.c

index 82a4ceed3fcf5a77bbb87b667b7c8375e9a19863..6b0177112e18d97e05514037a9f37f7c13fb7fc9 100644 (file)
@@ -159,6 +159,9 @@ static const struct edid_quirk {
        /* Medion MD 30217 PG */
        { "MED", 0x7b8, EDID_QUIRK_PREFER_LARGE_75 },
 
+       /* Lenovo G50 */
+       { "SDC", 18514, EDID_QUIRK_FORCE_6BPC },
+
        /* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */
        { "SEC", 0xd033, EDID_QUIRK_FORCE_8BPC },