radeon: convert hardware queries to the new style
authorNicolai Hähnle <nhaehnle@gmail.com>
Wed, 18 Nov 2015 10:59:21 +0000 (11:59 +0100)
committerNicolai Hähnle <nhaehnle@gmail.com>
Wed, 18 Nov 2015 11:27:12 +0000 (12:27 +0100)
commit1d10b3d01e8af58f3c14bf39af8b592860ab36aa
tree99b63a01abf1e938eaf1ace5d4bdbf25662ae06d
parent019106760d16a7badf2d3a7034b4281b6cf2c27f
radeon: convert hardware queries to the new style

Move r600_query and r600_query_hw into the header because we will want to
reuse the buffer handling and suspend/resume logic outside of the common
radeon code.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
[Fixed a rebase conflict and re-tested before pushing.]
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/radeon/r600_query.h