From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu Date: Sat, 11 Feb 2017 17:28:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1139256781==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 479A06E2D0 for ; Sat, 11 Feb 2017 17:28:25 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1139256781== Content-Type: multipart/alternative; boundary="14868341050.CBCc063.29485"; charset="UTF-8" --14868341050.CBCc063.29485 Date: Sat, 11 Feb 2017 17:28:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99387 --- Comment #16 from Marco --- Created attachment 129516 --> https://bugs.freedesktop.org/attachment.cgi?id=3D129516&action=3Dedit 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 =3D adev->ddev; 1277 struct drm_crtc *crtc; 1278 struct amdgpu_crtc *amdgpu_crtc; 1279=20=20=20=20 1280 if (!adev->pm.dpm_enabled) 1281 return; 1282=20=20=20=20 1283 if (adev->pp_enabled) { 1284 int i =3D 0; (gdb)=20 1285=20=20=20=20 1286 if (adev->mode_info.num_crtc) 1287 amdgpu_display_bandwidth_update(adev); 1288=20=20=20=20 1289 for (i =3D 0; i < AMDGPU_MAX_RINGS; i++) { 1290 struct amdgpu_ring *ring =3D adev->rings[i]; 1291 if (ring && ring->ready) 1292 amdgpu_fence_wait_empty(ring); 1293 } 1294=20=20=20=20 Fualty line seems to be: 1280 if (!adev->pm.dpm_enabled) --=20 You are receiving this mail because: You are the assignee for the bug.= --14868341050.CBCc063.29485 Date: Sat, 11 Feb 2017 17:28:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 16 on bug 99387<= /a> from Marco
Created attachm=
ent 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 =3D adev->ddev;
1277            struct drm_crtc *crtc;
1278            struct amdgpu_crtc *amdgpu_crtc;
1279=20=20=20=20
1280            if (!adev->pm.dpm_enabled)
1281                    return;
1282=20=20=20=20
1283            if (adev->pp_enabled) {
1284                    int i =3D 0;
(gdb)=20
1285=20=20=20=20
1286                    if (adev->mode_info.num_crtc)
1287                            amdgpu_display_bandwidth_update(adev);
1288=20=20=20=20
1289                    for (i =3D 0; i < AMDGPU_MAX_RINGS; i++) {
1290                            struct amdgpu_ring *ring =3D adev->rings=
[i];
1291                            if (ring && ring->ready)
1292                                    amdgpu_fence_wait_empty(ring);
1293                    }
1294=20=20=20=20

Fualty line seems to be:
1280            if (!adev->pm.dpm_enabled)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14868341050.CBCc063.29485-- --===============1139256781== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1139256781==--