[PATCH RFT 1/2] firmware: qcom: scm: Introduce CP_SMMU_APERTURE_ID

Konrad Dybcio konradybcio at kernel.org
Thu Oct 3 16:48:13 UTC 2024


On 3.10.2024 5:01 AM, Bjorn Andersson wrote:
> The QCOM_SCM_SVC_MP service provides QCOM_SCM_MP_CP_SMMU_APERTURE_ID,
> which is used to trigger the mapping of register banks into the SMMU
> context for per-processes page tables to function (in case this isn't
> statically setup by firmware).
> 
> This is necessary on e.g. QCS6490 Rb3Gen2, in order to avoid "CP | AHB
> bus error"-errors from the GPU.
> 
> Introduce a function to allow the msm driver to invoke this call.
> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson at oss.qualcomm.com>
> ---

Tested-by: Konrad Dybcio <konradybcio at kernel.org> # FP5
Reviewed-by: Konrad Dybcio <konradybcio at kernel.org>

Konrad


More information about the Freedreno mailing list