gallium/radeon: add GPU-shaders-busy HUD query
authorMarek Olšák <marek.olsak@amd.com>
Sun, 15 Jan 2017 22:59:00 +0000 (23:59 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 16 Jan 2017 14:35:30 +0000 (15:35 +0100)
commit0d9a4efce9c7503544fb828b225ea32a11bc799b
treeb7769b78d39f42bc08e425988a79ae9150c9cf40
parentaa0de724c7744d91e259ed6911ab8d1580d2f7da
gallium/radeon: add GPU-shaders-busy HUD query

It should be close to the GPU load, but it can be much lower if something
is stalling shader execution (e.g. CP DMA).

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