i915 traceback during boot on Lenovo thinkpad T14 gen 3 with Irix XE graphics
During machine boot, the following traceback is visible in dmesg (100% reproducible). This was initially seen on 5.19.0 (from Ubuntu 22.10), but it happens on drm-tip as well (tested on a 6.0.0-060000rc4drmtip20220910-generic
kernel).
One possible observed side effect of the error is that at times, if the screen blanks due to DPMS, it's not possible to turn it on again.
Also, not sure if related to this issue, on this machine the HDMI output is not detected at all, thus it's not currently possible to use an external monitor via HDMI.
dmesg:
[ 3.330827] ------------[ cut here ]------------
[ 3.330838] i915 0000:00:02.0: drm_WARN_ON(intel_dp->pps.vdd_wakeref)
[ 3.330882] WARNING: CPU: 0 PID: 252 at drivers/gpu/drm/i915/display/intel_pps.c:595 intel_pps_vdd_on_unlocked+0x2af/0x2c0 [i915]
[ 3.331469] Modules linked in: i915(+) i2c_algo_bit drm_buddy ttm drm_display_helper cec rc_core drm_kms_helper hid_generic syscopyarea sysfillrect crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic ghash_clmulni_intel sysimgblt aesni_intel nvme crypto_simd fb_sys_fops i2c_i801 cryptd psmouse intel_lpss_pci spi_intel_pci e1000e drm i2c_smbus thunderbolt xhci_pci spi_intel nvme_core intel_lpss idma64 xhci_pci_renesas nvme_common wmi i2c_hid_acpi i2c_hid hid video pinctrl_tigerlake
[ 3.331565] CPU: 0 PID: 252 Comm: systemd-udevd Not tainted 6.0.0-060000rc4drmtip20220910-generic #202209100214
[ 3.331576] Hardware name: LENOVO 21AHCTO1WW/21AHCTO1WW, BIOS N3MET06W (1.03 ) 07/11/2022
[ 3.331580] RIP: 0010:intel_pps_vdd_on_unlocked+0x2af/0x2c0 [i915]
[ 3.332032] Code: 4c 8b 77 50 4d 85 f6 75 03 4c 8b 37 e8 6a 30 7e f8 48 c7 c1 10 97 c0 c0 4c 89 f2 48 c7 c7 74 bb c1 c0 48 89 c6 e8 4d ee cb f8 <0f> 0b e9 f9 fd ff ff e8 85 7e d7 f8 0f 1f 44 00 00 0f 1f 44 00 00
[ 3.332039] RSP: 0018:ffffb4fe8125f3a0 EFLAGS: 00010246
[ 3.332047] RAX: 0000000000000000 RBX: ffff9af002e5e170 RCX: 0000000000000000
[ 3.332052] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 3.332055] RBP: ffffb4fe8125f3f8 R08: 0000000000000000 R09: 0000000000000000
[ 3.332059] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9af022a70000
[ 3.332062] R13: 0000000000000000 R14: ffff9af0035fa970 R15: ffff9af022a71c20
[ 3.332067] FS: 00007f3ba868d8c0(0000) GS:ffff9afb2f400000(0000) knlGS:0000000000000000
[ 3.332073] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.332078] CR2: 00005632ca395a58 CR3: 0000000101a0c006 CR4: 0000000000770ef0
[ 3.332084] PKRU: 55555554
[ 3.332087] Call Trace:
[ 3.332091] <TASK>
[ 3.332099] ? intel_display_power_get+0x56/0x70 [i915]
[ 3.332560] intel_dp_aux_xfer+0x143/0x8b0 [i915]
[ 3.332971] ? raw_spin_rq_unlock+0x10/0x40
[ 3.332986] intel_dp_aux_transfer+0x20c/0x320 [i915]
[ 3.333340] drm_dp_dpcd_access+0xad/0x140 [drm_display_helper]
[ 3.333378] drm_dp_dpcd_write+0xc4/0x120 [drm_display_helper]
[ 3.333409] ? intel_pwm_disable_backlight+0x2a/0x40 [i915]
[ 3.333782] intel_dp_sink_set_decompression_state+0x90/0xd0 [i915]
[ 3.334102] intel_disable_ddi+0x11c/0x1c0 [i915]
[ 3.334393] intel_encoders_disable+0x9b/0xd0 [i915]
[ 3.334751] hsw_crtc_disable+0x6b/0x90 [i915]
[ 3.335014] intel_old_crtc_state_disables+0x3d/0xc0 [i915]
[ 3.335250] intel_commit_modeset_disables+0x2ab/0x350 [i915]
[ 3.335472] ? intel_modeset_get_crtc_power_domains+0x8c/0xf0 [i915]
[ 3.335707] intel_atomic_commit_tail+0x19f/0xb20 [i915]
[ 3.335917] intel_atomic_commit+0x3bc/0x410 [i915]
[ 3.336129] drm_atomic_commit+0x94/0xd0 [drm]
[ 3.336199] ? drm_plane_create_color_properties.cold+0x46/0x46 [drm]
[ 3.336283] intel_initial_commit+0x192/0x230 [i915]
[ 3.336546] intel_modeset_init+0x2a/0x90 [i915]
[ 3.336774] i915_driver_probe+0x17e/0x420 [i915]
[ 3.336955] ? drm_privacy_screen_get+0x16d/0x190 [drm]
[ 3.337022] ? acpi_dev_found+0x64/0x80
[ 3.337030] i915_pci_probe+0xac/0x1b0 [i915]
[ 3.337207] local_pci_probe+0x44/0x90
[ 3.337215] pci_call_probe+0x55/0x190
[ 3.337219] pci_device_probe+0x84/0x120
[ 3.337223] really_probe+0xf6/0x3b0
[ 3.337227] ? pm_runtime_barrier+0x55/0xa0
[ 3.337234] __driver_probe_device+0x8c/0x1a0
[ 3.337238] driver_probe_device+0x24/0xd0
[ 3.337241] __driver_attach+0x102/0x220
[ 3.337245] ? __device_attach_driver+0x170/0x170
[ 3.337248] bus_for_each_dev+0x8d/0xe0
[ 3.337255] driver_attach+0x1e/0x30
[ 3.337260] bus_add_driver+0x1d0/0x220
[ 3.337267] driver_register+0x8f/0x100
[ 3.337270] __pci_register_driver+0x62/0x70
[ 3.337276] i915_pci_register_driver+0x23/0x30 [i915]
[ 3.337434] i915_init+0x3b/0xf2 [i915]
[ 3.337620] ? 0xffffffffc0cda000
[ 3.337624] do_one_initcall+0x5b/0x240
[ 3.337632] do_init_module+0x50/0x210
[ 3.337638] load_module+0xb25/0xc10
[ 3.337645] __do_sys_finit_module+0xc4/0x140
[ 3.337650] ? __do_sys_finit_module+0xc4/0x140
[ 3.337656] __x64_sys_finit_module+0x18/0x30
[ 3.337661] do_syscall_64+0x58/0x90
[ 3.337668] ? do_syscall_64+0x67/0x90
[ 3.337673] ? syscall_exit_to_user_mode+0x26/0x50
[ 3.337679] ? __x64_sys_lseek+0x18/0x30
[ 3.337683] ? do_syscall_64+0x67/0x90
[ 3.337688] ? do_syscall_64+0x67/0x90
[ 3.337693] ? do_syscall_64+0x67/0x90
[ 3.337697] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 3.337702] RIP: 0033:0x7f3ba8d6d9fd
[ 3.337706] Code: 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d3 f3 0d 00 f7 d8 64 89 01 48
[ 3.337709] RSP: 002b:00007ffcf19b29d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 3.337714] RAX: ffffffffffffffda RBX: 00005632ca3e4a30 RCX: 00007f3ba8d6d9fd
[ 3.337716] RDX: 0000000000000000 RSI: 00007f3ba8eef458 RDI: 0000000000000016
[ 3.337718] RBP: 00007f3ba8eef458 R08: 0000000000000000 R09: 00007ffcf19b2b00
[ 3.337720] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000020000
[ 3.337722] R13: 00005632ca3e48d0 R14: 0000000000000000 R15: 00005632ca3e8ef0
[ 3.337726] </TASK>
[ 3.337727] ---[ end trace 0000000000000000 ]---
lspci output:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Lenovo Alder Lake-P Integrated Graphics Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 177
IOMMU group: 1
Region 0: Memory at 603c000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at 4000000000 (64-bit, prefetchable) [size=512M]
Region 4: I/O ports at 2000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+ FLReset+
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR-
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
AtomicOpsCtl: ReqEn-
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Address: fee00018 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 14
PASIDCtl: Enable- Exec- Priv-
Capabilities: [200 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [300 v1] Page Request Interface (PRI)
PRICtl: Enable- Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 00008000, Page Request Allocation: 00000000
Capabilities: [320 v1] Single Root I/O Virtualization (SR-IOV)
IOVCap: Migration- 10BitTagReq- Interrupt Message Number: 000
IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy- 10BitTagReq-
IOVSta: Migration-
Initial VFs: 7, Total VFs: 7, Number of VFs: 0, Function Dependency Link: 00
VF offset: 1, stride: 1, Device ID: 46a6
Supported Page Size: 00000553, System Page Size: 00000001
Region 0: Memory at 0000004100000000 (64-bit, non-prefetchable)
Region 2: Memory at 0000004020000000 (64-bit, prefetchable)
VF Migration: offset: 00000000, BIR: 0
Kernel driver in use: i915
Kernel modules: i915
Please let me know if additional informations are needed