On Thu, May 18, 2017 at 11:23 PM, Matt Arsenault <arse...@gmail.com> wrote: > >> On May 18, 2017, at 22:46, Marek Olšák <mar...@gmail.com> wrote: >> >> From: Marek Olšák <marek.ol...@amd.com> >> >> so that LLVM doesn't allocate SGPRs where XNACK is. >> >> Cc: 17.1 <mesa-sta...@lists.freedesktop.org> > > You shouldn’t be explicitly enabling xnack. This sounds like a workaround for > a backend bug, and this has other consequences than changing the reserved > registers. Do you have an example of where this is a problem?
What are the other consequences? We don't want XNACK on Carrizo/Stoney, because XNACK is always disabled on the graphics ring. It's only enabled on compute rings, which we don't use. GFX9 enables XNACK on all rings at the moment. XNACK AKA instruction replay is a per-VMID setting in the kernel driver and it might change in the future. It's not a fixed property of the GPU architecture. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev