Hi! These are the backported versions of the eDP backlight fixes for
i915 that Lenovo asked me to try getting into the Fedora kernel in time
for beta. Note that these are pending upstream in intel's
drm-intel-next-queued tree, and will make it into the kernel come next
merge window.
NOTE!!!
While the exception for this was really only requested by Lenovo,
there's a couple of additional laptop panels that got added upstream
from Dell. Since the only extra work required to support them is just
adding some IDs into a quirk list I figured it'd be harmless to include
here as well. Feel free to drop them if you don't think including them
is a good idea.
Upstream patch series:
*
https://patchwork.freedesktop.org/series/69914/
(one patch in ^ this series was reverted later, so it's been omitted)
*
https://patchwork.freedesktop.org/series/72991/
Bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1811850
Lyude Paul (7):
drm/i915: Fix eDP DPCD aux max backlight calculations
drm/i915: Assume 100% brightness when not in DPCD control mode
drm/i915: Fix DPCD register order in intel_dp_aux_enable_backlight()
drm/i915: Auto detect DPCD backlight support by default
drm/dp: Introduce EDID-based quirks
drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED
panel
drm/i915: Force DPCD backlight mode for some Dell CML 2020 panels
drivers/gpu/drm/drm_dp_helper.c | 79 ++++++++
drivers/gpu/drm/drm_dp_mst_topology.c | 3 +-
.../drm/i915/display/intel_display_types.h | 4 +
drivers/gpu/drm/i915/display/intel_dp.c | 11 +-
.../drm/i915/display/intel_dp_aux_backlight.c | 183 +++++++++++++-----
drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 +-
drivers/gpu/drm/i915/display/intel_psr.c | 2 +-
drivers/gpu/drm/i915/i915_params.c | 2 +-
drivers/gpu/drm/i915/i915_params.h | 2 +-
drivers/gpu/drm/i915/i915_utils.c | 1 -
drivers/gpu/drm/i915/i915_utils.h | 2 +
include/drm/drm_dp_helper.h | 21 +-
12 files changed, 247 insertions(+), 65 deletions(-)
--
2.24.1