]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table
authorLokanadha M R <lokanadha.r@oss.qualcomm.com>
Tue, 28 Apr 2026 09:43:50 +0000 (15:13 +0530)
committerWill Deacon <will@kernel.org>
Tue, 19 May 2026 10:59:52 +0000 (11:59 +0100)
Add qcom,glymur-mdss to the qcom_smmu_actlr_client_of_match[]
table to configure the SMMU-500 context bank for the display
subsystem (MDSS) on the Glymur platform.

The settings disable the next-page prefetcher while keeping
macro TLB caching enabled. Without this entry,
qcom_smmu_set_actlr_dev() finds no match for the glymur MDSS
device and leaves the context bank ACTLR at its reset value.

Signed-off-by: Lokanadha M R <lokanadha.r@oss.qualcomm.com>
Reviewed-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c

index 2d006049dd61090c06cb5c47f08c5fbfb391a72e..5747b908e49a6ed979c4adcfa2ba456b45334e09 100644 (file)
@@ -41,6 +41,8 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
                        .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
        { .compatible = "qcom,fastrpc-compute-cb",
                        .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
+       { .compatible = "qcom,glymur-mdss",
+                       .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
        { .compatible = "qcom,qcm2290-mdss",
                        .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
        { .compatible = "qcom,sa8775p-mdss",