Skip to content

Commit

Permalink
arm64: dts: meson: Describe G12b GPU as coherent
Browse files Browse the repository at this point in the history
According to a downstream commit I found in the Khadas vendor kernel,
the GPU on G12b is wired up for ACE-lite, so (now that Panfrost knows
how to handle this properly) we should describe it as such. Otherwise
the mismatch leads to all manner of fun with mismatched attributes and
inadvertently snooping stale data from caches, which would account for
at least some of the brokenness observed on this platform.

Signed-off-by: Robin Murphy <[email protected]>
Tested-by: Neil Armstrong <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/765446e529e50b304af63432da7836c4d31eb8d4.1600780574.git.robin.murphy@arm.com
  • Loading branch information
rmurphy-arm authored and superna9999 committed Oct 30, 2020
1 parent 268af50 commit 0354450
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-g12b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,7 @@
};
};
};

&mali {
dma-coherent;
};

0 comments on commit 0354450

Please sign in to comment.