Re: [Mesa-dev] [PATCH] i965/bufmgr: Set bo->idle after waiting.

2017-08-03 Thread Chris Wilson
Quoting Kenneth Graunke (2017-08-03 02:06:05) > After a successful wait, we know the buffer ought to be idle. I was sure this was already the case, because I keep looking at thinking it needed a if (flags & MAP_WRITE) bo->idle = true... Reviewed-by: Chris Wilson The only caveat here is that bo

[Mesa-dev] [PATCH] i965/bufmgr: Set bo->idle after waiting.

2017-08-02 Thread Kenneth Graunke
After a successful wait, we know the buffer ought to be idle. --- src/mesa/drivers/dri/i965/brw_bufmgr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index f70365eba2a..1df812a711a 100644 --- a/src/mesa/drive