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)
commit5fba66d42746c9b8063de7ce4565d0173da657a2
tree552896a410eb8a88ab2f227ce7c4901bd295cee3
parentc2b83395e558ada255fead5b9c9c724d9d487cdb
iommu/arm-smmu-qcom: Select identity domain for sc8280xp MDSS

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