[Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 16 on bug 99387 from
Created attachment 129516 [details]
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux