arm64: dts: qcom: sc7280: Mark Adreno SMMU as DMA coherent
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 20 Nov 2023 12:12:54 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:23 +0000 (15:35 -0800)
[ Upstream commit 31edad478534186a2718be9206ce7b19f2735f6e ]

The SMMUs on sc7280 are cache-coherent. APPS_SMMU is marked as such,
mark the GPU one as well.

Fixes: 96c471970b7b ("arm64: dts: qcom: sc7280: Add gpu support")
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230926-topic-a643-v2-3-06fa3d899c0a@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index 4903d17..1fa1a61 100644 (file)
                                        "gpu_cc_hub_aon_clk";
 
                        power-domains = <&gpucc GPU_CC_CX_GDSC>;
+                       dma-coherent;
                };
 
                remoteproc_mpss: remoteproc@4080000 {