[Mesa-dev] [PATCH 08/12] etnaviv: support TX performance counters

Christian Gmeiner christian.gmeiner at gmail.com
Fri Apr 6 06:45:44 UTC 2018


2018-03-29 16:25 GMT+02:00 Lucas Stach <l.stach at pengutronix.de>:
> Am Sonntag, den 25.03.2018, 22:30 +0200 schrieb Christian Gmeiner:
>> > Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
>> ---
>>  src/gallium/drivers/etnaviv/etnaviv_query_pm.c | 63 ++++++++++++++++++++++++++
>>  src/gallium/drivers/etnaviv/etnaviv_query_pm.h | 10 ++++
>>  2 files changed, 73 insertions(+)
>>
>> diff --git a/src/gallium/drivers/etnaviv/etnaviv_query_pm.c b/src/gallium/drivers/etnaviv/etnaviv_query_pm.c
>> index 3601d4086c..4c2a2ac7de 100644
>> --- a/src/gallium/drivers/etnaviv/etnaviv_query_pm.c
>> +++ b/src/gallium/drivers/etnaviv/etnaviv_query_pm.c
>> @@ -276,6 +276,69 @@ static const struct etna_perfmon_config query_config[] = {
>>        .source = (const struct etna_perfmon_source[]) {
>>           { "RA", "CULLED_QUAD_COUNT" }
>>        }
>> +   },
>> +   {
>> +      .name = "tx-total-bilinear-requests",
>> +      .type = ETNA_QUERY_TX_TOTAL_BILINEAR_REQUESTS,
>> +      .source = (const struct etna_perfmon_source[]) {
>> +         { "TX", "TOTAL_BILINEAR_REQUESTS" }
>> +      }
>> +   },
>> +   {
>> +      .name = "tx-total-trilinear-requests",
>> +      .type = ETNA_QUERY_TX_TOTAL_TRILINEAR_REQUESTS,
>> +      .source = (const struct etna_perfmon_source[]) {
>> +         { "TX", "TOTAL_TRILINEAR_REQUESTS" }
>> +      }
>> +   },
>> +   {
>> +      .name = "tx-total-discarded-texutre-requests",
>
> ^ wrong spelling of texture.
>
>> +      .type = ETNA_QUERY_TX_TOTAL_DISCARDED_TEXTURE_REQUESTS,
>> +      .source = (const struct etna_perfmon_source[]) {
>> +         { "TX", "TOTAL_DISCARDED_TEXTURE_REQUESTS" }
>> +      }
>> +   },
>> +   {
>> +      .name = "tx-total-texutre-requests",
>
> again
>

Fixed locally...

-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info


More information about the mesa-dev mailing list