projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cde37
)
freedreno/perfcntrs/fdperf: add missing a20x compatible
author
Jonathan Marek
<jonathan@marek.ca>
Wed, 27 Nov 2019 15:45:41 +0000
(10:45 -0500)
committer
Jonathan Marek
<jonathan@marek.ca>
Wed, 27 Nov 2019 17:11:57 +0000
(12:11 -0500)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@chromium.org>
src/freedreno/perfcntrs/fdperf.c
patch
|
blob
|
history
diff --git
a/src/freedreno/perfcntrs/fdperf.c
b/src/freedreno/perfcntrs/fdperf.c
index 45d2a18ebe2b3b4f5e93a2683adea80983e7926f..de139e8c877278f04a1317bd5af23115c6adfb8f 100644
(file)
--- 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);