aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-11-27 10:46:22 -0500
committerJonathan Marek <[email protected]>2019-11-27 12:11:57 -0500
commit080c92e7d4ccfa89198c9cbd08016766b336357a (patch)
tree0c527758d4c6fca3a439bf36e28ccfb1b584fc8d
parent98d7125b36bfde75f35310a81eb5b8a632d961f4 (diff)
freedreno/perfcntrs/fdperf: add missing a2xx case in select_counter
Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Rob Clark <[email protected]>
-rw-r--r--src/freedreno/perfcntrs/fdperf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/perfcntrs/fdperf.c b/src/freedreno/perfcntrs/fdperf.c
index de139e8c877..058456a7b51 100644
--- a/src/freedreno/perfcntrs/fdperf.c
+++ b/src/freedreno/perfcntrs/fdperf.c
@@ -442,6 +442,7 @@ select_counter(struct counter_group *group, int ctr, int n)
*/
struct fd_ringbuffer *ring = dev.ring;
switch (dev.chipid >> 24) {
+ case 2:
case 3:
case 4:
OUT_PKT3(ring, CP_WAIT_FOR_IDLE, 1);