[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241110-adreno-smmu-aparture-v2-0-9b1fb2ee41d4@oss.qualcomm.com>
Date: Sun, 10 Nov 2024 09:33:39 -0800
From: Bjorn Andersson <bjorn.andersson@....qualcomm.com>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Rob Clark <robdclark@...il.com>, Sean Paul <sean@...rly.run>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Marijn Suijten <marijn.suijten@...ainline.org>,
David Airlie <airlied@...il.com>,
Jessica Zhang <quic_jesszhan@...cinc.com>,
Simona Vetter <simona@...ll.ch>
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, freedreno@...ts.freedesktop.org,
Bjorn Andersson <bjorn.andersson@....qualcomm.com>
Subject: [PATCH v2 0/2] drm/msm/adreno: Setup SMMU aparture
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@....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,
--
Bjorn Andersson <bjorn.andersson@....qualcomm.com>
Powered by blists - more mailing lists