Re: [Mesa-dev] [PATCH 4/4] panfrost: Add T860 counters

2019-04-04 Thread Boris Brezillon
On Thu, 4 Apr 2019 08:55:24 -0700 Alyssa Rosenzweig wrote: > I sure hope you have a way of automatically generating these ^_^ Definitely. Didn't focus on that so far, but defining them in an XML (or whatever) and generating .c/.h files out of it should be doable. > > One fleeting thought is t

Re: [Mesa-dev] [PATCH 4/4] panfrost: Add T860 counters

2019-04-04 Thread Alyssa Rosenzweig
I sure hope you have a way of automatically generating these ^_^ One fleeting thought is that some of the counters have "scales" attached, where the logical value we need to report back is some specified integer multiple of what the hardware actually writes. I don't know if we want to account for

[Mesa-dev] [PATCH 4/4] panfrost: Add T860 counters

2019-04-04 Thread Boris Brezillon
Define the T860 counters table. Signed-off-by: Boris Brezillon --- src/gallium/drivers/panfrost/pan_perfcnt.c | 199 - 1 file changed, 198 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_perfcnt.c b/src/gallium/drivers/panfrost/pan_perfcnt.c index