summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2015-11-11 12:49:52 +0100
committerNicolai Hähnle <nicolai.haehnle@amd.com>2015-11-25 15:27:56 +0100
commitb589e18a9825fdee89db32a88e3e5a32f5d7d24b (patch)
tree346fcee3a34840256c5efc3e0d89d519ed987610 /src/gallium/drivers/radeon
parent30462b1826f99cf8ec7f307cdad37b61ab1b5c4e (diff)
downloadexternal_mesa3d-b589e18a9825fdee89db32a88e3e5a32f5d7d24b.zip
external_mesa3d-b589e18a9825fdee89db32a88e3e5a32f5d7d24b.tar.gz
external_mesa3d-b589e18a9825fdee89db32a88e3e5a32f5d7d24b.tar.bz2
radeon: add perfcounter-related EVENT_TYPEs
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600d_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600d_common.h b/src/gallium/drivers/radeon/r600d_common.h
index 2f40e52..f32da06 100644
--- a/src/gallium/drivers/radeon/r600d_common.h
+++ b/src/gallium/drivers/radeon/r600d_common.h
@@ -81,8 +81,11 @@
#define EVENT_TYPE_CACHE_FLUSH_AND_INV_TS_EVENT 0x14
#define EVENT_TYPE_ZPASS_DONE 0x15
#define EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT 0x16
+#define EVENT_TYPE_PERFCOUNTER_START 0x17
+#define EVENT_TYPE_PERFCOUNTER_STOP 0x18
#define EVENT_TYPE_PIPELINESTAT_START 25
#define EVENT_TYPE_PIPELINESTAT_STOP 26
+#define EVENT_TYPE_PERFCOUNTER_SAMPLE 0x1B
#define EVENT_TYPE_SAMPLE_PIPELINESTAT 30
#define EVENT_TYPE_SO_VGTSTREAMOUT_FLUSH 0x1f
#define EVENT_TYPE_SAMPLE_STREAMOUTSTATS 0x20