mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 00:43:08 -04:00
arm: dts: qcom: sm845: Set the compatible string for the GPU SMMU
Set the qcom,adreno-smmu compatible string for the GPU SMMU to enable split pagetables and per-instance pagetables for drm/msm. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20201109184728.2463097-5-jcrouse@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
ab8e32da3a
commit
7e5258b0b7
@@ -633,6 +633,15 @@ &mdss_mdp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
* Cheza fw does not properly program the GPU aperture to allow the
|
||||
* GPU to update the SMMU pagetables for context switches. Work
|
||||
* around this by dropping the "qcom,adreno-smmu" compat string.
|
||||
*/
|
||||
&adreno_smmu {
|
||||
compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
|
||||
};
|
||||
|
||||
&mss_pil {
|
||||
iommus = <&apps_smmu 0x781 0x0>,
|
||||
<&apps_smmu 0x724 0x3>;
|
||||
|
||||
@@ -4106,7 +4106,7 @@ opp-257000000 {
|
||||
};
|
||||
|
||||
adreno_smmu: iommu@5040000 {
|
||||
compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
|
||||
compatible = "qcom,sdm845-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
|
||||
reg = <0 0x5040000 0 0x10000>;
|
||||
#iommu-cells = <1>;
|
||||
#global-interrupts = <2>;
|
||||
|
||||
Reference in New Issue
Block a user