mbox series

[v2,0/2] drm/msm/adreno: Setup SMMU aparture

Message ID 20241110-adreno-smmu-aparture-v2-0-9b1fb2ee41d4@oss.qualcomm.com (mailing list archive)
Headers show
Series drm/msm/adreno: Setup SMMU aparture | expand

Message

Bjorn Andersson Nov. 10, 2024, 5:33 p.m. UTC
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.

I did receive Tested-by from Konrad and Jessica, not picking these up,
as I change the firmware call pattern in this version by introducing a
"is_available" check.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
---
Changes in v2:
- Added a check to see if the SCM call is available, to avoid possibly
  error prints.
- Link to v1: https://lore.kernel.org/r/20241002-adreno-smmu-aparture-v1-0-e9a63c9ccef5@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        | 26 ++++++++++++++++++++++++++
 drivers/firmware/qcom/qcom_scm.h        |  1 +
 drivers/gpu/drm/msm/adreno/adreno_gpu.c | 11 +++++++++++
 include/linux/firmware/qcom/qcom_scm.h  |  2 ++
 4 files changed, 40 insertions(+)
---
base-commit: 929beafbe7acce3267c06115e13e03ff6e50548a
change-id: 20241002-adreno-smmu-aparture-fe7d5a1cb834

Best regards,

Comments

Bjorn Andersson Nov. 11, 2024, 6:08 p.m. UTC | #1
On Sun, 10 Nov 2024 09:33:39 -0800, Bjorn Andersson wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/2] firmware: qcom: scm: Introduce CP_SMMU_APERTURE_ID
      commit: 1af75b2ad08bd5977c51c2d0fc11741a4c0a48d9
[2/2] drm/msm/adreno: Setup SMMU aparture for per-process page table
      commit: 98e5b7f98356cef2f13b54862ca9ac016b71ff06

Best regards,