From: bugzilla-daemon@freedesktop.org Subject: [Bug 85204] [Radeon HD 5650] return from sleep state failed Date: Thu, 25 Dec 2014 16:16:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0929509727==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D316689B69 for ; Thu, 25 Dec 2014 08:16:25 -0800 (PST) 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 --===============0929509727== Content-Type: multipart/alternative; boundary="1419524185.5Dc1E0.18973"; charset="UTF-8" --1419524185.5Dc1E0.18973 Date: Thu, 25 Dec 2014 16:16:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D85204 --- Comment #11 from Florent Bondoux --- I have the same bug with another GPU (Mobility HD 5430, code name is CEDAR). Log after suspend/resume=C2=A0: [ 139.610475] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E00= 0). [ 139.610628] radeon 0000:01:00.0: WB enabled [ 139.610633] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8800b88d7c00 [ 139.610635] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff8800b88d7c0c [ 139.611445] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffc90005c9c418 [ 139.628149] [drm] ring test on 0 succeeded in 0 usecs [ 139.628174] [drm] ring test on 3 succeeded in 3 usecs [ 139.805679] [drm] ring test on 5 succeeded in 1 usecs [ 139.805683] [drm] UVD initialized successfully. [ 139.805727] [drm] ib test on ring 0 succeeded in 0 usecs [ 140.457604] [drm] ib test on ring 5 succeeded [ 152.692727] radeon 0000:01:00.0: ring 0 stalled for more than 10463msec [ 152.692737] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000015b8 last fence id 0x00000000000016b8 on ring 0) [ 152.692786] radeon 0000:01:00.0: failed to get a new IB (-35) [ 152.692795] [drm:radeon_cs_ib_fill] *ERROR* Failed to get ib ! [ 152.750259] radeon 0000:01:00.0: Saved 8183 dwords of commands on ring 0. [ 152.750281] radeon 0000:01:00.0: GPU softreset: 0x00000008 [ 152.750284] radeon 0000:01:00.0: GRBM_STATUS =3D 0xA0003= 828 [ 152.750287] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x00000= 007 [ 152.750290] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000= 007 [ 152.750293] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000= 0C0 [ 152.750296] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000= 000 [ 152.750299] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000= 000 [ 152.750302] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x00010= 100 [ 152.750304] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00020= 182 [ 152.750307] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x80038= 243 [ 152.750311] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83= D57 [ 152.759991] radeon 0000:01:00.0: GRBM_SOFT_RESET=3D0x00004001 [ 152.760049] radeon 0000:01:00.0: SRBM_SOFT_RESET=3D0x00000100 [ 152.761216] radeon 0000:01:00.0: GRBM_STATUS =3D 0x00003= 828 [ 152.761219] radeon 0000:01:00.0: GRBM_STATUS_SE0 =3D 0x00000= 007 [ 152.761222] radeon 0000:01:00.0: GRBM_STATUS_SE1 =3D 0x00000= 007 [ 152.761225] radeon 0000:01:00.0: SRBM_STATUS =3D 0x20000= 0C0 [ 152.761228] radeon 0000:01:00.0: SRBM_STATUS2 =3D 0x00000= 000 [ 152.761231] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 =3D 0x00000= 000 [ 152.761233] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 =3D 0x00000= 000 [ 152.761236] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT =3D 0x00000= 000 [ 152.761239] radeon 0000:01:00.0: R_008680_CP_STAT =3D 0x00000= 000 [ 152.761242] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG =3D 0x44C83= D57 [ 152.761267] radeon 0000:01:00.0: GPU reset succeeded, trying to resume [ 152.784402] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E00= 0). [ 152.784520] radeon 0000:01:00.0: WB enabled [ 152.784523] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8800b88d7c00 [ 152.784526] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff8800b88d7c0c [ 152.785283] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffc90005c9c418 [ 152.801936] [drm] ring test on 0 succeeded in 1 usecs [ 152.801945] [drm] ring test on 3 succeeded in 3 usecs [ 152.979461] [drm] ring test on 5 succeeded in 1 usecs [ 152.979468] [drm] UVD initialized successfully. [ 163.207936] radeon 0000:01:00.0: ring 0 stalled for more than 10234msec [ 163.207946] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000000015b9 last fence id 0x00000000000016b9 on ring 0) [ 163.208075] [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35). [ 163.208088] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB= on GFX ring (-35). Bisecting gave commit [a3eb06dbca08e3fdad7039021ae03b46b215f22a] drm/radeon: Remove radeon_gart_restore() commit a3eb06dbca08e3fdad7039021ae03b46b215f22a Author: Michel D=C3=A4nzer Date: Wed Jul 9 20:15:42 2014 +0200 drm/radeon: Remove radeon_gart_restore() Doesn't seem necessary, the GART table memory should be persistent. Signed-off-by: Michel D=C3=A4nzer Reviewed-by: Christian K=C3=B6nig Signed-off-by: Alex Deucher That's the same commit as in bug #86267. The attached patches didn't help either. --=20 You are receiving this mail because: You are the assignee for the bug. --1419524185.5Dc1E0.18973 Date: Thu, 25 Dec 2014 16:16:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 85204<= /a> from Florent Bondoux
I have the same bug with another GPU (Mobility HD 5430, code n=
ame is CEDAR).

