mbox series

[v2,0/9] drm/i915: Fake dual eDP VBT fixes

Message ID 20221125173156.31689-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Fake dual eDP VBT fixes | expand

Message

Ville Syrjälä Nov. 25, 2022, 5:31 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Here's my take on fixing *some* of the issues around the
dual eDP VBTs floating around atm. I have now such a machine.

Main changes in v2:
- deal with the ICP-ADP second PPS pin muxing
- Improve debugs all over

With this my T14 gen3 now boots without WARNs, and we also
remember to turn off the bogus second PPS that BIOS turned on.
The one thing that doesn't work is HDMI port B that aliases
with the second bogus eDP in the VBT, but fixing that
mess is going to take a lot more work.

Ville Syrjälä (9):
  drm/i915: Introduce intel_panel_init_alloc()
  drm/i915: Do panel VBT init early if the VBT declares an explicit
    panel type
  drm/i915: Generalize the PPS vlv_pipe_check() stuff
  drm/i915: Try to use the correct power sequencer intiially on bxt/glk
  drm/i915: Extend dual PPS handlind for ICP+
  drm/i915: Reject unusablee power sequencers
  drm/i915: Print the PPS registers using consistent format
  drm/i915: Fix whitespace
  drm/i915: Improve PPS debugs

 drivers/gpu/drm/i915/display/icl_dsi.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_bios.c     |  56 ++-
 drivers/gpu/drm/i915/display/intel_bios.h     |  11 +-
 .../gpu/drm/i915/display/intel_connector.c    |   2 +-
 .../drm/i915/display/intel_display_types.h    |  24 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |  19 +-
 drivers/gpu/drm/i915/display/intel_lvds.c     |   4 +-
 drivers/gpu/drm/i915/display/intel_panel.c    |   9 +
 drivers/gpu/drm/i915/display/intel_panel.h    |   1 +
 drivers/gpu/drm/i915/display/intel_pps.c      | 350 +++++++++++++-----
 drivers/gpu/drm/i915/display/intel_pps.h      |   2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c     |   2 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c        |   2 +-
 drivers/gpu/drm/i915/i915_reg.h               |   1 +
 14 files changed, 357 insertions(+), 128 deletions(-)