[Mesa-dev] [PATCH] i965/bufmgr: Set bo->idle after waiting.
Chris Wilson
chris at chris-wilson.co.uk
Thu Aug 3 09:06:50 UTC 2017
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 <chris at chris-wilson.co.uk>
The only caveat here is that bo is global, and we have a very unlikely
(and probably unnoticeable) race condition with multiple contexts.
-Chris
More information about the mesa-dev
mailing list