From: bugzilla-daemon@freedesktop.org Subject: [Bug 101946] Rebinding AMDGPU causes initialization errors [R9 290 / 4.10 kernel] Date: Fri, 28 Jul 2017 15:37:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0855871948==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id A34E96F416 for ; Fri, 28 Jul 2017 15:37:01 +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 --===============0855871948== Content-Type: multipart/alternative; boundary="15012562210.e657.23400"; charset="UTF-8" --15012562210.e657.23400 Date: Fri, 28 Jul 2017 15:37:01 +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=3D101946 --- Comment #10 from Robin --- Created attachment 133101 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133101&action=3Dedit 4.13rc2 ubuntu kern.log Inspecting the output more closely there's a subtle difference in the error produced. While the 4.10 kernel produces: > [ 160.013733] [drm:ci_dpm_enable [amdgpu]] *ERROR* ci_start_dpm failed > [ 160.014134] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP bl= ock failed -22 The 4.13rc2, drm-next-4.14-wip and drm-next-4.14-wip with patch 3 produce: > [ 134.226312] [drm:cik_sdma_ring_test_ring [amdgpu]] *ERROR* amdgpu: rin= g 9 test failed (0xCAFEDEAD) > [ 134.226822] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP bl= ock failed -22 And something I noticed for the third bind error cases, the 2nd and 3rd time have much longer ring 1 tests than the first bind. > [ 69.938959] [drm] ring test on 1 succeeded in 2 usecs > ... > [ 102.040253] [drm] ring test on 1 succeeded in 677 usecs > ... > [ 134.121468] [drm] ring test on 1 succeeded in 677 usecs --=20 You are receiving this mail because: You are the assignee for the bug.= --15012562210.e657.23400 Date: Fri, 28 Jul 2017 15:37:01 +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

Comme= nt # 10 on bug 10194= 6 from Robin
Created attachment 13310=
1 [details]
4.13rc2 ubuntu kern.log

Inspecting the output more closely there's a subtle difference in the error
produced.

While the 4.10 kernel produces:

> [  160.013733] [drm:ci_dpm_enable [amdgpu]] *ERR=
OR* ci_start_dpm failed
> [  160.014134] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP=
 block <amdgpu_powerplay> failed -22

The 4.13rc2, drm-next-4.14-wip and drm-next-4.14-wip with patch 3 produce:

> [  134.226312] [drm:cik_sdma_ring_test_ring [amd=
gpu]] *ERROR* amdgpu: ring 9 test failed (0xCAFEDEAD)
> [  134.226822] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP=
 block <cik_sdma> failed -22


And something I noticed for the third bind error cases, the 2nd and 3rd time
have much longer ring 1 tests than the first bind.

> [   69.938959] [drm] ring test on 1 succeeded in=
 2 usecs
> ...
> [  102.040253] [drm] ring test on 1 succeeded in 677 usecs
> ...
> [  134.121468] [drm] ring test on 1 succeeded in 677 usecs
        


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