From: Nicolai Hähnle Date: Wed, 11 Nov 2015 11:49:52 +0000 (+0100) Subject: radeon: add perfcounter-related EVENT_TYPEs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b589e18a9825fdee89db32a88e3e5a32f5d7d24b;p=mesa.git radeon: add perfcounter-related EVENT_TYPEs Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeon/r600d_common.h b/src/gallium/drivers/radeon/r600d_common.h index 2f40e52e514..f32da063a4b 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