From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108572] Could not start gimp (probably due to opencl) Date: Mon, 11 Feb 2019 23:21:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1395534307==" 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 6479E6E488 for ; Mon, 11 Feb 2019 23:21:13 +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 --===============1395534307== Content-Type: multipart/alternative; boundary="15499272730.D6ab.15169" Content-Transfer-Encoding: 7bit --15499272730.D6ab.15169 Date: Mon, 11 Feb 2019 23:21:13 +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=3D108572 --- Comment #6 from Marco --- As previously said, commenting si_clear_buffer makes clinfo and opencl work again (with mesa master from git) ndex c6f93e7..1523919 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -616,9 +616,9 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, if (sctx->chip_class =3D=3D CIK) { /* Clear the NULL constant buffer, because loads should ret= urn zeros. */ uint32_t clear_value =3D 0; - si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0, + /*si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0, sctx->null_const_buf.buffer->width0, - &clear_value, 4, SI_COHERENCY_SHADER); + &clear_value, 4, SI_COHERENCY_SHADER);*/ } return &sctx->b; fail: --=20 You are receiving this mail because: You are the assignee for the bug.= --15499272730.D6ab.15169 Date: Mon, 11 Feb 2019 23:21:13 +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 # 6 on bug 10857= 2 from Marco
As previously said, commenting si_clear_buffer makes clinfo an=
d opencl work
again (with mesa master from git)


ndex c6f93e7..1523919 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -616,9 +616,9 @@ static struct pipe_context *si_create_c=
ontext(struct
pipe_screen *screen,
        if (sctx->chip_class =3D=3D CIK) {
                /* Clear the NULL constant buffer, because loads should ret=
urn
zeros. */
                uint32_t clear_value =3D 0;
-               si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0,
+               /*si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0,
                                sctx->null_const_buf.buffer->width0,
-                               &clear_value, 4, SI_COHERENCY_SHADER);
+                               &clear_value, 4, SI_COHERENCY_SHADER);*/
        }
        return &sctx->b;
 fail:


You are receiving this mail because:
  • You are the assignee for the bug.
= --15499272730.D6ab.15169-- --===============1395534307== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1395534307==--