[Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Feb 11 17:28:25 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99387
--- Comment #16 from Marco <mpiazza at gmail.com> ---
Created attachment 129516
--> https://bugs.freedesktop.org/attachment.cgi?id=129516&action=edit
oops with the two patche applied
Patch does not cleanly apply on 4.9.9
but it's easy to port.
But the result is the same.
Find to attached oops with patch applied.
Debugging the faulting instruction (amdgpu_pm_compute_clocks+0x424/0x640
[amdgpu])
lead to:
Reading symbols from drivers/gpu/drm/amd/amdgpu/amdgpu_pm.o...done.
(gdb) list *(amdgpu_pm_compute_clocks+0x424/0x640)
0x1a50 is in amdgpu_pm_compute_clocks
(drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:1280).
1275 {
1276 struct drm_device *ddev = adev->ddev;
1277 struct drm_crtc *crtc;
1278 struct amdgpu_crtc *amdgpu_crtc;
1279
1280 if (!adev->pm.dpm_enabled)
1281 return;
1282
1283 if (adev->pp_enabled) {
1284 int i = 0;
(gdb)
1285
1286 if (adev->mode_info.num_crtc)
1287 amdgpu_display_bandwidth_update(adev);
1288
1289 for (i = 0; i < AMDGPU_MAX_RINGS; i++) {
1290 struct amdgpu_ring *ring = adev->rings[i];
1291 if (ring && ring->ready)
1292 amdgpu_fence_wait_empty(ring);
1293 }
1294
Fualty line seems to be:
1280 if (!adev->pm.dpm_enabled)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170211/41d79efd/attachment.html>
More information about the dri-devel
mailing list