i965/query: Use brw_bo_map to handle stall warnings.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Dec 2014 09:57:39 +0000 (01:57 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Dec 2014 23:39:54 +0000 (15:39 -0800)
commitcb5cfb8361338c4a9e413f287591c1678187bcfc
tree588bc6b0ed846c8570641b954126936318d18b3b
parent9c47653d3202b166efb51bac00ae84f9d03b2a40
i965/query: Use brw_bo_map to handle stall warnings.

This is less code and also measures the duration of the stall for us.

Our old code predates the existance of brw_bo_map().

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/gen6_queryobj.c