iommu/arm-smmu-qcom: Select identity domain for sc8280xp MDSS
authorBjorn Andersson <quic_bjorande@quicinc.com>
Fri, 13 Jan 2023 04:11:04 +0000 (20:11 -0800)
committerWill Deacon <will@kernel.org>
Tue, 24 Jan 2023 11:36:58 +0000 (11:36 +0000)
The Qualcomm display driver installs a translation domain once it has
mapped a framebuffer. Use the identity domain for this device on
SC8280XP as well, to avoid faults from EFI FB accessing the framebuffer
while this is being set up.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230113041104.4189152-1-quic_bjorande@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c

index ed884c85e2626417e6101a5608d99990d20e8da9..d7ad49aa997e9e04608d041f18288499ef6be38b 100644 (file)
@@ -250,6 +250,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
        { .compatible = "qcom,sc7280-mdss" },
        { .compatible = "qcom,sc7280-mss-pil" },
        { .compatible = "qcom,sc8180x-mdss" },
+       { .compatible = "qcom,sc8280xp-mdss" },
        { .compatible = "qcom,sm8150-mdss" },
        { .compatible = "qcom,sm8250-mdss" },
        { .compatible = "qcom,sdm845-mdss" },