From: Jonathan Marek Date: Wed, 27 Nov 2019 15:45:41 +0000 (-0500) Subject: freedreno/perfcntrs/fdperf: add missing a20x compatible X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98d7125b36bfde75f35310a81eb5b8a632d961f4;p=mesa.git freedreno/perfcntrs/fdperf: add missing a20x compatible Signed-off-by: Jonathan Marek Reviewed-by: Rob Clark --- 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);