radeonsi: add a driver query for counting CP DMA calls
authorMarek Olšák <marek.olsak@amd.com>
Thu, 27 Oct 2016 23:55:17 +0000 (01:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 1 Nov 2016 21:33:13 +0000 (22:33 +0100)
commit315eb0acb48a30f9a8defa73a78055e441b5ee6c
tree2226b506790d3d78f5e214d40195ae7faa6dbfd6
parentd268b7f95e0df35fe0e1e67bb6b6c146589dcc7d
radeonsi: add a driver query for counting CP DMA calls

CP DMA calls are synchronous with regard to shaders, but can be made
asynchronous if needed.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/radeon/r600_query.h
src/gallium/drivers/radeonsi/si_cp_dma.c