mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
freedreno/perfcntrs/fdperf: add missing a20x compatible
Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
24cde37e8d
commit
98d7125b36
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue