Bug 206247 - 5.4.x: WARNING: CPU: 1 PID: 561 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1464 dcn_bw_update_from_pplib+0xa5/0x2e0 [amdgpu]
Summary: 5.4.x: WARNING: CPU: 1 PID: 561 at drivers/gpu/drm/amd/amdgpu/../display/dc/c...
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-18 12:24 UTC by udo
Modified: 2020-05-17 12:55 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.4.x
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description udo 2020-01-18 12:24:18 UTC
[   35.250541] ------------[ cut here ]------------
[   35.278240] WARNING: CPU: 1 PID: 561 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1464 dcn_bw_update_from_pplib+0xa5/0x2e0 [amdgpu]
[   35.357964] Modules linked in: amdgpu(+) gpu_sched hid_generic aesni_intel ttm sr_mod cdrom usbhid i2c_dev autofs4
[   35.419996] CPU: 1 PID: 561 Comm: systemd-udevd Not tainted 5.4.13 #13
[   35.459106] Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS PRO/X570 AORUS PRO, BIOS F11 12/06/2019
[   35.517545] RIP: 0010:dcn_bw_update_from_pplib+0xa5/0x2e0 [amdgpu]
[   35.554572] 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 84 9e 93 e7 4c 89 e2 be 04 00 00 00 4c 89 ef e8 54 59 fe
[   35.667119] RSP: 0018:ffffa45ac04fb6c0 EFLAGS: 00010246
[   35.698421] RAX: ffffa45ac04fb6c4 RBX: ffff9f808a330000 RCX: 0000000000000004
[   35.741178] RDX: ffffa45ac04fb6e4 RSI: 0000000000000003 RDI: ffffffffa8deae51
[   35.783937] RBP: ffffa45ac04fb800 R08: 0000000000000000 R09: 00000000000003c5
[   35.826696] R10: 0000000000000002 R11: 00000000000000f0 R12: ffffa45ac04fb750
[   35.869455] R13: ffff9f80865a8400 R14: 0000000000000001 R15: 000000000000000a
[   35.912212] FS:  00007f1f6579a940(0000) GS:ffff9f809ee40000(0000) knlGS:0000000000000000
[   35.960700] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   35.995125] CR2: 000055fb7c7b9e98 CR3: 0000000409b72000 CR4: 00000000003406e0
[   36.037884] Call Trace:
[   36.052577]  dcn10_create_resource_pool+0x82d/0xb30 [amdgpu]
[   36.086480]  ? __kmalloc+0xeb/0xf0
[   36.106891]  dc_create_resource_pool+0xbe/0x130 [amdgpu]
[   36.138767]  dc_create+0x213/0x6b0 [amdgpu]
[   36.163871]  amdgpu_dm_init+0x138/0x1c0 [amdgpu]
[   36.191574]  ? phm_wait_for_register_unequal.part.0+0x4a/0x80 [amdgpu]
[   36.230741]  dm_hw_init+0x9/0x20 [amdgpu]
[   36.254801]  amdgpu_device_init.cold+0x119b/0x1344 [amdgpu]
[   36.288230]  amdgpu_driver_load_kms+0x41/0xc0 [amdgpu]
[   36.319020]  drm_dev_register+0x10c/0x150
[   36.343071]  amdgpu_pci_probe+0xcd/0x130 [amdgpu]
[   36.371257]  ? pci_match_device+0xd2/0x100
[   36.395787]  pci_device_probe+0xc9/0x140
[   36.419277]  really_probe+0x142/0x3b0
[   36.441204]  device_driver_attach+0x4e/0x60
[   36.466254]  __driver_attach+0x85/0x140
[   36.489221]  ? device_driver_attach+0x60/0x60
[   36.515314]  bus_for_each_dev+0x73/0xb0
[   36.538283]  bus_add_driver+0x13f/0x1e0
[   36.561249]  driver_register+0x67/0xb0
[   36.583694]  ? 0xffffffffc0389000
[   36.603540]  do_one_initcall+0x47/0x16f
[   36.626507]  ? ___cache_free+0x2c/0x1f0
[   36.649475]  do_init_module+0x51/0x200
[   36.671921]  load_module+0x24b6/0x26e0
[   36.694370]  ? vfs_read+0xee/0x120
[   36.714733]  ? __do_sys_finit_module+0xaa/0x110
[   36.741866]  __do_sys_finit_module+0xaa/0x110
[   36.767960]  do_syscall_64+0x63/0x410
[   36.789886]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   36.820144] RIP: 0033:0x7f1f667401ad
[   36.841551] 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
[   36.954097] RSP: 002b:00007fffc9e46388 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   36.999461] RAX: ffffffffffffffda RBX: 000055fb7c7ef480 RCX: 00007f1f667401ad
[   37.042217] RDX: 0000000000000000 RSI: 000055fb7c7e2aa0 RDI: 000000000000000f
[   37.084976] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000007
[   37.127736] R10: 000000000000000f R11: 0000000000000246 R12: 000055fb7c7e2aa0
[   37.170493] R13: 0000000000000000 R14: 000055fb7c7e7c40 R15: 000055fb7c7ef480
[   37.213251] ---[ end trace fdc62e5509be6ed6 ]---

This bootuip message has been shown for quite a while
Comment 1 udo 2020-01-18 12:51:14 UTC
Some context:

