Re: [Mesa-dev] [PATCH v3 1/1] clover: Wait for requested operation if blocking flag is set

2017-08-18 Thread Francisco Jerez
Jan Vesely writes: > On Fri, 2017-08-18 at 14:19 -0700, Francisco Jerez wrote: >> Jan Vesely writes: >> >> > v2: wait in map_buffer and map_image as well >> > v3: use event::wait instead of wait (skips fence wait for hard_event) >> > >> >>

Re: [Mesa-dev] [PATCH v3 1/1] clover: Wait for requested operation if blocking flag is set

2017-08-18 Thread Jan Vesely
On Fri, 2017-08-18 at 14:19 -0700, Francisco Jerez wrote: > Jan Vesely writes: > > > v2: wait in map_buffer and map_image as well > > v3: use event::wait instead of wait (skips fence wait for hard_event) > > > > Unfortunately this won't wait for the event action to be

Re: [Mesa-dev] [PATCH v3 1/1] clover: Wait for requested operation if blocking flag is set

2017-08-18 Thread Francisco Jerez
Jan Vesely writes: > v2: wait in map_buffer and map_image as well > v3: use event::wait instead of wait (skips fence wait for hard_event) > Unfortunately this won't wait for the event action to be executed, only for all dependencies of the event to become signalled, so

[Mesa-dev] [PATCH v3 1/1] clover: Wait for requested operation if blocking flag is set

2017-08-18 Thread Jan Vesely
v2: wait in map_buffer and map_image as well v3: use event::wait instead of wait (skips fence wait for hard_event) Signed-off-by: Jan Vesely --- src/gallium/state_trackers/clover/api/transfer.cpp | 30 -- 1 file changed, 28 insertions(+), 2