Re: [Mesa-dev] [PATCH 8/9] radeonsi: don't emit partial flushes at the end of IBs

2017-06-19 Thread Nicolai Hähnle
On 19.06.2017 15:56, Marek Olšák wrote: On Mon, Jun 19, 2017 at 2:48 PM, Nicolai Hähnle wrote: On 16.06.2017 14:58, Marek Olšák wrote: From: Marek Olšák The kernel sort of does the same thing with fences. The kernel sends an EVENT_WRITE_EOP with various TC flags. Is that guaranteed to wa

Re: [Mesa-dev] [PATCH 8/9] radeonsi: don't emit partial flushes at the end of IBs

2017-06-19 Thread Marek Olšák
On Mon, Jun 19, 2017 at 2:48 PM, Nicolai Hähnle wrote: > On 16.06.2017 14:58, Marek Olšák wrote: >> >> From: Marek Olšák >> >> The kernel sort of does the same thing with fences. > > > The kernel sends an EVENT_WRITE_EOP with various TC flags. Is that > guaranteed to wait for shaders to finish an

Re: [Mesa-dev] [PATCH 8/9] radeonsi: don't emit partial flushes at the end of IBs

2017-06-19 Thread Nicolai Hähnle
On 16.06.2017 14:58, Marek Olšák wrote: From: Marek Olšák The kernel sort of does the same thing with fences. The kernel sends an EVENT_WRITE_EOP with various TC flags. Is that guaranteed to wait for shaders to finish and flush their data? I'm mostly thinking about synchronizing with CPU re

[Mesa-dev] [PATCH 8/9] radeonsi: don't emit partial flushes at the end of IBs

2017-06-16 Thread Marek Olšák
From: Marek Olšák The kernel sort of does the same thing with fences. --- src/gallium/drivers/radeonsi/si_hw_context.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c index