From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99850] Tessellation bug on Carrizo
Date: Wed, 22 Feb 2017 17:15:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0937017452=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 4E3AE6E86D
for ; Wed, 22 Feb 2017 17:15:00 +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
--===============0937017452==
Content-Type: multipart/alternative; boundary="14877837001.FcE2f4.23852";
charset="UTF-8"
--14877837001.FcE2f4.23852
Date: Wed, 22 Feb 2017 17:15:00 +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=3D99850
--- Comment #6 from Marek Ol=C5=A1=C3=A1k ---
You can try this diff:
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index f615aa8..750cdd6 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -2312,7 +2312,9 @@ static bool si_update_spi_tmpring_size(struct si_cont=
ext
*sctx)
static void si_init_tess_factor_ring(struct si_context *sctx)
{
- bool double_offchip_buffers =3D sctx->b.chip_class >=3D CIK;
+ bool double_offchip_buffers =3D sctx->b.chip_class >=3D CIK &&
+ sctx->b.family !=3D CHIP_CARRIZO &&
+ sctx->b.family !=3D CHIP_STONEY;
unsigned max_offchip_buffers_per_se =3D double_offchip_buffers ? 12=
8 :
64;
unsigned max_offchip_buffers =3D max_offchip_buffers_per_se *
sctx->screen->b.info.max_se;
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14877837001.FcE2f4.23852
Date: Wed, 22 Feb 2017 17:15:00 +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
Comment=
# 6
on bug 99850<=
/a>
from Marek Ol=C5=A1=C3=A1k
You can try this diff:
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index f615aa8..750cdd6 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -2312,7 +2312,9 @@ static bool si_update_spi_tmpring_siz=
e(struct si_context
*sctx)
static void si_init_tess_factor_ring(struct si_context *sctx)
{
- bool double_offchip_buffers =3D sctx->b.chip_class >=3D CIK;
+ bool double_offchip_buffers =3D sctx->b.chip_class >=3D CIK &=
amp;&
+ sctx->b.family !=3D CHIP_CARRIZO &=
amp;&
+ sctx->b.family !=3D CHIP_STONEY;
unsigned max_offchip_buffers_per_se =3D double_offchip_buffers ? 12=
8 :
64;
unsigned max_offchip_buffers =3D max_offchip_buffers_per_se *
sctx->screen->b.info.max_se;=
pre>
You are receiving this mail because:
- You are the assignee for the bug.
=
--14877837001.FcE2f4.23852--
--===============0937017452==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0937017452==--