Log after suspend/resume=C2=A0:

[  139.610475] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E00=
0).
[  139.610628] radeon 0000:01:00.0: WB enabled
[  139.610633] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffff8800b88d7c00
[  139.610635] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffff8800b88d7c0c
[  139.611445] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x000000000005c418 and cpu addr 0xffffc90005c9c418
[  139.628149] [drm] ring test on 0 succeeded in 0 usecs
[  139.628174] [drm] ring test on 3 succeeded in 3 usecs
[  139.805679] [drm] ring test on 5 succeeded in 1 usecs
[  139.805683] [drm] UVD initialized successfully.
[  139.805727] [drm] ib test on ring 0 succeeded in 0 usecs
[  140.457604] [drm] ib test on ring 5 succeeded
[  152.692727] radeon 0000:01:00.0: ring 0 stalled for more than 10463msec
[  152.692737] radeon 0000:01:00.0: GPU lockup (current fence id
0x00000000000015b8 last fence id 0x00000000000016b8 on ring 0)
[  152.692786] radeon 0000:01:00.0: failed to get a new IB (-35)
[  152.692795] [drm:radeon_cs_ib_fill] *ERROR* Failed to get ib !
[  152.750259] radeon 0000:01:00.0: Saved 8183 dwords of commands on ring 0.
[  152.750281] radeon 0000:01:00.0: GPU softreset: 0x00000008
[  152.750284] radeon 0000:01:00.0:   GRBM_STATUS               =3D 0xA0003=
828
[  152.750287] radeon 0000:01:00.0:   GRBM_STATUS_SE0           =3D 0x00000=
007
[  152.750290] radeon 0000:01:00.0:   GRBM_STATUS_SE1           =3D 0x00000=
007
[  152.750293] radeon 0000:01:00.0:   SRBM_STATUS               =3D 0x20000=
0C0
[  152.750296] radeon 0000:01:00.0:   SRBM_STATUS2              =3D 0x00000=
000
[  152.750299] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[  152.750302] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 =3D 0x00010=
100
[  152.750304] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     =3D 0x00020=
182
[  152.750307] radeon 0000:01:00.0:   R_008680_CP_STAT          =3D 0x80038=
243
[  152.750311] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   =3D 0x44C83=
D57
[  152.759991] radeon 0000:01:00.0: GRBM_SOFT_RESET=3D0x00004001
[  152.760049] radeon 0000:01:00.0: SRBM_SOFT_RESET=3D0x00000100
[  152.761216] radeon 0000:01:00.0:   GRBM_STATUS               =3D 0x00003=
828
[  152.761219] radeon 0000:01:00.0:   GRBM_STATUS_SE0           =3D 0x00000=
007
[  152.761222] radeon 0000:01:00.0:   GRBM_STATUS_SE1           =3D 0x00000=
007
[  152.761225] radeon 0000:01:00.0:   SRBM_STATUS               =3D 0x20000=
0C0
[  152.761228] radeon 0000:01:00.0:   SRBM_STATUS2              =3D 0x00000=
000
[  152.761231] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 =3D 0x00000=
000
[  152.761233] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 =3D 0x00000=
000
[  152.761236] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     =3D 0x00000=
000
[  152.761239] radeon 0000:01:00.0:   R_008680_CP_STAT          =3D 0x00000=
000
[  152.761242] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   =3D 0x44C83=
D57
[  152.761267] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[  152.784402] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E00=
0).
[  152.784520] radeon 0000:01:00.0: WB enabled
[  152.784523] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffff8800b88d7c00
[  152.784526] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffff8800b88d7c0c
[  152.785283] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x000000000005c418 and cpu addr 0xffffc90005c9c418
[  152.801936] [drm] ring test on 0 succeeded in 1 usecs
[  152.801945] [drm] ring test on 3 succeeded in 3 usecs
[  152.979461] [drm] ring test on 5 succeeded in 1 usecs
[  152.979468] [drm] UVD initialized successfully.
[  163.207936] radeon 0000:01:00.0: ring 0 stalled for more than 10234msec
[  163.207946] radeon 0000:01:00.0: GPU lockup (current fence id
0x00000000000015b9 last fence id 0x00000000000016b9 on ring 0)
[  163.208075] [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35).
[  163.208088] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB=
 on
GFX ring (-35).


Bisecting gave commit [a3eb06dbca08e3fdad7039021ae03b46b215f22a] drm/radeon:
Remove radeon_gart_restore()

commit a3eb06dbca08e3fdad7039021ae03b46b215f22a
Author: Michel D=C3=A4nzer <michel.daenzer@amd.com>
Date:   Wed Jul 9 20:15:42 2014 +0200

    drm/radeon: Remove radeon_gart_restore()

    Doesn't seem necessary, the GART table memory should be persistent.

    Signed-off-by: Michel D=C3=A4nzer <michel.daenzer@amd.com>
    Reviewed-by: Christian K=C3=B6nig <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

That's the same commit as in bug #86267. The attached patches di=
dn't help
either.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1419524185.5Dc1E0.18973-- --===============0929509727== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0929509727==--