Next version of [1]. IGT is available at [2], but needs another version. Couple changes: - patch shuffling xe3plpd_lt_buf_trans got dropped; - "buffers' matrix" (two-dimensional superior table of intel_ddi_buf_trans_entry prepopulated with data from VBT #57) got completely slashed; - instead, *vspeo pointer stores intel_ddi_buf_trans per each port. Buffer is still allocated during intel_bios_init() and is filled with deparsed data from VBT #57 on each VS/PE-O request in intel_ddi_buf_trans_get(); - index computation and accessing VBT #57 has been abstracted into separate, platform-dependent function hooks added into intel_encoder.
Booted and loaded custom VBT #57 on PTL with panel showing up. Successfully overridden default with requested tables. [1] https://lore.kernel.org/intel-gfx/[email protected] [2] https://lore.kernel.org/igt-dev/[email protected] BR, Michał Michał Grzelak (10): drm/i915/bios: search for VBT #57 by default drm/i915/bios: store VBT #57's metadata in intel_vbt_data drm/i915/bios: structurize VS/PE-O metadata drm/i915/bios: print VS/PE-O port info drm/i915/bios: de/allocate VS/PE-O buffer for each port drm/i915/buf_trans: abstract VS/PE-O access and index computation drm/i915: override LT's VS/PE when requested drm/i915: override Snps's VS/PE when requested drm/i915: override Combo's VS/PE when requested drm/i915/bios: remove VS/PE-O warning drivers/gpu/drm/i915/display/intel_bios.c | 192 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_bios.h | 11 + .../drm/i915/display/intel_ddi_buf_trans.c | 149 +++++++++++++- .../drm/i915/display/intel_ddi_buf_trans.h | 33 +++ .../gpu/drm/i915/display/intel_display_core.h | 7 + .../drm/i915/display/intel_display_types.h | 5 + 6 files changed, 382 insertions(+), 15 deletions(-) -- 2.45.2
