Next version of [1]. This version combines computing table's index and parsing VS/PE-O tables. Thus, patches changing intel_encoder has been dropped. Furthermore, all the enums have been removed. Hence the patch series should be more aligned with current implementation.
Booted and successfully overriden default VS/PE with custom VBT on PTL. BR, Michał [1] https://lore.kernel.org/all/[email protected] --- Changelog: v4->v5 - set devdata->vspeo->num_entries in intel_bios.c - add if-ladder instead of function pointer - blend index computation with table parsing - remove WARN and debug messages - remove enums entirely - add spaces around operators (Suraj) - remove spaces after type casting (Suraj) - remove INTEL_DISPLAY_STATE_WARN (Suraj) - change funcs prefix from snps_ to mtl_ (Suraj) v3->v4 - add Bspec (Suraj) - remove unnecessary init of VS/PE-O metadata (Suraj) - add helper for computing number of rows (Suraj) - fix num_rows's type (Jani, Suraj) - declare num_rows (Suraj) - change debug message when requesting VS/PE-O (Suraj) - stick to solely changing VBT data into current structures (Jani) - move iterator declaration to declaration block (Suraj) v2->v3 - remove unnecessary braces from if block (Suraj) - return -EINVAL instead of -1 (Suraj) Michał Grzelak (8): drm/i915/bios: search for VBT #57 by default drm/i915/bios: store VBT #57's metadata in intel_vbt_data drm/i915/bios: print VS/PE-O port info drm/i915/bios: de/allocate VS/PE-O buffer for each port 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 | 179 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_bios.h | 11 ++ .../drm/i915/display/intel_ddi_buf_trans.c | 126 +++++++++++- .../gpu/drm/i915/display/intel_display_core.h | 7 + 4 files changed, 313 insertions(+), 10 deletions(-) -- 2.45.2
