freedreno/perfcntrs/fdperf: add missing a2xx case in select_counter
authorJonathan Marek <jonathan@marek.ca>
Wed, 27 Nov 2019 15:46:22 +0000 (10:46 -0500)
committerJonathan Marek <jonathan@marek.ca>
Wed, 27 Nov 2019 17:11:57 +0000 (12:11 -0500)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@chromium.org>
src/freedreno/perfcntrs/fdperf.c

index de139e8c877278f04a1317bd5af23115c6adfb8f..058456a7b5168e2300b10efe844b9948747f7a23 100644 (file)
@@ -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);