Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iommu/arm-smmu-qcom: Add actlr settings for mdss on Qualcomm platforms

Add ACTLR settings for missing MDSS devices on Qualcomm platforms.

These are QoS settings and are specific to per SoC thus different
settings, eg: some have shallow prefetch while others have no
prefetch.

Aswell, this prefetch feature is not implemented for all the
platforms, capturing to those are implemented to the best of my
knowledge.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Charan Teja Kalla <charan.kalla@oss.qualcomm.com>
Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Charan Teja Kalla and committed by
Will Deacon
f91879fd df180b1a

+26
+26
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
··· 41 41 .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) }, 42 42 { .compatible = "qcom,fastrpc", 43 43 .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) }, 44 + { .compatible = "qcom,qcm2290-mdss", 45 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 44 46 { .compatible = "qcom,sc7280-mdss", 45 47 .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 46 48 { .compatible = "qcom,sc7280-venus", 47 49 .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 50 + { .compatible = "qcom,sc8180x-mdss", 51 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 52 + { .compatible = "qcom,sc8280xp-mdss", 53 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 54 + { .compatible = "qcom,sm6115-mdss", 55 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 56 + { .compatible = "qcom,sm6125-mdss", 57 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 58 + { .compatible = "qcom,sm6350-mdss", 59 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 60 + { .compatible = "qcom,sm8150-mdss", 61 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 62 + { .compatible = "qcom,sm8250-mdss", 63 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 64 + { .compatible = "qcom,sm8350-mdss", 65 + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, 66 + { .compatible = "qcom,sm8450-mdss", 67 + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, 48 68 { .compatible = "qcom,sm8550-mdss", 69 + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, 70 + { .compatible = "qcom,sm8650-mdss", 71 + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, 72 + { .compatible = "qcom,sm8750-mdss", 73 + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, 74 + { .compatible = "qcom,x1e80100-mdss", 49 75 .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, 50 76 { } 51 77 };