From 98d7125b36bfde75f35310a81eb5b8a632d961f4 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 27 Nov 2019 10:45:41 -0500 Subject: [PATCH] freedreno/perfcntrs/fdperf: add missing a20x compatible Signed-off-by: Jonathan Marek Reviewed-by: Rob Clark --- 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); -- 2.30.2