Support for per-page tables requires the SMMU aparture to be setup, on
some targets this is done statically in firmware, on others it's
expected to be requested in runtime by the driver, through a SCM call.
Marking the series as RFT, as this has been tested on a few different
modern platforms, but only with Qualcomm presence in EL2.
Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
---
Bjorn Andersson (2):
firmware: qcom: scm: Introduce CP_SMMU_APERTURE_ID
drm/msm/adreno: Setup SMMU aparture for per-process page table
drivers/firmware/qcom/qcom_scm.c | 19 +++++++++++++++++++
drivers/firmware/qcom/qcom_scm.h | 1 +
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 10 ++++++++++
include/linux/firmware/qcom/qcom_scm.h | 1 +
4 files changed, 31 insertions(+)
---
base-commit: fe21733536749bb1b31c9c84e0b8d2ab8d82ce13
change-id: 20241002-adreno-smmu-aparture-fe7d5a1cb834
Best regards,
--
Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>