Mesa (master): freedreno/perfcntrs/fdperf: add missing a2xx case in select_counter
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 27 17:15:10 UTC 2019
Module: Mesa
Branch: master
Commit: 080c92e7d4ccfa89198c9cbd08016766b336357a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=080c92e7d4ccfa89198c9cbd08016766b336357a
Author: Jonathan Marek <jonathan at marek.ca>
Date: Wed Nov 27 10:46:22 2019 -0500
freedreno/perfcntrs/fdperf: add missing a2xx case in select_counter
Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Reviewed-by: Rob Clark <robdclark at chromium.org>
---
src/freedreno/perfcntrs/fdperf.c | 1 +
1 file changed, 1 insertion(+)
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);
More information about the mesa-commit
mailing list