On 20.01.2016 19:20, Marek Olšák wrote:
On Wed, Jan 20, 2016 at 6:30 PM, Nicolai Hähnle <nhaeh...@gmail.com> wrote:
On 19.01.2016 20:20, Marek Olšák wrote:
From: Marek Olšák <marek.ol...@amd.com>
We don't use on-chip GS, so it's not required to reserve CU1 for ES.
Why is a deadlock not possible with an off-chip GS ring?
It's about LDS.
>
On-chip GS uses LDS instead of the rings, which can cause a PS
deadlock just like LS.
We could allow all shaders to run on all CUs if the kernel programmed
SPI_RESOURCE_RESERVE*_CU0 and *_CU1 slightly differently. Those
registers allow reserving a half of LDS for certain stages. For
example, reserving it for PS would mean that PS could use all of CU0
LDS, but LS could only use a half. This is best for chips with only a
few CUs.
Thanks, I got it now. Patch 3 also gets my R-b
Nicolai
Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev