Mesa (master): freedreno/perfcntrs/fdperf: add missing a20x compatible

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 27 17:15:10 UTC 2019


Module: Mesa
Branch: master
Commit: 98d7125b36bfde75f35310a81eb5b8a632d961f4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98d7125b36bfde75f35310a81eb5b8a632d961f4

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Wed Nov 27 10:45:41 2019 -0500

freedreno/perfcntrs/fdperf: add missing a20x compatible

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 45d2a18ebe2..de139e8c877 100644
--- a/src/freedreno/perfcntrs/fdperf.c
+++ b/src/freedreno/perfcntrs/fdperf.c
@@ -282,6 +282,7 @@ find_device_fn(const char *fpath, const struct stat *sb, int typeflag, struct FT
 		char *str = readfile(fpath, &sz);
 		if ((strcmp(str, "qcom,adreno-3xx") == 0) ||
 				(strcmp(str, "qcom,kgsl-3d0") == 0) ||
+				(strstr(str, "amd,imageon") == str) ||
 				(strstr(str, "qcom,adreno") == str)) {
 			int dlen = strlen(fpath) - strlen("/compatible");
 			dev.dtnode = malloc(dlen + 1);




More information about the mesa-commit mailing list