Skip to content

drm/i915: Add support for Intel's eDP backlight controls

Lyude Paul dri-devel intel-gfx lkml oe-lkp 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 3 repliesIn review
  2. v64 patches 3 repliesSuperseded
  3. v54 patches 7 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v44 patches0 repliesSuperseded
v39 patches6 repliesSuperseded
v2 RFC8 patches12 repliesSuperseded
v1 RFC5 patches9 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915: Pass port to intel_panel_bl_funcs.get()drivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c +1 more+21 -272 replies
2/5drm/i915: Keep track of pwm-related backlight hooks separatelydrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_panel.c+188 -1471 reply
3/5drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now)drivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c drivers/gpu/drm/i915/display/intel_panel.c +1 more+269 -310 replies
4/5drm/i915/dp: Allow forcing specific interfaces through enable_dpcd_backlightdrivers/gpu/drm/i915/display/intel_dp_aux_backlight.c drivers/gpu/drm/i915/i915_params.c+43 -40 replies
5/5drm/dp: Revert "drm/dp: Introduce EDID-based quirks"drivers/gpu/drm/drm_dp_helper.c drivers/gpu/drm/drm_dp_mst_topology.c drivers/gpu/drm/i915/display/intel_display_types.h +4 more+9 -1130 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/5R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/5] drm/i915: Add support for Intel's eDP backlight controls

A while ago we ran into issues while trying to enable the eDP backlight control interface as defined by VESA, in order to make the DPCD backlight controls on newer laptop panels work. The issue ended up being much more complicated however, as we also apparently needed to add support for an Intel-specific DPCD backlight control interface as the VESA interface is broken on many laptop panels. For lack of a better name, we just call this the Intel HDR backlight interface.

While this only adds support for the SDR backlight mode (I think), this will fix a lot of user's laptop panels that we weren't able to properly automatically detect DPCD backlight controls on previously.

Series-wide changes in v7:
* Add another patch that allows passing the current display pipe to intel_panel_bl_funcs.get(), which should fix the lockdep issues we were seeing with Intel's CI

Lyude Paul (5):
drm/i915: Pass port to intel_panel_bl_funcs.get() drm/i915: Keep track of pwm-related backlight hooks separately drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now) drm/i915/dp: Allow forcing specific interfaces through
enable_dpcd_backlight
drm/dp: Revert "drm/dp: Introduce EDID-based quirks"

 drivers/gpu/drm/drm_dp_helper.c               |  83 +---
 drivers/gpu/drm/drm_dp_mst_topology.c         |   3 +-
 .../drm/i915/display/intel_display_types.h    |  16 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |   9 +-
 .../drm/i915/display/intel_dp_aux_backlight.c | 290 +++++++++++--
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   3 +-
 .../i915/display/intel_dsi_dcs_backlight.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_panel.c    | 395 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_panel.h    |   4 +
 drivers/gpu/drm/i915/display/intel_psr.c      |   2 +-
 drivers/gpu/drm/i915/i915_params.c            |   2 +-
 include/drm/drm_dp_helper.h                   |  21 +-
 12 files changed, 519 insertions(+), 311 deletions(-)
Signature · 6 lines
2.29.2

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx