Public bug reported:

SRU Justification:

[ Impact ]
On Intel Panther Lake laptops whose Video BIOS Table (VBT) requests
per-port voltage swing / pre-emphasis overrides (use_vbt_vswing=1),
boot triggers a kernel drm_WARN in intel_bios_init() ("Port D asks to
use VBT vswing/preemph tables") and the display driver ignores the
OEM-provided VBT Block #57 PHY signal-tuning tables.

[ Fix ]
Backport the VBT Block #57 Vswing / Pre-emphasis Override (VS/PE-O)
series from Linux 7.4-rc1 (plus prerequisite wrapper commit
07095bb7ea730 from Linux 7.2-rc1 for 7.0 kernels):
- 07095bb7ea730 ("drm/i915/ddi: add wrapper for calling ->get_buf_trans() 
hook") [7.0 only]
- 3018008dc1c3c ("drm/i915/bios: search for VBT #57 by default")
- c76c03dab8287 ("drm/i915/bios: store VBT #57's metadata in intel_vbt_data")
- 1b15117625045 ("drm/i915/bios: print VS/PE-O port info")
- a138a81d7805a ("drm/i915/bios: de/allocate VS/PE-O buffers for each port")
- e084812de907c ("drm/i915/buf_trans: add vfunc for VS/PE-O")
- e8fe5008ae3da ("drm/i915: override Snps's VS/PE when requested")
- 7fdf86e530c7f ("drm/i915: override Combo's VS/PE when requested")
- 4bda5543b3c66 ("drm/i915/bios: remove VS/PE-O warning")

[ Test Plan ]
1. Boot an affected Intel Panther Lake laptop with VBT Block #57
   vswing/pre-emphasis override enabled in BIOS.
2. Check dmesg during boot and verify no drm_WARN occurs in
   intel_bios_init() and drm.debug logs "Port D requests
   vswing/pre-emphasis override".
3. Connect an external DisplayPort monitor on the affected port and
   verify link training and display output work properly.

[ Where problems could occur ]
Changes are scoped to Intel i915/xe VBT parsing and DDI buffer
translation selection. Systems whose VBT does not set use_vbt_vswing
continue using the existing predefined PHY tables unchanged. Any
regression would affect DisplayPort/eDP link training on systems
with VBT Block #57 overrides enabled.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-7.0 (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-7.3 (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: linux (Ubuntu Resolute)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-7.0 (Ubuntu Resolute)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-7.3 (Ubuntu Resolute)
     Importance: Undecided
         Status: In Progress

** Affects: linux (Ubuntu Stonking)
     Importance: Undecided
         Status: In Progress

** Affects: linux-oem-7.0 (Ubuntu Stonking)
     Importance: Undecided
         Status: New

** Affects: linux-oem-7.3 (Ubuntu Stonking)
     Importance: Undecided
         Status: New

** Changed in: linux-oem-7.0 (Ubuntu)
       Status: New => In Progress

** Changed in: linux-oem-7.3 (Ubuntu)
       Status: New => In Progress

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-7.0 (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-7.3 (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-7.0 (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-7.3 (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: linux-oem-7.0 (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: linux-oem-7.3 (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: linux (Ubuntu Stonking)
       Status: New => In Progress

** Changed in: linux (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175126

Title:
  [SRU] drm/i915/bios: Support VBT #57 vswing/pre-emphasis override

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175126/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to