Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] drm/xe: WARNING in intel_bios_init(): "Port A asks to use VBT vswing/preemph tables" on Panther Lake [8086:b081]
@ 2026-10-07 10:53 Eason
  2026-10-07 12:19 ` Jani Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Eason @ 2026-10-07 10:53 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Rodrigo Vivi, Jani Nikula

Hello,

I would like to report a WARNING that appears on every boot on a Panther
Lake laptop, and that is also visible on screen (before the desktop comes
up) when resuming from hibernation.

Hardware / software
-------------------

  laptop    XIAOMI REDMI Book Pro 14 2026 (board TM2426)
  BIOS      RMAPT4B0P0909 (2026-05-21), EC firmware 1.9
  GPU       Intel Panther Lake [Arc B370] [8086:b081] (rev 04)
            xe: "Found pantherlake (device ID b081) integrated display
                 version 30.00 stepping B0"
  kernel    7.2.9 (Arch linux-zen packaging: vanilla 7.2.9 + zen patchset
            + one unrelated local one-file platform/x86 patch)
  xe        srcversion BB102CAE6B929F8604B5647

What happens
------------

Every boot, about 7.1 s in, while the xe module initializes the display:

  [    7.10xxxx] xe 0000:00:02.0: [drm] Found pantherlake (device ID b081) integrated display version 30.00 stepping B0
  [    7.11xxxx] ------------[ cut here ]------------
  [    7.11xxxx] xe 0000:00:02.0: [drm] Port A asks to use VBT vswing/preemph tables
  [    7.11xxxx] WARNING: drivers/gpu/drm/i915/display/intel_bios.c:2813 at intel_bios_init+0x17fd/0x1f60 [xe], CPU#1: (udev-worker)/207
  [    7.11xxxx] Modules linked in: xe(+) drm_ttm_helper ttm drm_buddy i2c_algo_bit drm_suballoc_helper nvme gpu_sched drm_gpuvm nvme_core drm_exec ...
  [    7.11xxxx] CPU: 1 UID: 0 PID: 207 Comm: (udev-worker) Tainted: G     U   7.2.9-zen1-1.1-zen #1 PREEMPT(full)
  [    7.11xxxx] Hardware name: XIAOMI REDMI Book Pro 14 2026/TM2426, BIOS RMAPT4B0P0909 05/21/2026
  [    7.11xxxx] RIP: 0010:intel_bios_init+0x1806/0x1f60 [xe]
  [    7.11xxxx] Call Trace:
  [    7.11xxxx]  <TASK>
  [    7.11xxxx]  intel_display_driver_probe_noirq+0x3b/0x2e0 [xe]
  [    7.11xxxx]  xe_display_init_early+0x8b/0x140 [xe]
  [    7.11xxxx]  xe_device_probe+0x46d/0xc20 [xe]
  [    7.11xxxx]  xe_pci_probe+0xdf7/0x13d0 [xe]
  [    7.11xxxx]  pci_call_probe+0x9a/0x270
  [    7.11xxxx]  pci_device_probe+0xdb/0x180
  [    7.11xxxx]  really_probe+0xe9/0x440
  [    7.11xxxx]  __driver_probe_device+0x90/0x190
  [    7.11xxxx]  __driver_attach+0xb3/0x370
  [    7.11xxxx]  bus_for_each_dev+0x12f/0x1d0
  [    7.11xxxx]  bus_add_driver+0x153/0x310
  [    7.11xxxx]  driver_register+0x75/0xe0
  [    7.11xxxx]  xe_init+0x27/0x90 [xe]
  [    7.11xxxx]  ? __pfx_init_module+0x10/0x10 [xe]
  [    7.11xxxx]  do_one_initcall+0x8e/0x3d0
  [    7.11xxxx]  do_init_module+0x6a/0x2b0
  [    7.11xxxx]  init_module_from_file+0xc8/0x180
  [    7.11xxxx]  idempotent_init_module+0x23e/0x360
  [    7.11xxxx]  __x64_sys_finit_module+0x7f/0x110
  [    7.11xxxx]  do_syscall_64+0xaa/0x660
  [    7.11xxxx]  entry_SYSCALL_64_after_hwframe+0x4b/0x53
  [    7.11xxxx] ---[ end trace 0000000000000000 ]---

which is exactly the check at intel_bios.c:2813:

  /*
   * FIXME need to implement support for VBT
   * vswing/preemph tables should this ever trigger.
   */
  drm_WARN(display->drm, child->use_vbt_vswing,
           "Port %c asks to use VBT vswing/preemph tables\n",
           port_name(port));

So the VBT of this machine sets use_vbt_vswing for DDI port A.

Impact here
-----------

The display works normally (eDP panel comes up, external output over USB-C
works, no visible corruption), so for me this is a warning and not a
functional failure. Two reasons I still wanted to report it:

  - it dumps a full backtrace on every boot, which looks alarming in dmesg;
  - after resume from hibernation the console output stays on screen until
    the display driver takes over, so this warning is what the user actually
    sees ("a long line with a register dump") before the desktop comes back.
    It is not hibernation-specific: a plain cold boot shows it too.

Questions
---------

  - Is this expected for this VBT, i.e. should the OEM VBT not set
    use_vbt_vswing for port A at all?
  - Is support for the VBT vswing/preemph tables planned, or would it make
    sense to downgrade/ignore the warning for this case (e.g. when the DP
    link is working fine)?
  - Is there any information from the VBT you would like me to extract?

I can provide
-------------

  - full dmesg / journalctl -k output for a cold boot and for a
    hibernation/resume cycle;
  - acpidump output;
  - the VBT binary (please tell me the preferred way to extract it from this
    platform - e.g. the intel-gpu-tools VBT/opregion decoders - and I will
    attach it);
  - a boot with drm.debug=0xe, or any other debug options you want;
  - testing of patches, including on mainline, since I can build kernels
    locally for this machine.

Thanks a lot for your work on xe.

Note: the local testing and the preparation of this report were done with the
assistance of a local AI assistant (DeepSeek Harness WebUI, deepseek-flash
model); every command, log and result quoted above was actually executed on
this machine and reviewed by me.

Eason
1836949523@qq.com


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

* Re: [BUG] drm/xe: WARNING in intel_bios_init(): "Port A asks to use VBT vswing/preemph tables" on Panther Lake [8086:b081]
  2026-10-07 10:53 [BUG] drm/xe: WARNING in intel_bios_init(): "Port A asks to use VBT vswing/preemph tables" on Panther Lake [8086:b081] Eason
@ 2026-10-07 12:19 ` Jani Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2026-10-07 12:19 UTC (permalink / raw)
  To: Eason, intel-xe; +Cc: intel-gfx, Rodrigo Vivi

On Wed, 07 Oct 2026, Eason <1836949523@qq.com> wrote:
> I would like to report a WARNING that appears on every boot on a Panther
> Lake laptop, and that is also visible on screen (before the desktop comes
> up) when resuming from hibernation.

Please file a bug as described at [1]. Please include the VBT.

Thanks,
Jani.

[1] https://drm.pages.freedesktop.org/intel-docs/how-to-file-i915-bugs.html



-- 
Jani Nikula, Intel

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 10:53 [BUG] drm/xe: WARNING in intel_bios_init(): "Port A asks to use VBT vswing/preemph tables" on Panther Lake [8086:b081] Eason
2026-10-07 12:19 ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox