]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED...
authorLyude Paul <lyude@redhat.com>
Thu, 12 Dec 2019 09:07:43 +0000 (17:07 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 16 Dec 2019 19:33:31 +0000 (13:33 -0600)
commit163215682f9be577adefacdc97ed3cd45af849e2
treee95fcbe3ecdcbd793d9e9311dde3d75c13279a53
parente53acb421b9f22b7fc9bb2ef53ed65178220226b
UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED panel

BugLink: https://bugs.launchpad.net/bugs/1856134
Annoyingly, the VBT on the ThinkPad X1 Extreme 2nd Gen indicates that
the system uses plain PWM based backlight controls, when in reality the
only backlight controls that work are the standard VESA eDP DPCD
backlight controls.

Honestly, this makes me wonder how many other systems have these issues
or lie about this in their VBT. Not sure we have any good way of finding
out until panels like this become more common place in the laptop
market. For now, just add a DRM DP quirk to indicate that this panel is
telling the truth and is being a good LCD.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112376
Signed-off-by: Lyude Paul <lyude@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
(backported from https://patchwork.freedesktop.org/patch/342166/?series=69914&rev=4)
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/drm_dp_helper.c
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
include/drm/drm_dp_helper.h