<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Kernel DC oops on dce81_create_resource_pool with kernel 4.15"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105619">105619</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Kernel DC oops on dce81_create_resource_pool with kernel 4.15
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/AMDgpu
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>freedesktop@kp-tech.hu
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=138216" name="attach_138216" title="kernel 4.15 oops">attachment 138216</a> <a href="attachment.cgi?id=138216&action=edit" title="kernel 4.15 oops">[details]</a></span>
kernel 4.15 oops
Hi,
I tried to experiment with HSA on recent upstream kernels [1][2], but instead
it seems I ran into are some DC wiring(?) problems with Kaveri:
Mar 18 15:05:48 z kernel: [ 2.015153] [drm:resource_construct [amdgpu]]
*ERROR* DC: unexpected audio fuse!
Mar 18 15:05:48 z kernel: [ 2.015232] WARNING: CPU: 2 PID: 173 at
/home/kernel/COD/linux/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:190
resource_construct+0x2aa/0x310 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015236] Modules linked in: amdkfd amd_iommu_v2
amdgpu(+) chash radeon crct10dif_pclmul crc32_pclmul ghash_clmulni_intel
i2c_algo_bit ttm pcbc drm_kms_helper syscopyarea sysfillrect sysimgblt
aesni_intel fb_sys_fops aes_x86_64 crypto_simd r8169 ahci glue_helper cryptd
libahci drm mii wmi video
Mar 18 15:05:48 z kernel: [ 2.015256] CPU: 2 PID: 173 Comm: systemd-udevd
Not tainted 4.15.10-041510-generic #201803152130
Mar 18 15:05:48 z kernel: [ 2.015259] Hardware name: System manufacturer
System Product Name/A88XM-A, BIOS 3001 03/09/2016
Mar 18 15:05:48 z kernel: [ 2.015303] RIP:
0010:resource_construct+0x2aa/0x310 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015305] RSP: 0018:ffffa95d41eef718 EFLAGS:
00010282
Mar 18 15:05:48 z kernel: [ 2.015307] RAX: 0000000000000000 RBX:
ffff9098c1b2d300 RCX: ffffffffb2062808
Mar 18 15:05:48 z kernel: [ 2.015310] RDX: 0000000000000000 RSI:
0000000000000096 RDI: 0000000000000246
Mar 18 15:05:48 z kernel: [ 2.015312] RBP: ffffa95d41eef778 R08:
0000000000000000 R09: 000000000000032a
Mar 18 15:05:48 z kernel: [ 2.015314] R10: ffff9098defd5ef8 R11:
0720072007200720 R12: 0000000000000007
Mar 18 15:05:48 z kernel: [ 2.015317] R13: ffffffffc06be800 R14:
ffff9098c27eac20 R15: ffff9098c27eac00
Mar 18 15:05:48 z kernel: [ 2.015319] FS: 00007ff020a1b8c0(0000)
GS:ffff9098ded00000(0000) knlGS:0000000000000000
Mar 18 15:05:48 z kernel: [ 2.015322] CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Mar 18 15:05:48 z kernel: [ 2.015324] CR2: 00007ff020a01cc8 CR3:
0000000401d10000 CR4: 00000000000406e0
Mar 18 15:05:48 z kernel: [ 2.015327] Call Trace:
Mar 18 15:05:48 z kernel: [ 2.015372]
dce81_create_resource_pool+0x419/0x4b0 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015416] dc_create_resource_pool+0xd9/0x180
[amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015421] ? _cond_resched+0x19/0x40
Mar 18 15:05:48 z kernel: [ 2.015424] ? __kmalloc+0x1e7/0x220
Mar 18 15:05:48 z kernel: [ 2.015468] ? dal_gpio_service_create+0xa1/0x120
[amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015511] dc_create+0x244/0x6c0 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015556] dm_hw_init+0xf2/0x2a0 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015588] amdgpu_device_init+0xd23/0x1620
[amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015592] ? kmalloc_order+0x18/0x40
Mar 18 15:05:48 z kernel: [ 2.015595] ? kmalloc_order_trace+0x24/0xb0
Mar 18 15:05:48 z kernel: [ 2.015627] amdgpu_driver_load_kms+0x8b/0x2e0
[amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015648] drm_dev_register+0x149/0x1d0 [drm]
Mar 18 15:05:48 z kernel: [ 2.015681] amdgpu_pci_probe+0x113/0x150 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015712] local_pci_probe+0x47/0xa0
Mar 18 15:05:48 z kernel: [ 2.015715] pci_device_probe+0x145/0x1b0
Mar 18 15:05:48 z kernel: [ 2.015720] driver_probe_device+0x31e/0x490
Mar 18 15:05:48 z kernel: [ 2.015723] __driver_attach+0xa7/0xf0
Mar 18 15:05:48 z kernel: [ 2.015727] ? driver_probe_device+0x490/0x490
Mar 18 15:05:48 z kernel: [ 2.015730] bus_for_each_dev+0x70/0xc0
Mar 18 15:05:48 z kernel: [ 2.015733] driver_attach+0x1e/0x20
Mar 18 15:05:48 z kernel: [ 2.015736] bus_add_driver+0x1c7/0x270
Mar 18 15:05:48 z kernel: [ 2.015739] ? 0xffffffffc0752000
Mar 18 15:05:48 z kernel: [ 2.015742] driver_register+0x60/0xe0
Mar 18 15:05:48 z kernel: [ 2.015745] ? 0xffffffffc0752000
Mar 18 15:05:48 z kernel: [ 2.015749] __pci_register_driver+0x5a/0x60
Mar 18 15:05:48 z kernel: [ 2.015790] amdgpu_init+0x96/0xa9 [amdgpu]
Mar 18 15:05:48 z kernel: [ 2.015795] do_one_initcall+0x52/0x191
Mar 18 15:05:48 z kernel: [ 2.015798] ? __vunmap+0x81/0xb0
Mar 18 15:05:48 z kernel: [ 2.015801] ? _cond_resched+0x19/0x40
Mar 18 15:05:48 z kernel: [ 2.015803] ? kmem_cache_alloc_trace+0xa6/0x1b0
Mar 18 15:05:48 z kernel: [ 2.015807] ? do_init_module+0x27/0x209
Mar 18 15:05:48 z kernel: [ 2.015811] do_init_module+0x5f/0x209
Mar 18 15:05:48 z kernel: [ 2.015814] load_module+0x18ea/0x1ee0
Mar 18 15:05:48 z kernel: [ 2.015819] ? ima_post_read_file+0x96/0xa0
Mar 18 15:05:48 z kernel: [ 2.015823] SYSC_finit_module+0xfc/0x120
Mar 18 15:05:48 z kernel: [ 2.015826] ? SYSC_finit_module+0xfc/0x120
Mar 18 15:05:48 z kernel: [ 2.015830] SyS_finit_module+0xe/0x10
Mar 18 15:05:48 z kernel: [ 2.015833] do_syscall_64+0x73/0x130
Mar 18 15:05:48 z kernel: [ 2.015838]
entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Mar 18 15:05:48 z kernel: [ 2.015840] RIP: 0033:0x7ff01f8714d9
Mar 18 15:05:48 z kernel: [ 2.015842] RSP: 002b:00007fff8fd68a68 EFLAGS:
00000246 ORIG_RAX: 0000000000000139
Mar 18 15:05:48 z kernel: [ 2.015846] RAX: ffffffffffffffda RBX:
0000557008501e50 RCX: 00007ff01f8714d9
Mar 18 15:05:48 z kernel: [ 2.015849] RDX: 0000000000000000 RSI:
0000557008502190 RDI: 0000000000000015
Mar 18 15:05:48 z kernel: [ 2.015851] RBP: 0000557008502190 R08:
0000000000000000 R09: 000000000000001a
Mar 18 15:05:48 z kernel: [ 2.015854] R10: 0000000000000015 R11:
0000000000000246 R12: 0000000000000000
Mar 18 15:05:48 z kernel: [ 2.015857] R13: 000055700850f150 R14:
0000000000020000 R15: 0000000000000000
Mar 18 15:05:48 z kernel: [ 2.015860] Code: 3d e4 1a f1 48 8b 4d a0 48 89 81
68 5f 00 00 b8 01 00 00 00 eb b7 48 c7 c2 69 8d 6e c0 31 f6 48 c7 c7 85 8d 6e
c0 e8 36 45 b7 ff <0f> 0b 45 85 e4 44 89 65 b0 0f 95 c0 e9 18 fe ff ff 45 85 e4
44
Mar 18 15:05:48 z kernel: [ 2.015891] ---[ end trace ab3652e9b02f9b75 ]---
The primary display seems to work, etc, but the secondary display does seems
connected anymore. I did not experienced the same problem on ubuntu 4.13 kernel
when dc enabled (using the same boot options). I may saw some DC output wiring
bugs (try to connect to wrong components) and patches somewhere related to
kaveri, but I did not found again. Any suggestions how to fix it? THe kernel
logs are attached.
Hardware: ASUS A88XM-A + A10-7850K
Software: Ubuntu 16.04
4.15 kernel comes from (using ukuu):
<a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/">http://kernel.ubuntu.com/~kernel-ppa/mainline/</a>
4.13 kernel comes from ubuntu package.
[1] <a href="https://lists.freedesktop.org/archives/amd-gfx/2017-September/013611.html">https://lists.freedesktop.org/archives/amd-gfx/2017-September/013611.html</a>
[2] <a href="https://patchwork.freedesktop.org/patch/196060/">https://patchwork.freedesktop.org/patch/196060/</a>
Thanks for your help</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>