aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/perfcntrs
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-11-27 10:45:41 -0500
committerJonathan Marek <[email protected]>2019-11-27 12:11:57 -0500
commit98d7125b36bfde75f35310a81eb5b8a632d961f4 (patch)
tree13f28841c3e5b03d25911a71afc351839e79e5d2 /src/freedreno/perfcntrs
parent24cde37e8d26332c7e5b13c2793efc44677180c6 (diff)
freedreno/perfcntrs/fdperf: add missing a20x compatible
Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/perfcntrs')
-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 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);