From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107545] radeon - ring 0 stalled - GPU lockup - SI Date: Fri, 24 Aug 2018 23:34:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2044893967==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 43E106E788 for ; Fri, 24 Aug 2018 23:34:53 +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 --===============2044893967== Content-Type: multipart/alternative; boundary="15351536930.8bFcE.2151" Content-Transfer-Encoding: 7bit --15351536930.8bFcE.2151 Date: Fri, 24 Aug 2018 23:34:53 +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=3D107545 --- Comment #11 from Julien Isorce --- I found time to go a bit further. Now I understand this radeon_cs_parser_in= it function a bit more=20 If I comment the AGP condition here https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeo= n_cs.c?h=3Damd-staging-drm-next#n340 so that kdata is used then I can verify that the kdata contains the same da= ta as user space. But when writing to parser->ib.ptr here https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeo= n_cs.c?h=3Damd-staging-drm-next#n648 then comparing parser->ib.ptr's data and kdata shows the same difference as pointed in comment #5. Could it be an issue with pcie (though is works with admgpu, well in fact it uses kdata on amdgpu) ? Is there anyway I can force a commit/flush just aft= er it writes to parser->ib.ptr as a test even if it is slower ? thx! --=20 You are receiving this mail because: You are the assignee for the bug.= --15351536930.8bFcE.2151 Date: Fri, 24 Aug 2018 23:34:53 +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 # 11 on bug 10754= 5 from Julien Isorce
I found time to go a bit further. Now I understand this radeon=
_cs_parser_init
function a bit more=20

If I comment the AGP condition here
https://cgit.freedesktop.o=
rg/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeon_cs.c?h=3Damd-staging-drm=
-next#n340
so that kdata is used then I can verify that the kdata contains the same da=
ta
as user space.

But when writing to parser->ib.ptr here
https://cgit.freedesktop.o=
rg/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeon_cs.c?h=3Damd-staging-drm=
-next#n648
then comparing parser->ib.ptr's data and kdata shows the same difference=
 as
pointed in comment #5.

Could it be an issue with pcie (though is works with admgpu, well in fact it
uses kdata on amdgpu) ? Is there anyway I can force a commit/flush just aft=
er
it writes to parser->ib.ptr as a test even if it is slower ? thx!


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