[Navi] Periodic warnings about dcn20_validate_bandwidth
Periodically, my system throws warnings in dmesg about dcn20_validate_bandwidth
(mostly when monitor wakes up from sleep). They don't seem to break anything, but monitor wake up has a delay because of them.
Configuration:
- Kernel: 5.6-rc2.
- DE: KDE Plasma 5.14.5 (Debian testing).
- GPU: Sapphire Pulse RX 5700 XT (latest firmware from upstream).
- Monitor: LG 27GL850-B (2560x1440, 144 Hz, adaptive sync enabled).
- Connector: DisplayPort 1.4.
[ 2186.973518] ------------[ cut here ]------------
[ 2186.973612] WARNING: CPU: 16 PID: 1019 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:2969 dcn20_validate_bandwidth+0x87/0xe0 [amdgpu]
[ 2186.973612] Modules linked in: rfcomm(E) nf_tables(E) nfnetlink(E) bnep(E) edac_mce_amd(E) kvm_amd(E) kvm(E) irqbypass(E) btusb(E) btrtl(E) btbcm(E) btintel(E) iwlmvm(E) crct10dif_pclmul(E) bluetooth(E) mac80211(E) ghash_clmulni_intel(E) libarc4(E) drbg(E) uvcvideo(E) iwlwifi(E) ansi_cprng(E) videobuf2_vmalloc(E) nls_ascii(E) videobuf2_memops(E) snd_usb_audio(E) videobuf2_v4l2(E) videobuf2_common(E) aesni_intel(E) nls_cp437(E) snd_usbmidi_lib(E) efi_pstore(E) crypto_simd(E) ecdh_generic(E) cfg80211(E) snd_rawmidi(E) videodev(E) snd_hda_codec_realtek(E) ecc(E) snd_seq_device(E) vfat(E) cryptd(E) snd_hda_codec_generic(E) fat(E) ledtrig_audio(E) mc(E) glue_helper(E) crc16(E) snd_hda_codec_hdmi(E) wmi_bmof(E) efivars(E) rfkill(E) pcspkr(E) snd_hda_intel(E) k10temp(E) snd_intel_dspcfg(E) snd_hda_codec(E) sp5100_tco(E) snd_hda_core(E) sg(E) watchdog(E) snd_hwdep(E) snd_pcm(E) ccp(E) snd_timer(E) rng_core(E) snd(E) soundcore(E) evdev(E) acpi_cpufreq(E) nct6775(E) hwmon_vid(E) parport_pc(E)
[ 2186.973636] ppdev(E) lp(E) parport(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) xfs(E) btrfs(E) blake2b_generic(E) xor(E) zstd_decompress(E) zstd_compress(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) sd_mod(E) hid_generic(E) usbhid(E) hid(E) amdgpu(E) gpu_sched(E) ttm(E) mxm_wmi(E) drm_kms_helper(E) xhci_pci(E) cec(E) ahci(E) crc32_pclmul(E) crc32c_intel(E) libahci(E) xhci_hcd(E) i2c_piix4(E) drm(E) libata(E) mfd_core(E) igb(E) scsi_mod(E) usbcore(E) dca(E) ptp(E) pps_core(E) i2c_algo_bit(E) nvme(E) nvme_core(E) t10_pi(E) wmi(E) button(E)
[ 2186.973656] CPU: 16 PID: 1019 Comm: Xorg Tainted: G W E 5.6.0-rc2 #1
[ 2186.973657] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X570 Taichi, BIOS P2.70 11/25/2019
[ 2186.973738] RIP: 0010:dcn20_validate_bandwidth+0x87/0xe0 [amdgpu]
[ 2186.973739] Code: 2d 44 22 a5 e8 1d 00 00 75 26 f2 0f 11 85 a8 21 00 00 31 d2 48 89 ee 4c 89 ef e8 d4 f5 ff ff 41 89 c4 22 85 e8 1d 00 00 75 4a <0f> 0b eb 02 75 d1 f2 0f 10 14 24 f2 0f 11 95 a8 21 00 00 e8 81 aa
[ 2186.973740] RSP: 0018:ffff9d4b01443af0 EFLAGS: 00010246
[ 2186.973742] RAX: 0000000000000000 RBX: 0000000000000002 RCX: 000000000000babc
[ 2186.973742] RDX: 000000000000babb RSI: ffff8e23bee30080 RDI: 0000000000030080
[ 2186.973743] RBP: ffff8e22db1a0000 R08: 0000000000000006 R09: 0000000000000000
[ 2186.973744] R10: 0000000100000000 R11: 0000000100000001 R12: 0000000000000001
[ 2186.973744] R13: ffff8e23a8d30000 R14: 0000000000000000 R15: ffff8e22db1a0000
[ 2186.973746] FS: 00007f7b4c9a5f00(0000) GS:ffff8e23bee00000(0000) knlGS:0000000000000000
[ 2186.973746] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2186.973747] CR2: 00005644d90977a8 CR3: 00000007ee870000 CR4: 0000000000340ee0
[ 2186.973748] Call Trace:
[ 2186.973828] dc_validate_global_state+0x25f/0x2d0 [amdgpu]
[ 2186.973908] amdgpu_dm_atomic_check+0xe5c/0xf90 [amdgpu]
[ 2186.973927] drm_atomic_check_only+0x554/0x7e0 [drm]
[ 2186.973941] drm_atomic_commit+0x13/0x50 [drm]
[ 2186.973956] drm_atomic_connector_commit_dpms+0xd7/0x100 [drm]
[ 2186.973971] drm_mode_obj_set_property_ioctl+0x159/0x2d0 [drm]
[ 2186.973985] ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[ 2186.973997] drm_connector_property_set_ioctl+0x39/0x60 [drm]
[ 2186.974010] drm_ioctl_kernel+0xaa/0xf0 [drm]
[ 2186.974022] drm_ioctl+0x208/0x390 [drm]
[ 2186.974034] ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[ 2186.974087] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 2186.974091] ksys_ioctl+0x87/0xc0
[ 2186.974094] __x64_sys_ioctl+0x16/0x20
[ 2186.974097] do_syscall_64+0x52/0x180
[ 2186.974099] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2186.974101] RIP: 0033:0x7f7b4cef9497
[ 2186.974103] Code: 00 00 90 48 8b 05 f9 79 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c9 79 0c 00 f7 d8 64 89 01 48
[ 2186.974104] RSP: 002b:00007ffc0e92bc28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 2186.974105] RAX: ffffffffffffffda RBX: 00007ffc0e92bc60 RCX: 00007f7b4cef9497
[ 2186.974105] RDX: 00007ffc0e92bc60 RSI: 00000000c01064ab RDI: 000000000000000d
[ 2186.974106] RBP: 00000000c01064ab R08: 0000000000000000 R09: 00007f7b4c5ced10
[ 2186.974107] R10: 00007f7b4c5ced20 R11: 0000000000000246 R12: 00005644d9f2e1a0
[ 2186.974107] R13: 000000000000000d R14: 0000000000000000 R15: 00005644d90ba7c0
[ 2186.974110] ---[ end trace 088d260136082099 ]---