提交 7e5258b0 编写于 作者: J Jordan Crouse 提交者: Bjorn Andersson

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: NJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: NRob Clark <robdclark@chromium.org>
Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20201109184728.2463097-5-jcrouse@codeaurora.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
上级 ab8e32da
...@@ -633,6 +633,15 @@ ap_ts_i2c: &i2c14 { ...@@ -633,6 +633,15 @@ ap_ts_i2c: &i2c14 {
status = "okay"; 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 { &mss_pil {
iommus = <&apps_smmu 0x781 0x0>, iommus = <&apps_smmu 0x781 0x0>,
<&apps_smmu 0x724 0x3>; <&apps_smmu 0x724 0x3>;
......
...@@ -4106,7 +4106,7 @@ ...@@ -4106,7 +4106,7 @@
}; };
adreno_smmu: iommu@5040000 { 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>; reg = <0 0x5040000 0 0x10000>;
#iommu-cells = <1>; #iommu-cells = <1>;
#global-interrupts = <2>; #global-interrupts = <2>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册