On Mon, 10 Oct 2011 13:22:46 -0700, Chad Versace <c...@chad-versace.us> wrote: > What I would prefer to assert is that, for each region that is currently > mapped, no batch is emitted that uses that region's bo. However, it's much > easier to implement this big hammer. > > Observe that this requires that the batch flush in intel_region_map() be > moved to within the map_refcount guard. > > v2: Add comments (borrowed from anholt's reply) explaining why the > assertion is a good idea.
Reviewed-by: Eric Anholt <e...@anholt.net>
pgpmFadtSyW21.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev