gallium/radeon: add HUD queries for monitoring some hw blocks
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Jan 2017 18:21:12 +0000 (19:21 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 23 Jan 2017 20:19:49 +0000 (21:19 +0100)
commitaa2ace8e4975419e723f78d624087637c57ef2fa
tree4e72e42a52202896231823b061aaaa8fb0f1ae0d
parenta704f1924765fb1cac61cdb9d6e84ad2cb5c7f9c
gallium/radeon: add HUD queries for monitoring some hw blocks

It's also possible to monitor them via performance counters but
the hardware can only use two counters simultaneously. It seems
easier to re-use the existing code which reads from MMIO instead
of writing a multi-pass approach.

v2: - add new lines after ':'

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@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