From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105113] [hawaii, radeonsi, clover] Running Piglit cl/program/execute/{, tail-}calls{, -struct, -workitem-id}.cl cause GPU VM error and ring stalled GPU lockup Date: Fri, 23 Nov 2018 13:43:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0128211533==" 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 1ECFE6E704 for ; Fri, 23 Nov 2018 13:43:32 +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 --===============0128211533== Content-Type: multipart/alternative; boundary="15429806120.c80e.28657" Content-Transfer-Encoding: 7bit --15429806120.c80e.28657 Date: Fri, 23 Nov 2018 13:43:32 +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=3D105113 --- Comment #10 from Maciej S. Szmigiero --- (In reply to Jan Vesely from comment #9) > (In reply to Maciej S. Szmigiero from comment #8) > > Aren't program@execute@calls-struct and program@execute@tail-calls tests > > from comment 4 examples of this behavior? > > These seem to run but return wrong results, or am I not parsing the pig= lit > > test results correctly? >=20 > This is more of a piglit problem. piglit uses a combination of enqueue and > clFinish. However, the error happens on kernel launch. thus; > 1.) clEnqueueNDRangeKernel -- success > 2.) The driver tries to launch the kernel and fails on relocations > 3.) application(piglit) calls clFinish >=20 > depending on the order of 2. and 3. clFinish can either see an empty queue > and succeed or try to wait for kernel execution and fail. >=20 > The following series should address that: > https://patchwork.freedesktop.org/series/52857/ Thanks for the detailed explanation and the patches. I can confirm that with them applied program@execute@calls-struct and program@execute@tail-calls exit with CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST, so I guess they work (or rather, fail) as expected. Feel free to add "Tested-by: Maciej S. Szmigiero " tag if you wo= uld like. --=20 You are receiving this mail because: You are the assignee for the bug.= --15429806120.c80e.28657 Date: Fri, 23 Nov 2018 13:43:32 +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 10511= 3 from Maciej S. Szmigiero
(In reply to Jan Vesely from comment #9)
> (In reply to Maciej S. Szmigiero from comment #8)
> > Aren't program@execute@calls-struct and program@execu=
te@tail-calls tests
> > from comment 4 exampl=
es of this behavior?
> > These seem to run but return wrong results, or am I not parsing t=
he piglit
> > test results correctly?
>=20
> This is more of a piglit problem. piglit uses a combination of enqueue=
 and
> clFinish. However, the error happens on kernel launch. thus;
> 1.) clEnqueueNDRangeKernel -- success
> 2.) The driver tries to launch the kernel and fails on relocations
> 3.) application(piglit) calls clFinish
>=20
> depending on the order of 2. and 3. clFinish can either see an empty q=
ueue
> and succeed or try to wait for kernel execution and fail.
>=20
> The following series should address that:
> https://pa=
tchwork.freedesktop.org/series/52857/

Thanks for the detailed explanation and the patches.

I can confirm that with them applied program@execute@calls-struct a=
nd
program@execute@tail-calls exit with
CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST, so I guess they work
(or rather, fail) as expected.

Feel free to add
"Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>" tag if you wou=
ld
like.


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