From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 60879] [radeonsi] X11 can't start with acceleration enabled Date: Wed, 10 Sep 2014 02:30:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1653991131==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 66EC089C2A for ; Tue, 9 Sep 2014 19:30:50 -0700 (PDT) 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 --===============1653991131== Content-Type: multipart/alternative; boundary="1410316250.ED2ad2.11821"; charset="us-ascii" --1410316250.ED2ad2.11821 Date: Wed, 10 Sep 2014 02:30:50 +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=3D60879 --- Comment #89 from Michel D=C3=A4nzer --- (In reply to comment #88) > Is this patch supposed to apply cleanly against mesa 10.1.5? No, looks like it's for Git master, should probably apply against the 10.3 branch at least though. (In reply to comment #87) > Fix v3 [...] > + for (i =3D 0; i < num_se; i++) { > + si_pm4_set_reg(pm4, GRBM_GFX_INDEX, > + SE_INDEX(i) | > + SH_BROADCAST_WRITES | > + INSTANCE_BROADCAST_WRITES); > + si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, raster_config); > + } Since this uses the same raster_config value for all SEs, couldn't it just = use a single write with SE_BROADCAST_WRITES enabled in GRBM_GFX_INDEX? If not: > + unsigned sh_per_se =3D MAX2(sctx->screen->b.info.max_sh_per_se, 1); > + unsigned num_se =3D MAX2(sctx->screen->b.info.max_sh_per_se, 1); sh_per_se and num_se have the same value. Should one of them be calculated differently, or does a single variable suffice? --=20 You are receiving this mail because: You are the assignee for the bug. --1410316250.ED2ad2.11821 Date: Wed, 10 Sep 2014 02:30:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 89 on bug 60879<= /a> from Michel D=C3=A4nzer
(In reply to comment #=
88)
> Is this patch supposed to apply cleanly against =
mesa 10.1.5?

No, looks like it's for Git master, should probably apply against the 10.3
branch at least though.


(In reply to comment #87)
> Fix v3
[...]
> +		for (i =3D 0; i < num_se; i++) {
> +			si_pm4_set_reg(pm4, GRBM_GFX_INDEX,
> +				SE_INDEX(i) |
> +				SH_BROADCAST_WRITES |
> +				INSTANCE_BROADCAST_WRITES);
> +			si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, raster_config);
> +		}

Since this uses the same raster_config value for all SEs, couldn't it just =
use
a single write with SE_BROADCAST_WRITES enabled in GRBM_GFX_INDEX?

If not:

> +		unsigned sh_per_se =3D MAX2(sctx->screen-&=
gt;b.info.max_sh_per_se, 1);
> +		unsigned num_se =3D MAX2(sctx->screen->b.info.max_sh_per_se, =
1);

sh_per_se and num_se have the same value. Should one of them be calculated
differently, or does a single variable suffice?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1410316250.ED2ad2.11821-- --===============1653991131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1653991131==--