Patch "arm64: dts: qcom: sc7280: Fix up GPU SIDs" has been added to the 6.7-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: qcom: sc7280: Fix up GPU SIDs

to the 6.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-qcom-sc7280-fix-up-gpu-sids.patch
and it can be found in the queue-6.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 127fd247cad390278a1ca174b90b53d7353fb6c4
Author: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Date:   Mon Nov 20 13:12:53 2023 +0100

    arm64: dts: qcom: sc7280: Fix up GPU SIDs
    
    [ Upstream commit 94085049fdad7a36fe14dd55e72e712fe55d6bca ]
    
    GPU_SMMU SID 1 is meant for Adreno LPAC (Low Priority Async Compute).
    On platforms that support it (in firmware), it is necessary to
    describe that link, or Adreno register access will hang the board.
    
    The current settings are functionally identical, *but* due to what is
    likely hardcoded security policies, the secure firmware rejects them,
    resulting in the board hanging. To avoid that, alter the settings such
    that SID 0 and 1 are described separately.
    
    Fixes: 96c471970b7b ("arm64: dts: qcom: sc7280: Add gpu support")
    Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230926-topic-a643-v2-2-06fa3d899c0a@xxxxxxxxxx
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 6d01262199dc..ea183eadf700 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -2598,7 +2598,8 @@ gpu: gpu@3d00000 {
 				    "cx_mem",
 				    "cx_dbgc";
 			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
-			iommus = <&adreno_smmu 0 0x401>;
+			iommus = <&adreno_smmu 0 0x400>,
+				 <&adreno_smmu 1 0x400>;
 			operating-points-v2 = <&gpu_opp_table>;
 			qcom,gmu = <&gmu>;
 			interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux