All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/8] Vswing / Preemphasis Override
@ 2026-06-03 23:05 Michał Grzelak
  2026-06-03 23:05 ` [PATCH v6 1/8] drm/i915/bios: search for VBT #57 by default Michał Grzelak
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Michał Grzelak @ 2026-06-03 23:05 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Jani Nikula, Suraj Kandpal, Michał Grzelak

Next version of [1]. IGT is at [2] and still pends v2.

This version finally fixes NULL pointer dereference seen consistently on
module load on fi-hsw-4770, which blocked all of i915 testing.

Booted and successfully overridden default VS/PE with custom VBT on PTL.

BR,
Michał

[1] https://lore.kernel.org/intel-gfx/20260602170031.1163205-1-michal.grzelak@intel.com
[2] https://lore.kernel.org/igt-dev/20260507012821.527453-1-michal.grzelak@intel.com

---
Changelog:
v5->v6
- check if devdata is not NULL
- add Bspec (Suraj)
- remove drm_WARN_ONCE (Suraj)
- pass default VS/PE tables to LT's BIOS accessor (Suraj)
- set txswing & _level from default VS/PE tables (Suraj)
- add helper checking if VS/PE-O has been allocated (Suraj)

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     | 184 +++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_bios.h     |  13 ++
 .../drm/i915/display/intel_ddi_buf_trans.c    | 133 ++++++++++++-
 .../gpu/drm/i915/display/intel_display_core.h |   7 +
 4 files changed, 327 insertions(+), 10 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-06-05 10:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 23:05 [PATCH v6 0/8] Vswing / Preemphasis Override Michał Grzelak
2026-06-03 23:05 ` [PATCH v6 1/8] drm/i915/bios: search for VBT #57 by default Michał Grzelak
2026-06-04  6:17   ` Jani Nikula
2026-06-03 23:05 ` [PATCH v6 2/8] drm/i915/bios: store VBT #57's metadata in intel_vbt_data Michał Grzelak
2026-06-03 23:05 ` [PATCH v6 3/8] drm/i915/bios: print VS/PE-O port info Michał Grzelak
2026-06-04  6:21   ` Jani Nikula
2026-06-03 23:05 ` [PATCH v6 4/8] drm/i915/bios: de/allocate VS/PE-O buffer for each port Michał Grzelak
2026-06-03 23:05 ` [PATCH v6 5/8] drm/i915: override LT's VS/PE when requested Michał Grzelak
2026-06-04  6:51   ` Jani Nikula
2026-06-05 10:41     ` Michał Grzelak
2026-06-04  8:03   ` Jani Nikula
2026-06-05 10:30     ` Michał Grzelak
2026-06-03 23:05 ` [PATCH v6 6/8] drm/i915: override Snps's " Michał Grzelak
2026-06-03 23:05 ` [PATCH v6 7/8] drm/i915: override Combo's " Michał Grzelak
2026-06-03 23:05 ` [PATCH v6 8/8] drm/i915/bios: remove VS/PE-O warning Michał Grzelak
2026-06-03 23:12 ` ✗ CI.checkpatch: warning for Vswing / Preemphasis Override (rev2) Patchwork
2026-06-03 23:13 ` ✓ CI.KUnit: success " Patchwork
2026-06-03 23:53 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-04  0:51 ` ✓ i915.CI.BAT: " Patchwork
2026-06-04 15:03 ` ✓ Xe.CI.FULL: " Patchwork
2026-06-05  1:21 ` ✓ i915.CI.Full: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.