5.4.x: WARNING: CPU: 1 PID: 562 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1464

From: Udo van den Heuvel
Date: Sun Jan 05 2020 - 00:26:46 EST


Hello,

The WARNING below has been present in the kernel for quiet a while.
This WARNING happens every time a kernel is booted.
What is causing the delay to fix this?



[ 2.567111] WARNING: CPU: 1 PID: 562 at
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1464
dcn_bw_update_from_pplib+0xa5/0x2e0 [amdgpu]
[ 2.567115] Modules linked in: hid_generic sr_mod cdrom usbhid
aesni_intel amdgpu(+) gpu_sched ttm i2c_dev autofs4
[ 2.567123] CPU: 1 PID: 562 Comm: systemd-udevd Not tainted 5.4.7 #9
[ 2.567126] Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS
PRO/X570 AORUS PRO, BIOS F11 12/06/2019
[ 2.567204] RIP: 0010:dcn_bw_update_from_pplib+0xa5/0x2e0 [amdgpu]
[ 2.567208] Code: 0c 24 85 c9 74 24 8d 71 ff 48 8d 44 24 04 48 8d 54
f4 0c eb 0d 48 83 c0 08 48 39 d0 0f 84 2a 01 00 00 44 8b 00 45 85 c0 75
eb <0f> 0b e8 04 c0 b2 e6 4c 89 e2 be 04 00 00 00 4c 89 ef e8 94 59 fe
[ 2.567213] RSP: 0018:ffff9df7804b36c0 EFLAGS: 00010246
[ 2.567216] RAX: ffff9df7804b36c4 RBX: ffff8ba4c7c70000 RCX:
0000000000000004
[ 2.567218] RDX: ffff9df7804b36e4 RSI: 0000000000000003 RDI:
ffffffffa7deab49
[ 2.567221] RBP: ffff9df7804b3800 R08: 0000000000000000 R09:
00000000000003b8
[ 2.567223] R10: 0720072007200720 R11: 0720072007200720 R12:
ffff9df7804b3750
[ 2.567226] R13: ffff8ba4c71b1b80 R14: 0000000000000001 R15:
000000000000000a
[ 2.567229] FS: 00007fa073a28940(0000) GS:ffff8ba4df040000(0000)
knlGS:0000000000000000
[ 2.567232] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.567234] CR2: 000055db7a7fae98 CR3: 00000004099a6000 CR4:
00000000003406e0
[ 2.567236] Call Trace:
[ 2.567299] ? amdgpu_atom_execute_table_locked+0x12c/0x210 [amdgpu]
[ 2.567376] dcn10_create_resource_pool+0x82d/0xb30 [amdgpu]
[ 2.567382] ? __kmalloc+0xeb/0xf0
[ 2.567454] dc_create_resource_pool+0xbe/0x130 [amdgpu]
[ 2.567527] dc_create+0x213/0x6b0 [amdgpu]
[ 2.567602] amdgpu_dm_init+0x138/0x1c0 [amdgpu]
[ 2.567674] ? phm_wait_for_register_unequal.part.0+0x4a/0x80 [amdgpu]
[ 2.567748] dm_hw_init+0x9/0x20 [amdgpu]
[ 2.567820] amdgpu_device_init.cold+0x119b/0x1344 [amdgpu]
[ 2.567880] amdgpu_driver_load_kms+0x41/0xc0 [amdgpu]
[ 2.567886] drm_dev_register+0x10c/0x150
[ 2.567945] amdgpu_pci_probe+0xcd/0x130 [amdgpu]
[ 2.567950] ? pci_match_device+0xd2/0x100
[ 2.567953] pci_device_probe+0xc9/0x140
[ 2.567957] really_probe+0x142/0x3b0
[ 2.567960] device_driver_attach+0x4e/0x60
[ 2.567963] __driver_attach+0x85/0x140
[ 2.567966] ? device_driver_attach+0x60/0x60
[ 2.567969] bus_for_each_dev+0x73/0xb0
[ 2.567971] bus_add_driver+0x13f/0x1e0
[ 2.567974] driver_register+0x67/0xb0
[ 2.567976] ? 0xffffffffc07a6000
[ 2.567979] do_one_initcall+0x47/0x16f
[ 2.567982] ? ___cache_free+0x2c/0x1f0
[ 2.567986] do_init_module+0x51/0x200
[ 2.567989] load_module+0x24b6/0x26e0
[ 2.567993] ? vfs_read+0xee/0x120
[ 2.567996] ? __do_sys_finit_module+0xaa/0x110
[ 2.567999] __do_sys_finit_module+0xaa/0x110
[ 2.568002] do_syscall_64+0x63/0x410
[ 2.568005] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2.568008] RIP: 0033:0x7fa0749ce1ad
[ 2.568012] Code: 00 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 ab 5c 0c 00 f7 d8 64 89 01 48
[ 2.568016] RSP: 002b:00007ffccbd4f658 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[ 2.568020] RAX: ffffffffffffffda RBX: 000055db7a8092f0 RCX:
00007fa0749ce1ad
[ 2.568022] RDX: 0000000000000000 RSI: 000055db7a812fa0 RDI:
000000000000000f
[ 2.568025] RBP: 0000000000020000 R08: 0000000000000000 R09:
0000000000000007
[ 2.568027] R10: 000000000000000f R11: 0000000000000246 R12:
000055db7a812fa0
[ 2.568029] R13: 0000000000000000 R14: 000055db7a7fb160 R15:
000055db7a8092f0
[ 2.568033] ---[ end trace 6f223c45fc8e7e98 ]---



Kind regards,
Udo