From: Greg Kroah-Hartman Date: Wed, 12 Sep 2018 09:02:41 +0000 (+0200) Subject: 4.9-stable patches X-Git-Tag: v4.4.156~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5e55a0969fc5bd7368825147854912857bd7979;p=thirdparty%2Fkernel%2Fstable-queue.git 4.9-stable patches added patches: drm-edid-add-6-bpc-quirk-for-sdc-panel-in-lenovo-b50-80.patch --- diff --git a/queue-4.9/drm-edid-add-6-bpc-quirk-for-sdc-panel-in-lenovo-b50-80.patch b/queue-4.9/drm-edid-add-6-bpc-quirk-for-sdc-panel-in-lenovo-b50-80.patch new file mode 100644 index 00000000000..cca73be9245 --- /dev/null +++ b/queue-4.9/drm-edid-add-6-bpc-quirk-for-sdc-panel-in-lenovo-b50-80.patch @@ -0,0 +1,37 @@ +From 25da75043f8690fd083878447c91f289dfb63b87 Mon Sep 17 00:00:00 2001 +From: Kai-Heng Feng +Date: Thu, 23 Aug 2018 05:53:32 +0000 +Subject: drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80 + +From: Kai-Heng Feng + +commit 25da75043f8690fd083878447c91f289dfb63b87 upstream. + +Another panel that reports "DFP 1.x compliant TMDS" but it supports 6bpc +instead of 8 bpc. + +Apply 6 bpc quirk for the panel to fix it. + +BugLink: https://bugs.launchpad.net/bugs/1788308 +Cc: # v4.8+ +Signed-off-by: Kai-Heng Feng +Signed-off-by: Daniel Vetter +Link: https://patchwork.freedesktop.org/patch/msgid/20180823055332.7723-1-kai.heng.feng@canonical.com +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/gpu/drm/drm_edid.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/drivers/gpu/drm/drm_edid.c ++++ b/drivers/gpu/drm/drm_edid.c +@@ -110,6 +110,9 @@ static const struct edid_quirk { + /* CPT panel of Asus UX303LA reports 8 bpc, but is a 6 bpc panel */ + { "CPT", 0x17df, EDID_QUIRK_FORCE_6BPC }, + ++ /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */ ++ { "SDC", 0x3652, EDID_QUIRK_FORCE_6BPC }, ++ + /* Belinea 10 15 55 */ + { "MAX", 1516, EDID_QUIRK_PREFER_LARGE_60 }, + { "MAX", 0x77e, EDID_QUIRK_PREFER_LARGE_60 }, diff --git a/queue-4.9/series b/queue-4.9/series index edc5ede4b80..64d13d77bac 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -56,3 +56,4 @@ btrfs-relocation-only-remove-reloc-rb_trees-if-reloc-control-has-been-initialize btrfs-don-t-remove-block-group-that-still-has-pinned-down-bytes.patch arm64-rockchip-force-config_pm-on-rockchip-systems.patch arm-rockchip-force-config_pm-on-rockchip-systems.patch +drm-edid-add-6-bpc-quirk-for-sdc-panel-in-lenovo-b50-80.patch