[   33.608142] Console: switching to colour dummy device 80x25
[   33.641766] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15D8 0x1002:0x15D8 0xC8).
[   33.691838] [drm] register mmio base: 0xFCD00000
[   33.691842] [drm] register mmio size: 524288
[   33.691868] [drm] add ip block number 0 <soc15_common>
[   33.775887] [drm] add ip block number 1 <gmc_v9_0>
[   33.775887] [drm] add ip block number 2 <vega10_ih>
[   33.775888] [drm] add ip block number 3 <psp>
[   33.775888] [drm] add ip block number 4 <gfx_v9_0>
[   33.775889] [drm] add ip block number 5 <sdma_v4_0>
[   33.775889] [drm] add ip block number 6 <powerplay>
[   33.775890] [drm] add ip block number 7 <dm>
[   33.775890] [drm] add ip block number 8 <vcn_v1_0>
[   33.815135] [drm] BIOS signature incorrect 5b 7
[   34.028500] ATOM BIOS: 113-PICASSO-115
[   34.028523] [drm] VCN decode is enabled in VM mode
[   34.028524] [drm] VCN encode is enabled in VM mode
[   34.028524] [drm] VCN jpeg decode is enabled in VM mode
[   34.028557] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[   34.028564] amdgpu 0000:0a:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[   34.028565] amdgpu 0000:0a:00.0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[   34.028566] amdgpu 0000:0a:00.0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[   34.028569] [drm] Detected VRAM RAM=2048M, BAR=2048M
[   34.028569] [drm] RAM width 128bits DDR4
[   34.028915] [TTM] Zone  kernel: Available graphics memory: 7190102 KiB
[   34.291895] md: md127: resync done.
[   34.339191] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[   34.491530] [TTM] Initializing pool allocator
[   34.491538] [TTM] Initializing DMA pool allocator
[   34.491594] [drm] amdgpu: 2048M of VRAM memory ready
[   34.575594] [drm] amdgpu: 8192M of GTT memory ready.
[   34.575608] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   34.643124] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[   34.686767] [drm] use_doorbell being set to: [true]
[   34.716100] amdgpu: [powerplay] hwmgr_sw_init smu backed is smu10_smu
[   34.754769] [drm] Found VCN firmware Version: 1.73 Family ID: 18
[   34.790801] [drm] PSP loading VCN firmware
[   34.836051] [drm] reserve 0x400000 from 0xf47f800000 for PSP TMR
[   35.108064] [drm] DM_PPLIB: values for F clock
[   35.134706] [drm] DM_PPLIB:   0 in kHz, 3099 in mV
[   35.162883] [drm] DM_PPLIB:   0 in kHz, 3099 in mV
[   35.191055] [drm] DM_PPLIB:   0 in kHz, 3099 in mV
[   35.219246] [drm] DM_PPLIB:   1600000 in kHz, 4399 in mV
[   35.250541] ------------[ cut here ]------------
[   35.278240] WARNING: CPU: 1 PID: 561 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1464 dcn_bw_update_from_pplib+0xa5/0x2e0 [amdgpu]
Comment 2 udo 2020-01-18 12:51:56 UTC
And:

[   37.213251] ---[ end trace fdc62e5509be6ed6 ]---
[   37.241010] [drm] DM_PPLIB: values for DCF clock
[   37.268901] [drm] DM_PPLIB:   300000 in kHz, 3099 in mV
[   37.299672] [drm] DM_PPLIB:   600000 in kHz, 3574 in mV
[   37.330452] [drm] DM_PPLIB:   626000 in kHz, 4250 in mV
[   37.361230] [drm] DM_PPLIB:   654000 in kHz, 4399 in mV
[   37.422755] [drm] Display Core initialized with v3.2.48!
[   37.479630] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   37.519238] [drm] Driver supports precise vblank timestamp query.
[   37.559261] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[   37.606817] [drm] fb mappable at 0x60BC1000
[   37.631893] [drm] vram apper at 0x60000000
[   37.656429] [drm] size 33177600
[   37.675225] [drm] fb depth is 24
[   37.694545] [drm]    pitch is 15360
[   37.715700] fbcon: amdgpudrmfb (fb0) is primary device
[   37.760951] Console: switching to colour frame buffer device 480x135
[   37.855543] amdgpu 0000:0a:00.0: fb0: amdgpudrmfb frame buffer device
[   37.913255] amdgpu 0000:0a:00.0: ring gfx uses VM inv eng 0 on hub 0
[   37.913259] amdgpu 0000:0a:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   37.913262] amdgpu 0000:0a:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   37.913264] amdgpu 0000:0a:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[   37.913266] amdgpu 0000:0a:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[   37.913268] amdgpu 0000:0a:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[   37.913271] amdgpu 0000:0a:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[   37.913273] amdgpu 0000:0a:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[   37.913275] amdgpu 0000:0a:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[   37.913277] amdgpu 0000:0a:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[   37.913279] amdgpu 0000:0a:00.0: ring sdma0 uses VM inv eng 0 on hub 1
[   37.913281] amdgpu 0000:0a:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
[   37.913283] amdgpu 0000:0a:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
[   37.913285] amdgpu 0000:0a:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
[   37.913288] amdgpu 0000:0a:00.0: ring vcn_jpeg uses VM inv eng 6 on hub 1
[   38.541203] [drm] Initialized amdgpu 3.35.0 20150101 for 0000:0a:00.0 on minor 0

Note You need to log in before you can comment on or make changes to this bug.