gallium/radeon: suspend timer queries between IBs
authorMarek Olšák <marek.olsak@amd.com>
Fri, 31 Jul 2015 00:39:02 +0000 (02:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 6 Aug 2015 18:44:35 +0000 (20:44 +0200)
commit57245cce52d544c61f03fc966850f0f94e8118d5
treee374d64930bf7d43517fb1673f677cb1e4360d79
parentb2eb13d602f71f19216284a584834cdaa2550eb3
gallium/radeon: suspend timer queries between IBs

When we are measuring the time spent in a draw call, an unexpected flush
can distort the result.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/radeonsi/si_hw_context.c