Kernel issues with Radeon Pro WX4100 and DP->HDMI dongles

Maxim Levitsky mlevitsk at redhat.com
Thu Jun 25 07:14:06 UTC 2020


Hi,

I recently tried to connect my TV and WX4100 via two different DP->HDMI dongles.
One of them makes my main monitor to go dark, and system to lockup (I haven't yet debugged this futher), and the other one seems to work,
most of the time, but sometimes causes a kernel panic on 5.8.0-rc1:


[  +0.000000] ---[ end trace 0ce8685fac3db6b5 ]---
[  +2.142125] [drm:dc_link_detect_helper [amdgpu]] *ERROR* No EDID read.
[  +0.065348] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.001002] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.006310] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.102119] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.000679] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[ +22.037707] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[ +16.202833] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.000685] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.053875] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.000351] [drm] amdgpu_dm_irq_schedule_work FAILED src 8
[  +0.031764] ------------[ cut here ]------------
[  +0.000001] WARNING: CPU: 58 PID: 504 at drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.c:66 dal_gpio_open_ex+0x1b/0x40 [amdgpu]
[  +0.000001] Modules linked in: vfio_pci vfio_virqfd vfio_iommu_type1 vfio xfs rfcomm xt_MASQUERADE xt_conntrack ipt_REJECT iptable_mangle iptable_nat nf_nat ebtable_filter ebtables ip6table_filter
ip6_tables tun bridge pmbus cmac pmbus_core ee1004 jc42 bnep sunrpc vfat fat dm_mirror dm_region_hash dm_log iwlmvm wmi_bmof mac80211 kvm_amd kvm libarc4 uvcvideo iwlwifi btusb btrtl btbcm btintel
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi videobuf2_common snd_usb_audio bluetooth videodev input_leds snd_hda_intel cfg80211 snd_usbmidi_lib joydev snd_intel_dspcfg
snd_rawmidi mc snd_hda_codec xpad ff_memless snd_hwdep thunderbolt ecdh_generic snd_seq ecc snd_hda_core irqbypass rfkill i2c_nvidia_gpu efi_pstore pcspkr snd_seq_device bfq snd_pcm snd_timer zenpower
snd i2c_piix4 rtc_cmos tpm_crb tpm_tis tpm_tis_core tpm wmi button binfmt_misc dm_crypt sd_mod uas usb_storage hid_generic usbhid hid ext4 mbcache jbd2 amdgpu gpu_sched ttm drm_kms_helper syscopyarea
sysfillrect
[  +0.000018]  sysimgblt crc32_pclmul ahci crc32c_intel fb_sys_fops libahci igb ccp cec xhci_pci libata i2c_algo_bit rng_core nvme xhci_hcd drm nvme_core t10_pi nbd usbmon it87 hwmon_vid fuse i2c_dev
i2c_core ipv6 autofs4 [last unloaded: nvidia]
[  +0.000005] CPU: 58 PID: 504 Comm: kworker/58:1 Tainted: P        W  O      5.8.0-rc1.stable #118
[  +0.000001] Hardware name: Gigabyte Technology Co., Ltd. TRX40 DESIGNARE/TRX40 DESIGNARE, BIOS F4c 03/05/2020
[  +0.000000] Workqueue: events dm_irq_work_func [amdgpu]
[  +0.000001] RIP: 0010:dal_gpio_open_ex+0x1b/0x40 [amdgpu]
[  +0.000001] Code: 08 89 47 10 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 83 7f 08 00 75 0f 48 83 7f 18 00 74 15 89 77 20 e9 65 07 00 00 <0f> 0b e8 ae 5b 8a e0 b8 05 00 00 00 c3 0f 0b e8 a1
5b 8a e0 b8 06
[  +0.000000] RSP: 0018:ffffc90002e93b90 EFLAGS: 00010282
[  +0.000001] RAX: 0000000000000000 RBX: ffff889fa4736ca0 RCX: 0000000000000000
[  +0.000000] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff889fa011ff00
[  +0.000001] RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000231
[  +0.000000] R10: 000000000000017f R11: ffff889fbeea4b84 R12: ffffc90002e93c74
[  +0.000000] R13: 0000000000000000 R14: ffff889fa4736ca0 R15: ffff889fb0e2c100
[  +0.000001] FS:  0000000000000000(0000) GS:ffff889fbee80000(0000) knlGS:0000000000000000
[  +0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000001] CR2: 00001ee62a52b000 CR3: 000000174d175000 CR4: 0000000000340ea0
[  +0.000000] Call Trace:
[  +0.000000]  dal_ddc_open+0x2d/0xe0 [amdgpu]
[  +0.000001]  ? dm_read_reg_func+0x33/0xa0 [amdgpu]
[  +0.000000]  dce_aux_transfer_raw+0xb4/0xa30 [amdgpu]
[  +0.000000]  ? hrtimer_try_to_cancel+0x28/0x100
[  +0.000001]  dm_dp_aux_transfer+0x8f/0xf0 [amdgpu]
[  +0.000000]  drm_dp_dpcd_access+0x6b/0x110 [drm_kms_helper]
[  +0.000000]  drm_dp_dpcd_read+0xb6/0xf0 [drm_kms_helper]
[  +0.000001]  dm_helpers_dp_read_dpcd+0x28/0x50 [amdgpu]
[  +0.000000]  core_link_read_dpcd.part.0+0x1f/0x30 [amdgpu]
[  +0.000000]  read_hpd_rx_irq_data+0x39/0x90 [amdgpu]
[  +0.000001]  dc_link_handle_hpd_rx_irq+0x74/0x7c0 [amdgpu]
[  +0.000000]  handle_hpd_rx_irq+0x62/0x2e0 [amdgpu]
[  +0.000000]  ? __schedule+0x252/0x6a0
[  +0.000001]  ? finish_task_switch+0x18d/0x280
[  +0.000000]  dm_irq_work_func+0x43/0x50 [amdgpu]
[  +0.000000]  process_one_work+0x1d2/0x390
[  +0.000000]  worker_thread+0x225/0x3b0
[  +0.000001]  ? process_one_work+0x390/0x390
[  +0.000000]  kthread+0xf9/0x130
[  +0.000000]  ? kthread_park+0x90/0x90
[  +0.000001]  ret_from_fork+0x1f/0x30
[  +0.000000] ---[ end trace 0ce8685fac3db6b6 ]---
[  +0.002807] int3: 0000 [#1] SMP
[  +0.000001] CPU: 58 PID: 504 Comm: kworker/58:1 Tainted: P        W  O      5.8.0-rc1.stable #118
[  +0.000001] Hardware name: Gigabyte Technology Co., Ltd. TRX40 DESIGNARE/TRX40 DESIGNARE, BIOS F4c 03/05/2020
[  +0.000000] Workqueue: events dm_irq_work_func [amdgpu]
[  +0.000001] RIP: 0010:kgdb_breakpoint+0x10/0x20
[  +0.000001] Code: 4d f9 ff eb c5 cc cc cc cc cc 0f 1f 44 00 00 31 c0 c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f0 ff 05 3c be 3e 01 0f ae f8 cc <0f> ae f8 f0 ff 0d 2e be 3e 01 c3 0f 1f 44 00 00 0f
1f 44 00 00 e8
[  +0.000000] RSP: 0018:ffffc90002e93b88 EFLAGS: 00000202
[  +0.000001] RAX: 0000000000000000 RBX: ffff889fa4736ca0 RCX: 0000000000000000
[  +0.000001] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff889fa011ff00
[  +0.000000] RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000231
[  +0.000001] R10: 000000000000017f R11: ffff889fbeea4b84 R12: ffffc90002e93c74
[  +0.000000] R13: 0000000000000000 R14: ffff889fa4736ca0 R15: ffff889fb0e2c100
[  +0.000001] FS:  0000000000000000(0000) GS:ffff889fbee80000(0000) knlGS:0000000000000000
[  +0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000001] CR2: 00001ee62a52b000 CR3: 000000174d175000 CR4: 0000000000340ea0
[  +0.000000] Call Trace:
[  +0.000001]  dal_gpio_open_ex+0x22/0x40 [amdgpu]
[  +0.000000]  dal_ddc_open+0x2d/0xe0 [amdgpu]
[  +0.000000]  ? dm_read_reg_func+0x33/0xa0 [amdgpu]
[  +0.000001]  dce_aux_transfer_raw+0xb4/0xa30 [amdgpu]
[  +0.000000]  ? hrtimer_try_to_cancel+0x28/0x100
[  +0.000000]  dm_dp_aux_transfer+0x8f/0xf0 [amdgpu]
[  +0.000001]  drm_dp_dpcd_access+0x6b/0x110 [drm_kms_helper]
[  +0.000000]  drm_dp_dpcd_read+0xb6/0xf0 [drm_kms_helper]
[  +0.000000]  dm_helpers_dp_read_dpcd+0x28/0x50 [amdgpu]
[  +0.000001]  core_link_read_dpcd.part.0+0x1f/0x30 [amdgpu]
[  +0.000000]  read_hpd_rx_irq_data+0x39/0x90 [amdgpu]
[  +0.000000]  dc_link_handle_hpd_rx_irq+0x74/0x7c0 [amdgpu]
[  +0.000001]  handle_hpd_rx_irq+0x62/0x2e0 [amdgpu]
[  +0.000000]  ? __schedule+0x252/0x6a0
[  +0.000000]  ? finish_task_switch+0x18d/0x280
[  +0.000001]  dm_irq_work_func+0x43/0x50 [amdgpu]
[  +0.000000]  process_one_work+0x1d2/0x390
[  +0.000000]  worker_thread+0x225/0x3b0
[  +0.000001]  ? process_one_work+0x390/0x390
[  +0.000000]  kthread+0xf9/0x130
[  +0.000000]  ? kthread_park+0x90/0x90
[  +0.000001]  ret_from_fork+0x1f/0x30
[  +0.000000] Modules linked in: vfio_pci vfio_virqfd vfio_iommu_type1 vfio xfs rfcomm xt_MASQUERADE xt_conntrack ipt_REJECT iptable_mangle iptable_nat nf_nat ebtable_filter ebtables ip6table_filter
ip6_tables tun bridge pmbus cmac pmbus_core ee1004 jc42 bnep sunrpc vfat fat dm_mirror dm_region_hash dm_log iwlmvm wmi_bmof mac80211 kvm_amd kvm libarc4 uvcvideo iwlwifi btusb btrtl btbcm btintel
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi videobuf2_common snd_usb_audio bluetooth videodev input_leds snd_hda_intel cfg80211 snd_usbmidi_lib joydev snd_intel_dspcfg
snd_rawmidi mc snd_hda_codec xpad ff_memless snd_hwdep thunderbolt ecdh_generic snd_seq ecc snd_hda_core irqbypass rfkill i2c_nvidia_gpu efi_pstore pcspkr snd_seq_device bfq snd_pcm snd_timer zenpower
snd i2c_piix4 rtc_cmos tpm_crb tpm_tis tpm_tis_core tpm wmi button binfmt_misc dm_crypt sd_mod uas usb_storage hid_generic usbhid hid ext4 mbcache jbd2 amdgpu gpu_sched ttm drm_kms_helper syscopyarea
sysfillrect
[  +0.000018]  sysimgblt crc32_pclmul ahci crc32c_intel fb_sys_fops libahci igb ccp cec xhci_pci libata i2c_algo_bit rng_core nvme xhci_hcd drm nvme_core t10_pi nbd usbmon it87 hwmon_vid fuse i2c_dev
i2c_core ipv6 autofs4 [last unloaded: nvidia]
[  +0.021468] ---[ end trace 0ce8685fac3db6b7 ]---
[  +0.000000] RIP: 0010:kgdb_breakpoint+0x10/0x20
[  +0.000001] Code: 4d f9 ff eb c5 cc cc cc cc cc 0f 1f 44 00 00 31 c0 c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f0 ff 05 3c be 3e 01 0f ae f8 cc <0f> ae f8 f0 ff 0d 2e be 3e 01 c3 0f 1f 44 00 00 0f
1f 44 00 00 e8
[  +0.000000] RSP: 0018:ffffc90002e93b88 EFLAGS: 00000202
[  +0.000001] RAX: 0000000000000000 RBX: ffff889fa4736ca0 RCX: 0000000000000000
[  +0.000001] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff889fa011ff00
[  +0.000000] RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000231
[  +0.000001] R10: 000000000000017f R11: ffff889fbeea4b84 R12: ffffc90002e93c74
[  +0.000000] R13: 0000000000000000 R14: ffff889fa4736ca0 R15: ffff889fb0e2c100
[  +0.000001] FS:  0000000000000000(0000) GS:ffff889fbee80000(0000) knlGS:0000000000000000
[  +0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000000] CR2: 00001ee62a52b000 CR3: 000000174d175000 CR4: 0000000000340ea0
[  +0.000001] Kernel panic - not syncing: Fatal exception in interrupt
[  +0.001035] Kernel Offset: disabled


The 'amdgpu_dm_irq_schedule_work FAILED src 8' errors were from previous plugs of this adapter.

On 5.7-rc7 kernel I also tried booting, I also see the 'amdgpu_dm_irq_schedule_work FAILED' errors
but it seems for now that the crash doesn't happen, but it might have beeing luck.

On top of all this, I tried a 3rd dongle and it does appear to work flawlessly (no messages in dmesg).

Best regards,
	Maxim Levitsky



More information about the amd-gfx mailing list