From: Akhil P Oommen <akhilpo@oss.qualcomm.com>
To: Konrad Dybcio <konradybcio@kernel.org>,
Rob Clark <robin.clark@oss.qualcomm.com>,
Sean Paul <sean@poorly.run>, Dmitry Baryshkov <lumag@kernel.org>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Jessica Zhang <jesszhan0024@gmail.com>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: Re: [PATCH RFT 8/8] drm/msm/a6xx: Wire up IFPC on A615-family GPUs
Date: Fri, 27 Nov 2026 01:12:17 +0530 [thread overview]
Message-ID: <86e748e7-1cde-41b9-a1d5-905e62a44d36@oss.qualcomm.com> (raw)
In-Reply-To: <20261030-topic-a6xx_ifpc-v1-8-6992841a9a32@oss.qualcomm.com>
On 10/30/2026 3:34 PM, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> They reuse the existing tables, so just wire them up.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
-Akhil
> ---
> drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 24 ++++++++++++++++++++----
> 1 file changed, 20 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> index 2d59f7735c90..257771d4eb4d 100644
> --- a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> +++ b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> @@ -1012,7 +1012,8 @@ static const struct adreno_info a6xx_gpus[] = {
> [ADRENO_FW_GMU] = "a630_gmu.bin",
> },
> .gmem = SZ_512K,
> - .quirks = ADRENO_QUIRK_4GB_VA,
> + .quirks = ADRENO_QUIRK_4GB_VA |
> + ADRENO_QUIRK_IFPC,
> .inactive_period = DRM_MSM_INACTIVE_PERIOD,
> .funcs = &a6xx_gpu_funcs,
> .zapfw = "a615_zap.mdt",
> @@ -1021,6 +1022,8 @@ static const struct adreno_info a6xx_gpus[] = {
> .protect = &a630_protect,
> .gmu_cgc_mode = 0x00000222,
> .prim_fifo_threshold = 0x0018000,
> + .ifpc_reglist = &a630_ifpc_reglist,
> + .pwrup_reglist = &a640_pwrup_reglist,
> },
> .speedbins = ADRENO_SPEEDBINS(
> /*
> @@ -1044,7 +1047,8 @@ static const struct adreno_info a6xx_gpus[] = {
> .gmem = SZ_512K,
> .inactive_period = DRM_MSM_INACTIVE_PERIOD,
> .quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT |
> - ADRENO_QUIRK_4GB_VA,
> + ADRENO_QUIRK_4GB_VA |
> + ADRENO_QUIRK_IFPC,
> .funcs = &a6xx_gpu_funcs,
> .zapfw = "a615_zap.mbn",
> .a6xx = &(const struct a6xx_info) {
> @@ -1052,6 +1056,8 @@ static const struct adreno_info a6xx_gpus[] = {
> .protect = &a630_protect,
> .gmu_cgc_mode = 0x00000222,
> .prim_fifo_threshold = 0x00180000,
> + .ifpc_reglist = &a630_ifpc_reglist,
> + .pwrup_reglist = &a640_pwrup_reglist,
> },
> .speedbins = ADRENO_SPEEDBINS(
> { 0, 0 },
> @@ -1071,12 +1077,15 @@ static const struct adreno_info a6xx_gpus[] = {
> .gmem = SZ_512K,
> .inactive_period = DRM_MSM_INACTIVE_PERIOD,
> .quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT |
> - ADRENO_QUIRK_4GB_VA,
> + ADRENO_QUIRK_4GB_VA |
> + ADRENO_QUIRK_IFPC,
> .funcs = &a6xx_gpu_funcs,
> .a6xx = &(const struct a6xx_info) {
> .protect = &a630_protect,
> .gmu_cgc_mode = 0x00000222,
> .prim_fifo_threshold = 0x00180000,
> + .ifpc_reglist = &a630_ifpc_reglist,
> + .pwrup_reglist = &a640_pwrup_reglist,
> },
> .speedbins = ADRENO_SPEEDBINS(
> { 0, 0 },
> @@ -1102,6 +1111,8 @@ static const struct adreno_info a6xx_gpus[] = {
> .protect = &a630_protect,
> .gmu_cgc_mode = 0x00000222,
> .prim_fifo_threshold = 0x00018000,
> + .ifpc_reglist = &a630_ifpc_reglist,
> + .pwrup_reglist = &a640_pwrup_reglist,
> },
> .speedbins = ADRENO_SPEEDBINS(
> { 0, 0 },
> @@ -1127,6 +1138,8 @@ static const struct adreno_info a6xx_gpus[] = {
> .protect = &a630_protect,
> .gmu_cgc_mode = 0x00000222,
> .prim_fifo_threshold = 0x00018000,
> + .ifpc_reglist = &a630_ifpc_reglist,
> + .pwrup_reglist = &a640_pwrup_reglist,
> },
> .speedbins = ADRENO_SPEEDBINS(
> { 0, 0 },
> @@ -1143,7 +1156,8 @@ static const struct adreno_info a6xx_gpus[] = {
> },
> .gmem = SZ_512K,
> .quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT |
> - ADRENO_QUIRK_4GB_VA,
> + ADRENO_QUIRK_4GB_VA |
> + ADRENO_QUIRK_IFPC,
> .inactive_period = DRM_MSM_INACTIVE_PERIOD,
> .funcs = &a6xx_gpu_funcs,
> .zapfw = "a615_zap.mdt",
> @@ -1152,6 +1166,8 @@ static const struct adreno_info a6xx_gpus[] = {
> .protect = &a630_protect,
> .gmu_cgc_mode = 0x00000222,
> .prim_fifo_threshold = 0x00018000,
> + .ifpc_reglist = &a630_ifpc_reglist,
> + .pwrup_reglist = &a640_pwrup_reglist,
> },
> .speedbins = ADRENO_SPEEDBINS(
> { 0, 0 },
>
prev parent reply other threads:[~2026-11-26 19:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 10:03 [PATCH 0/8] IFPC support for A6xx Konrad Dybcio
2026-10-30 10:03 ` [PATCH 1/8] drm/msm/a6xx: Polish up the IFPC counter enable Konrad Dybcio
2026-11-23 21:39 ` Akhil P Oommen
2026-10-30 10:03 ` [PATCH 2/8] drm/msm/adreno: Register GPU debugfs only on the primary minor Konrad Dybcio
2026-10-30 10:03 ` [PATCH 3/8] drm/msm/a6xx: Expose GMU IFPC entry count in debugfs Konrad Dybcio
2026-11-26 19:13 ` Akhil P Oommen
2026-10-30 10:04 ` [PATCH 4/8] drm/msm/a6xx: Add A6xx IFPC support Konrad Dybcio
2026-11-26 19:21 ` Akhil P Oommen
2026-10-30 10:04 ` [PATCH 5/8] drm/msm/a6xx: Add IFPC tables for Adreno 630 Konrad Dybcio
2026-11-26 19:24 ` Akhil P Oommen
2026-10-30 10:04 ` [PATCH 6/8] drm/msm/a6xx: Add IFPC tables for Adreno 640/680 Konrad Dybcio
2026-11-26 19:26 ` Akhil P Oommen
2026-10-30 10:04 ` [PATCH RFT 7/8] drm/msm/a6xx: Add IFPC tables for Adreno 650 family Konrad Dybcio
2026-11-19 6:20 ` Demeter Barna
2026-11-26 19:33 ` Akhil P Oommen
2026-10-30 10:04 ` [PATCH RFT 8/8] drm/msm/a6xx: Wire up IFPC on A615-family GPUs Konrad Dybcio
2026-11-26 19:42 ` Akhil P Oommen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86e748e7-1cde-41b9-a1d5-905e62a44d36@oss.qualcomm.com \
--to=akhilpo@oss.qualcomm.com \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®