`i915 0000:00:02.0: drm_WARN_ON(!source_can_output(intel_dp, output_format))`
On a Dell XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022 with Debian sid/unstable, connecting a TV over HDMI to an LMP USB-C mini dock (product number 14368)
$ sudo dmesg | grep -e "DMI:" -e "Linux version" -e microcode
[ 0.000000] Linux version 6.9.0-rc6-00134-g53f3b41095e2 (build@bohemianrhapsody.molgen.mpg.de) (gcc (Debian 13.2.0-23) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #133 SMP PREEMPT_DYNAMIC Thu May 2 22:06:25 CEST 2024
[ 0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022
[ 0.376776] microcode: Current revision: 0x000000f4
[ 0.376777] microcode: Updated early from: 0x000000f0
$ sudo lspci -vnn -d :*:0300
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
DeviceName: Onboard IGD
Subsystem: Dell Device [1028:075b]
Flags: bus master, fast devsel, latency 0, IRQ 136
Memory at db000000 (64-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915
Linux 6.9-rc6+ logs:
$ git log --no-decorate --oneline 53f3b41095e2 -4
53f3b41095e2 nvme: core: Add debug prints to instrument firmwarex
6e31d25349be nvme: debug times
99232e9b120d usb/core/hub: Remove some extra reset_recovery_time of 40 ms
f03359bca01b Merge tag 'for-6.9-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
[ 8789.753398] ------------[ cut here ]------------
[ 8789.753408] i915 0000:00:02.0: drm_WARN_ON(!source_can_output(intel_dp, output_format))
[ 8789.753474] WARNING: CPU: 1 PID: 1418 at drivers/gpu/drm/i915/display/intel_dp.c:1038 intel_dp_output_format.isra.0+0x18a/0x210 [i915]
[ 8789.753934] Modules linked in: r8153_ecm cdc_ether usbnet r8152 mii snd_usb_audio snd_usbmidi_lib snd_rawmidi sctp ctr ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel xfrm_interface xfrm6_tunnel tunnel6 pppox ppp_generic xfrm_user slhc xfrm_algo snd_hda_codec_hdmi snd_ctl_led ledtrig_audio snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_sof_pci_intel_skl snd_sof_intel_hda_common snd_sof_pci snd_sof_xtensa_dsp snd_sof_intel_hda snd_sof snd_sof_utils snd_sof_intel_hda_mlink snd_soc_avs binfmt_misc snd_soc_hda_codec snd_soc_skl snd_soc_hdac_hda ath10k_pci snd_soc_acpi_intel_match nls_ascii snd_soc_acpi ath10k_core snd_soc_sst_ipc snd_soc_sst_dsp x86_pkg_temp_thermal nls_cp437 vfat intel_powerclamp snd_soc_core fat coretemp btusb dell_laptop dell_wmi ath snd_compress uvcvideo kvm_intel btrtl mei_pxp dell_smbios mac80211 i915 mei_hdcp mei_wdt snd_hda_ext_core videobuf2_vmalloc videobuf2_memops uvc btintel dcdbas kvm videobuf2_v4l2
[ 8789.754180] libarc4 snd_hda_intel btbcm wmi_bmof dell_wmi_descriptor intel_wmi_thunderbolt intel_rapl_msr videodev dell_smm_hwmon bluetooth snd_intel_dspcfg snd_hda_codec joydev cfg80211 videobuf2_common snd_hwdep snd_hda_core rapl mc intel_cstate snd_pcm ecdh_generic ecc intel_uncore pcspkr i2c_algo_bit iTCO_wdt drm_buddy snd_timer intel_pmc_bxt ucsi_acpi iTCO_vendor_support rfkill watchdog snd ttm typec_ucsi intel_gtt typec soundcore drm_display_helper intel_pmc_core drm_kms_helper mei_me intel_vsec video intel_hid pmt_telemetry processor_thermal_device_pci_legacy intel_vbtn soc_button_array wmi int3403_thermal pmt_class sparse_keymap mei intel_soc_dts_iosf cec int3400_thermal processor_thermal_device processor_thermal_wt_hint battery processor_thermal_rfim processor_thermal_rapl acpi_pad intel_rapl_common acpi_thermal_rel processor_thermal_wt_req ac intel_xhci_usb_role_switch rc_core processor_thermal_power_floor hid_multitouch button processor_thermal_mbox int340x_thermal_zone roles intel_pch_thermal evdev
[ 8789.754423] serio_raw msr parport_pc ppdev lp parport loop efi_pstore configfs nfnetlink efivarfs autofs4 ext4 crc16 mbcache jbd2 usbhid dm_crypt dm_mod nvme nvme_core t10_pi hid_generic crc32_pclmul crc64_rocksoft_generic i2c_hid_acpi crc32c_intel i2c_hid ghash_clmulni_intel crc64_rocksoft xhci_pci crc_t10dif sha512_ssse3 sha512_generic crct10dif_generic drm crct10dif_pclmul crc64 xhci_hcd sha256_ssse3 sha1_ssse3 i2c_i801 intel_lpss_pci intel_lpss usbcore crct10dif_common i2c_smbus idma64 usb_common hid aesni_intel crypto_simd cryptd
[ 8789.754603] CPU: 1 PID: 1418 Comm: Xorg Not tainted 6.9.0-rc6-00134-g53f3b41095e2 #133
[ 8789.754618] Hardware name: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022
[ 8789.754626] RIP: 0010:intel_dp_output_format.isra.0+0x18a/0x210 [i915]
[ 8789.755285] Code: 8b 7e 08 48 8b 5f 50 48 85 db 74 74 e8 ef ce 64 f1 48 c7 c1 e0 2b 80 c1 48 89 da 48 c7 c7 99 e4 81 c1 48 89 c6 e8 86 f9 e2 f0 <0f> 0b e9 ce fe ff ff 41 bc 02 00 00 00 83 fd 02 0f 85 3b ff ff ff
[ 8789.755299] RSP: 0018:ffff991b01f8f998 EFLAGS: 00010286
[ 8789.755311] RAX: 0000000000000000 RBX: ffff8da6c163c410 RCX: 0000000000000027
[ 8789.755320] RDX: ffff8daa2f0a1708 RSI: 0000000000000001 RDI: ffff8daa2f0a1700
[ 8789.755328] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000003
[ 8789.755335] R10: ffff991b01f8f828 R11: ffff8daa40ffffe8 R12: 0000000000000001
[ 8789.755342] R13: 0000000000000000 R14: ffff8da6c5c6c000 R15: ffff8da6c68a6188
[ 8789.755350] FS: 00007fa6b3722ac0(0000) GS:ffff8daa2f080000(0000) knlGS:0000000000000000
[ 8789.755361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8789.755370] CR2: 00007f9102ec2000 CR3: 000000015f540006 CR4: 00000000003706f0
[ 8789.755379] Call Trace:
[ 8789.755390] <TASK>
[ 8789.755398] ? __warn+0x80/0x120
[ 8789.755412] ? intel_dp_output_format.isra.0+0x18a/0x210 [i915]
[ 8789.756082] ? report_bug+0x164/0x190
[ 8789.756097] ? prb_read_valid+0x1b/0x30
[ 8789.756111] ? handle_bug+0x3c/0x80
[ 8789.756128] ? exc_invalid_op+0x17/0x70
[ 8789.756143] ? asm_exc_invalid_op+0x1a/0x20
[ 8789.756161] ? intel_dp_output_format.isra.0+0x18a/0x210 [i915]
[ 8789.756819] ? intel_dp_output_format.isra.0+0x18a/0x210 [i915]
[ 8789.757469] intel_dp_mode_valid+0x16f/0x580 [i915]
[ 8789.758152] drm_connector_mode_valid+0x37/0x60 [drm_kms_helper]
[ 8789.758263] __drm_helper_update_and_validate+0xfe/0x3c0 [drm_kms_helper]
[ 8789.758369] drm_helper_probe_single_connector_modes+0x242/0x530 [drm_kms_helper]
[ 8789.758479] drm_mode_getconnector+0x391/0x4a0 [drm]
[ 8789.758706] ? tomoyo_init_request_info+0x99/0xc0
[ 8789.758730] ? __pfx_drm_mode_getconnector+0x10/0x10 [drm]
[ 8789.758944] drm_ioctl_kernel+0xb2/0x110 [drm]
[ 8789.759189] drm_ioctl+0x274/0x4e0 [drm]
[ 8789.759435] ? __pfx_drm_mode_getconnector+0x10/0x10 [drm]
[ 8789.759658] __x64_sys_ioctl+0x94/0xd0
[ 8789.759675] do_syscall_64+0x83/0x190
[ 8789.759690] ? __pfx_drm_mode_destroyblob_ioctl+0x10/0x10 [drm]
[ 8789.759916] ? syscall_exit_to_user_mode+0x7e/0x210
[ 8789.759934] ? do_syscall_64+0x8f/0x190
[ 8789.759948] ? do_syscall_64+0x8f/0x190
[ 8789.759960] ? do_syscall_64+0x8f/0x190
[ 8789.759971] ? syscall_exit_to_user_mode+0x7e/0x210
[ 8789.759986] ? do_syscall_64+0x8f/0x190
[ 8789.759999] ? switch_fpu_return+0x4f/0xd0
[ 8789.760016] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 8789.760035] RIP: 0033:0x7fa6b3baf5cb
[ 8789.760046] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 8789.760056] RSP: 002b:00007ffe4b6d1fa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 8789.760071] RAX: ffffffffffffffda RBX: 000055b12625b518 RCX: 00007fa6b3baf5cb
[ 8789.760080] RDX: 00007ffe4b6d2040 RSI: 00000000c05064a7 RDI: 000000000000000e
[ 8789.760088] RBP: 00007ffe4b6d2040 R08: 0000000000000007 R09: 000055b12889ee70
[ 8789.760095] R10: 29f91c781c77d987 R11: 0000000000000246 R12: 00000000c05064a7
[ 8789.760102] R13: 000000000000000e R14: 00000000c05064a7 R15: 00007ffe4b6d2040
[ 8789.760121] </TASK>
[ 8789.760126] ---[ end trace 0000000000000000 ]---
$ LANG= journalctl -k | grep -A1 "cut here" # 144 times
May 03 17:47:38 abreu kernel: ------------[ cut here ]------------
May 03 17:47:38 abreu kernel: i915 0000:00:02.0: drm_WARN_ON(!source_can_output(intel_dp, output_format))
--
[…]
--
May 03 21:36:28 abreu kernel: ------------[ cut here ]------------
May 03 21:36:28 abreu kernel: i915 0000:00:02.0: drm_WARN_ON(!source_can_output(intel_dp, output_format))
Edited by Paul Menzel