Re: [Mesa-dev] [PATCH] radeonsi: Save and restore entire CE RAM.

2016-06-06 Thread Bas Nieuwenhuizen
On Mon, Jun 6, 2016 at 5:14 PM, Nicolai Hähnle wrote: > On 06.06.2016 00:28, Bas Nieuwenhuizen wrote: >> >> This fixes a problem with the CE preamble and restoring only stuff in the >> preamble when needed. >> >> To illustrate suppose we have two graphics IB's 1 and 2, which are >> submitted in >

Re: [Mesa-dev] [PATCH] radeonsi: Save and restore entire CE RAM.

2016-06-06 Thread Nicolai Hähnle
On 06.06.2016 00:28, Bas Nieuwenhuizen wrote: This fixes a problem with the CE preamble and restoring only stuff in the preamble when needed. To illustrate suppose we have two graphics IB's 1 and 2, which are submitted in that order. Furthermore suppose IB 1 does not use CE ram, but IB 2 does,

[Mesa-dev] [PATCH] radeonsi: Save and restore entire CE RAM.

2016-06-05 Thread Bas Nieuwenhuizen
This fixes a problem with the CE preamble and restoring only stuff in the preamble when needed. To illustrate suppose we have two graphics IB's 1 and 2, which are submitted in that order. Furthermore suppose IB 1 does not use CE ram, but IB 2 does, and we have a context switch at the start of IB