i965: perf: consolidate unmapping oa perf bo outside accumulation
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 7 Mar 2018 14:10:15 +0000 (14:10 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 8 Mar 2018 23:05:29 +0000 (23:05 +0000)
commitd10a39ebe085dc28ab7352f76b57d628928e1e40
treecdb171e82e83bebadd229c410c5b1adce84d8249
parentfb921a2870ae51cdad129438dfb1b20f1538b2fa
i965: perf: consolidate unmapping oa perf bo outside accumulation

Do this in one place outside the only caller of the accumulation
function.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_performance_query.c