Re: [Mesa-dev] [PATCH v3] radeonsi: Reinitialize all descriptors in CE preamble.

2016-06-10 Thread Bas Nieuwenhuizen
On Fri, Jun 10, 2016 at 11:35 AM, Nicolai Hähnle wrote: > On 09.06.2016 19:50, 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 v3] radeonsi: Reinitialize all descriptors in CE preamble.

2016-06-10 Thread Nicolai Hähnle
On 09.06.2016 19:50, 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 v3] radeonsi: Reinitialize all descriptors in CE preamble.

2016-06-09 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