Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> --- src/gallium/drivers/etnaviv/etnaviv_query_pm.c | 21 +++++++++++++++++++++ src/gallium/drivers/etnaviv/etnaviv_query_pm.h | 4 ++++ 2 files changed, 25 insertions(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_query_pm.c b/src/gallium/drivers/etnaviv/etnaviv_query_pm.c index 4c2a2ac7de..8a636476d5 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_query_pm.c +++ b/src/gallium/drivers/etnaviv/etnaviv_query_pm.c @@ -339,6 +339,27 @@ static const struct etna_perfmon_config query_config[] = { .source = (const struct etna_perfmon_source[]) { { "TX", "CACHE_MISS_TEXEL_COUNT" } } + }, + { + .name = "mc-total-read-req-8b-from-pipeline", + .type = ETNA_QUERY_MC_TOTAL_READ_REQ_8B_FROM_PIPELINE, + .source = (const struct etna_perfmon_source[]) { + { "MC", "TOTAL_READ_REQ_8B_FROM_PIPELINE" } + } + }, + { + .name = "mc-total-read-req-8b-from-ip", + .type = ETNA_QUERY_MC_TOTAL_READ_REQ_8B_FROM_IP, + .source = (const struct etna_perfmon_source[]) { + { "MC", "TOTAL_READ_REQ_8B_FROM_IP" } + } + }, + { + .name = "mc-total-write-req-8b-from-pipeline", + .type = ETNA_QUERY_MC_TOTAL_WRITE_REQ_8B_FROM_PIPELINE, + .source = (const struct etna_perfmon_source[]) { + { "MC", "TOTAL_WRITE_REQ_8B_FROM_PIPELINE" } + } } }; diff --git a/src/gallium/drivers/etnaviv/etnaviv_query_pm.h b/src/gallium/drivers/etnaviv/etnaviv_query_pm.h index 9cfd06e0ec..f6d27ee406 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_query_pm.h +++ b/src/gallium/drivers/etnaviv/etnaviv_query_pm.h @@ -83,6 +83,10 @@ struct etna_screen; #define ETNA_QUERY_TX_CACHE_HIT_TEXEL_COUNT (ETNA_PM_QUERY_BASE + 41) #define ETNA_QUERY_TX_CACHE_MISS_TEXEL_COUNT (ETNA_PM_QUERY_BASE + 42) +#define ETNA_QUERY_MC_TOTAL_READ_REQ_8B_FROM_PIPELINE (ETNA_PM_QUERY_BASE + 43) +#define ETNA_QUERY_MC_TOTAL_READ_REQ_8B_FROM_IP (ETNA_PM_QUERY_BASE + 44) +#define ETNA_QUERY_MC_TOTAL_WRITE_REQ_8B_FROM_PIPELINE (ETNA_PM_QUERY_BASE + 45) + struct etna_pm_query { struct etna_query base; struct etna_perfmon_signal *signal; -- 2.14.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev