Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
Sent: https://lore.kernel.org/r/[email protected] Narrowed it down meanwhile, with the clamp corner selectable on the command line: gmxc pinned at max is harmless. gfx pinned at level 11 (0x1c4, the top of the perf table), 12 or 13 fails every time, level 10 and below boots fine. So it isn't "the rail can't follow", it's the gfx rail sitting at or above the highest level in the table while the firmware calibrates. CLX being a current limiter, a limit entry would be my guess, but that's firmware territory. If the CRD still fails after sync_state, gfx.lvl being held at the top level by something else would be the first thing I'd check there. Oleg
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On 10/20/2026 2:27 PM, Oleg Keri wrote:
> I guess this should be investigated further. Yoga Slim 7x Gen 11, no modules,
> firmware built in, so the GMU comes up at 0.6 s.
>
> It's rpmhpd. Before its sync_state, rpmhpd_aggregate_corner() pushes every
> vote to the highest corner. The gxclkctl probe does a runtime resume/suspend
> of its GFX and GMXC domains at 0.18 s (qcom_cc_probe -> pm_runtime -> genpd
> -> rpmhpd_power_on), and from that point both rails are stuck at max until
> rpmhpd syncs, which is at 2.8 s here. The GMU then does its CLX DCVS
> calibration on a rail that won't move.
>
> The GMU log buffer (fw v5.2.38) agrees: the calibration trace of the bad
> boot matches the first good one step for step up to the ninth level. There
> it stops, and the firmware puts HFI_F2H_MSG_ERROR 0x007306c7
> "ResMgrCalibrateDcvsLvl" on the debug queue. The GX_BW_PERF_VOTE timeout is
> simply the next message we send.
>
> With gfx and gmxc taken out of the clamp (hack below) the first GPU init at
> 0.6 s just works, CLX tables included. Three boots so far.
>
> The wedged GMU after a failed attempt is a different story. Retries after
> rpmhpd's sync_state still die with "GMU firmware initialization timed out"
> until gpucc's sync_state (fw_devlink timeout, 13 s) collapses CX. That's
> what the gpu_cc_cx_gdsc/NO_STAY_ON thing in my earlier mail was about: the
> recovery, not the cause.
>
> The RSC side is not it. On A8xx the GMU firmware loads the RSC sequencer
> code and TCS slots on its own; preloading them before the first boot made
> no difference.
>
> Abel's CRD failing even with msm loaded at 90 s doesn't match this, unless
> something keeps gfx.lvl high on the CRD after sync_state. Could be a second
> problem.
>
> --- a/drivers/pmdomain/qcom/rpmhpd.c
> +++ b/drivers/pmdomain/qcom/rpmhpd.c
> @@ -1009,7 +1009,7 @@ static int rpmhpd_aggregate_corner(struct rpmhpd *pd,
> unsigned int corner)
> - if (pd->state_synced) {
> + if (pd->state_synced || pd == &gfx || pd == &gmxc) {
> to_active_sleep(pd, corner, &this_active_corner,
> &this_sleep_corner);
> } else {
> /* Clamp to highest corner if sync_state hasn't happened */
>
Acked-by: Akhil P Oommen
Could you please send this out as a fix for v7.4? I will respin the gmu driver
series and revert this
bit there. But that would be v7.5 stuff.
-Akhil.
> Oleg
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
I guess this should be investigated further. Yoga Slim 7x Gen 11, no modules,
firmware built in, so the GMU comes up at 0.6 s.
It's rpmhpd. Before its sync_state, rpmhpd_aggregate_corner() pushes every
vote to the highest corner. The gxclkctl probe does a runtime resume/suspend
of its GFX and GMXC domains at 0.18 s (qcom_cc_probe -> pm_runtime -> genpd
-> rpmhpd_power_on), and from that point both rails are stuck at max until
rpmhpd syncs, which is at 2.8 s here. The GMU then does its CLX DCVS
calibration on a rail that won't move.
The GMU log buffer (fw v5.2.38) agrees: the calibration trace of the bad
boot matches the first good one step for step up to the ninth level. There
it stops, and the firmware puts HFI_F2H_MSG_ERROR 0x007306c7
"ResMgrCalibrateDcvsLvl" on the debug queue. The GX_BW_PERF_VOTE timeout is
simply the next message we send.
With gfx and gmxc taken out of the clamp (hack below) the first GPU init at
0.6 s just works, CLX tables included. Three boots so far.
The wedged GMU after a failed attempt is a different story. Retries after
rpmhpd's sync_state still die with "GMU firmware initialization timed out"
until gpucc's sync_state (fw_devlink timeout, 13 s) collapses CX. That's
what the gpu_cc_cx_gdsc/NO_STAY_ON thing in my earlier mail was about: the
recovery, not the cause.
The RSC side is not it. On A8xx the GMU firmware loads the RSC sequencer
code and TCS slots on its own; preloading them before the first boot made
no difference.
Abel's CRD failing even with msm loaded at 90 s doesn't match this, unless
something keeps gfx.lvl high on the CRD after sync_state. Could be a second
problem.
--- a/drivers/pmdomain/qcom/rpmhpd.c
+++ b/drivers/pmdomain/qcom/rpmhpd.c
@@ -1009,7 +1009,7 @@ static int rpmhpd_aggregate_corner(struct rpmhpd *pd,
unsigned int corner)
- if (pd->state_synced) {
+ if (pd->state_synced || pd == &gfx || pd == &gmxc) {
to_active_sleep(pd, corner, &this_active_corner,
&this_sleep_corner);
} else {
/* Clamp to highest corner if sync_state hasn't happened */
Oleg
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On 26-05-16 01:37:51, Akhil P Oommen wrote: > Add the CLX domain table and the IFF/PCLX limits tables to the catalog to > enable CLX feature support on Adreno X2-85 GPU present in the Glymur > chipset. Same on Glymur CRD with next-20261013, GMU fw v5.2.38: [6.619232] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt [msm]] *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for response [6.629590] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob [msm]] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x4 [6.629750] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu [msm]] *ERROR* gpu hw init failed: -110 [ 14.795082] platform 3d6c000.gmu: [drm:a6xx_gmu_resume [msm]] *ERROR* GMU firmware initialization timed out Dropping just the .clx_tbl/.limits_tbl from the 0x44070001 entry fixes it. Tried on top of next-20261013, no change: - the QCOM_SCM_GPU_CLX_EN_REQ change - GENPD_FLAG_NO_STAY_ON on gpu_cc_cx_gdsc - modprobe.blacklist=msm and modprobe msm at ~90s, after all sync_state() calls are done So on CRD it is not an ordering issue. The CLX/IFF_PCLX HFI messages are all acked, then the first GX_BW_PERF_VOTE never gets a reply and the GMU stays wedged after that.
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On 10/2/26 19:47, Oleg Keri wrote: >> This patch landed in next-20261001 and while it works on my Glymur CRD >> (COB), on the Asus Zenbook A14 I see the following failure during boot: > > Same on a Lenovo Yoga Slim 7x Gen 11 (Glymur) with next-20261001, GMU > firmware v5.2.38: > > [1.632277] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt] > *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for > response > [1.642345] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout > waiting for GMU OOB set GPU_SET: 0x4 > [1.642360] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* gpu hw init failed: -110 > [8.053367] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU > firmware initialization timed out > [8.053584] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* Couldn't power up the GPU: -110 > > Compositor fails on the first start and works on the second. > > Reverting this patch fixes it here as well. What's the status here? Was this fixed meanwhile? Or is this regression how heading towards mainline now that the merge window is open? Ciao, Thorsten
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On Mon, Oct 19, 2026 at 6:47 AM Thorsten Leemhuis wrote: > > On 10/2/26 19:47, Oleg Keri wrote: > >> This patch landed in next-20261001 and while it works on my Glymur CRD > >> (COB), on the Asus Zenbook A14 I see the following failure during boot: > > > > Same on a Lenovo Yoga Slim 7x Gen 11 (Glymur) with next-20261001, GMU > > firmware v5.2.38: > > > > [1.632277] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt] > > *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for > > response > > [1.642345] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout > > waiting for GMU OOB set GPU_SET: 0x4 > > [1.642360] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > > *ERROR* gpu hw init failed: -110 > > [8.053367] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU > > firmware initialization timed out > > [8.053584] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > > *ERROR* Couldn't power up the GPU: -110 > > > > Compositor fails on the first start and works on the second. > > > > Reverting this patch fixes it here as well. > What's the status here? Was this fixed meanwhile? Or is this regression > how heading towards mainline now that the merge window is open? AFAIU this is still open.. but seems to be contained to a non-typical config (modules + fw built-in). It seems to be caused by trying to initialize the GPU (and send the CLX tables to the GMU) before _something_ else is ready. Tracking down what that _something_ is is still ongoing. OTOH not having CLX could lead to problems exceeding hw current limits, which itself is a problem. And why I did not revert CLX. BR, -R
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On Sat, Oct 03, 2026, Akhil P Oommen wrote: > Could you please try this fix? I tried it on the Lenovo Yoga Slim 7x Gen 11 (next-20261001, built-in firmware): no change, the first GPU init still times out on HFI_H2F_MSG_GX_BW_PERF_VOTE. What I noticed: the first init at probe always fails, and every retry fails as well until gpucc's sync_state is forced by the fw_devlink timeout about 12 s into boot. The GMU node never binds a driver, so gpucc gets no earlier sync_state, and until then genpd keeps gpu_cc_cx_gdsc on. With GENPD_FLAG_NO_STAY_ON on gpu_cc_cx_gdsc the retry when the compositor starts succeeds. Oleg
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On 10/2/2026 8:08 PM, Bjorn Andersson wrote:
> On Sat, May 16, 2026 at 01:37:51AM +0530, Akhil P Oommen wrote:
>> Add the CLX domain table and the IFF/PCLX limits tables to the catalog to
>> enable CLX feature support on Adreno X2-85 GPU present in the Glymur
>> chipset.
>>
>
> This patch landed in next-20261001 and while it works on my Glymur CRD
> (COB), on the Asus Zenbook A14 I see the following failure during boot:
>
> [4.843643] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt
> [msm]] *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting
> for response
> [4.853804] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob [msm]] *ERROR*
> Timeout waiting for GMU OOB set GPU_SET: 0x4
> [4.853878] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu
> [msm]] *ERROR* gpu hw init failed: -110
> [4.863980] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob [msm]] *ERROR*
> Timeout waiting for GMU OOB set GPU_SET: 0x4
> [4.864038] platform 3d6c000.gmu: [drm:a6xx_hfi_stop [msm]] *ERROR* HFI
> queue 2 is not empty
> [5.128548] [ cut here ]
>
> And then as one can expect there's no more GPU.
>
> Reverting this single patch makes next-20261001 work again.
>
> #regzb introduced: 93b6c8d10fad ("drm/msm/a8xx: Enable CLX feature on Adreno
> X2-85")
Could you please try this fix?
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
index 662f09bec9d5..52cd60272870 100644
--- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
+++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
@@ -1241,8 +1241,12 @@ static int a6xx_gmu_secure_init(struct a6xx_gpu
*a6xx_gpu)
goto done;
}
- ret = qcom_scm_gpu_init_regs(QCOM_SCM_GPU_ALWAYS_EN_REQ |
-QCOM_SCM_GPU_TSENSE_EN_REQ);
+ u32 gpu_req = QCOM_SCM_GPU_ALWAYS_EN_REQ |
QCOM_SCM_GPU_TSENSE_EN_REQ;
+
+ if (adreno_gpu->info->a6xx->clx_tbl)
+ gpu_req |= QCOM_SCM_GPU_CLX_EN_REQ;
+
+ ret = qcom_scm_gpu_init_regs(gpu_req);
if (ret) {
dev_warn_once(gpu->dev->dev,
"SCM call failed\n");
>
> Regards,
> Bjorn
>
>> Signed-off-by: Akhil P Oommen
>> ---
>> drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 86
>> +++
>> 1 file changed, 86 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
>> b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
>> index c503912a61c7..9ad13eb173de 100644
>> --- a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
>> +++ b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
>> @@ -1799,6 +1799,90 @@ static const struct adreno_reglist_pipe
>> x285_dyn_pwrup_reglist_regs[] = {
>> };
>> DECLARE_ADRENO_REGLIST_PIPE_LIST(x285_dyn_pwrup_reglist);
>>
>> +static const struct a6xx_hfi_clx_table_v2_cmd x285_clx_tbl = {
>> +.version = (2 << 16) | 1,
>> +.domain = {
>> +/* GX DOMAIN */
>> +{
>> +.data = CLX_DATA(60, 11, 0, 1),
>> +.clxt = 0,
>> +.clxh = 0,
>> +.urg_mode = 1,
>> +.lkg_en = 0,
>> +.curr_budget = 100,
>> +},
>> +/* MXG DOMAIN */
>> +{
>> +.data = CLX_DATA(60, 3, 1, 1),
>> +.clxt = 0,
>> +.clxh = 0,
>> +.urg_mode = 1,
>> +.lkg_en = 0,
>> +.curr_budget = 100,
>> +},
>> +},
>> +};
>> +
>> +struct a6xx_hfi_limits_tbl x285_limits_tbl[] = {
>> +{
>> +.feature_id = GMU_MIT_IFF,
>> +.domain = GMU_GX_DOMAIN,
>> +.feature_rev = 0,
>> +.cfg = {
>> +.enable = 1,
>> +.msg_path = 0,
>> +.lkg_en = 0,
>> +.mode = 0,
>> +.sid = 12,
>> +.mit_time = 5,
>> +.curr_limit = 18000,
>> +},
>> +},
>> +{
>> +.feature_id = GMU_MIT_IFF,
>> +.domain = GMU_MX_DOMAIN,
>> +.feature_rev = 0,
>> +.cfg = {
>> +.enable = 1,
>> +.msg_path = 0,
>> +.lkg_en = 0,
>> +.mode = 0,
>> +.sid = 18,
>> +.mit_time = 2000,
>> +.curr_limit = 6000,
>> +},
>> +},
>> +{
>> +.feature_id = GMU_MIT_PCLX,
>> +.domain = GMU_GX_DOMAIN,
>> +.feature_rev = 0,
>> +.cfg = {
>> +.enable = 1,
>> +.msg_path = 0,
>> +.lkg_en = 0,
>> +.mode = 0,
>> +.sid = 6,
>> +.mit_time = 3,
>> +
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On Fri, Oct 2, 2026 at 11:29 AM Oleg Keri wrote: > > On Fri, Oct 02, 2026, Rob Clark wrote: > > Can you share `dmesg | grep drm`? In my case the initrd is missing fw > > so gpu is initialized later, I guess when the compositor starts. > > Here it is. The kernel is built without modules and with the firmware > built in, so the GPU is brought up right at boot. The GMU firmware is > gen80100_gmu.bin from linux-firmware (v5.2.38). > > [0.620358] msm_dpu ae01000.display-controller: [drm] Using Transparent > Hugepage > [0.621120] [drm:dpu_kms_hw_init:1168] dpu hardware revision:0xc002 > [0.625910] [drm] Initialized msm 1.13.0 for ae01000.display-controller on > minor 0 > [0.626015] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] > loaded qcom/gen80100_sqe.fw from new location > [0.626115] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] > loaded qcom/gen80100_gmu.bin from new location > [0.626994] [drm] Loaded GMU firmware v5.2.38 > [1.632277] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt] > *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for > response > [1.642345] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout > waiting for GMU OOB set GPU_SET: 0x4 > [1.642360] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* gpu hw init failed: -110 > [1.652389] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout > waiting for GMU OOB set GPU_SET: 0x4 > [1.652401] platform 3d6c000.gmu: [drm:a6xx_hfi_stop] *ERROR* HFI queue 2 > is not empty > [1.858322] msm_dpu ae01000.display-controller: [drm] fb0: msmdrmfb frame > buffer device > [8.053367] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU > firmware initialization timed out > [8.053584] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* Couldn't power up the GPU: -110 > [8.187443] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU > firmware initialization timed out > [8.187650] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* Couldn't power up the GPU: -110 > Ok, now it would be interesting to compare the same from Bjorn's CRD vs zenbook.. BR, -R
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On Fri, Oct 02, 2026, Rob Clark wrote: > Can you share `dmesg | grep drm`? In my case the initrd is missing fw > so gpu is initialized later, I guess when the compositor starts. Here it is. The kernel is built without modules and with the firmware built in, so the GPU is brought up right at boot. The GMU firmware is gen80100_gmu.bin from linux-firmware (v5.2.38). [0.620358] msm_dpu ae01000.display-controller: [drm] Using Transparent Hugepage [0.621120] [drm:dpu_kms_hw_init:1168] dpu hardware revision:0xc002 [0.625910] [drm] Initialized msm 1.13.0 for ae01000.display-controller on minor 0 [0.626015] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/gen80100_sqe.fw from new location [0.626115] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/gen80100_gmu.bin from new location [0.626994] [drm] Loaded GMU firmware v5.2.38 [1.632277] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt] *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for response [1.642345] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x4 [1.642360] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] *ERROR* gpu hw init failed: -110 [1.652389] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x4 [1.652401] platform 3d6c000.gmu: [drm:a6xx_hfi_stop] *ERROR* HFI queue 2 is not empty [1.858322] msm_dpu ae01000.display-controller: [drm] fb0: msmdrmfb frame buffer device [8.053367] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU firmware initialization timed out [8.053584] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] *ERROR* Couldn't power up the GPU: -110 [8.187443] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU firmware initialization timed out [8.187650] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] *ERROR* Couldn't power up the GPU: -110 Oleg
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On Fri, Oct 2, 2026 at 10:47 AM Oleg Keri wrote: > > Same on a Lenovo Yoga Slim 7x Gen 11 (Glymur) with next-20261001, GMU > firmware v5.2.38: > > [1.632277] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt] > *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for > response > [1.642345] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout > waiting for GMU OOB set GPU_SET: 0x4 > [1.642360] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* gpu hw init failed: -110 > [8.053367] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU > firmware initialization timed out > [8.053584] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] > *ERROR* Couldn't power up the GPU: -110 > > Compositor fails on the first start and works on the second. > > Reverting this patch fixes it here as well. Interesting.. I'd been using this patch, but cherry-picked on v7.3-rc3 (on glymur slim7x) for a few weeks with no issue Can you share `dmesg | grep drm`? In my case the initrd is missing fw so gpu is initialized later, I guess when the compositor starts. BR, -R
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
Same on a Lenovo Yoga Slim 7x Gen 11 (Glymur) with next-20261001, GMU firmware v5.2.38: [1.632277] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt] *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for response [1.642345] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x4 [1.642360] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] *ERROR* gpu hw init failed: -110 [8.053367] platform 3d6c000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU firmware initialization timed out [8.053584] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] *ERROR* Couldn't power up the GPU: -110 Compositor fails on the first start and works on the second. Reverting this patch fixes it here as well. Oleg
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On Sat, May 16, 2026 at 01:37:51AM +0530, Akhil P Oommen wrote:
> Add the CLX domain table and the IFF/PCLX limits tables to the catalog to
> enable CLX feature support on Adreno X2-85 GPU present in the Glymur
> chipset.
>
This patch landed in next-20261001 and while it works on my Glymur CRD
(COB), on the Asus Zenbook A14 I see the following failure during boot:
[4.843643] platform 3d6c000.gmu: [drm:a6xx_hfi_wait_for_msg_interrupt
[msm]] *ERROR* Message HFI_H2F_MSG_GX_BW_PERF_VOTE id 11 timed out waiting for
response
[4.853804] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob [msm]] *ERROR*
Timeout waiting for GMU OOB set GPU_SET: 0x4
[4.853878] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu [msm]]
*ERROR* gpu hw init failed: -110
[4.863980] platform 3d6c000.gmu: [drm:a6xx_gmu_set_oob [msm]] *ERROR*
Timeout waiting for GMU OOB set GPU_SET: 0x4
[4.864038] platform 3d6c000.gmu: [drm:a6xx_hfi_stop [msm]] *ERROR* HFI
queue 2 is not empty
[5.128548] [ cut here ]
And then as one can expect there's no more GPU.
Reverting this single patch makes next-20261001 work again.
#regzb introduced: 93b6c8d10fad ("drm/msm/a8xx: Enable CLX feature on Adreno
X2-85")
Regards,
Bjorn
> Signed-off-by: Akhil P Oommen
> ---
> drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 86
> +++
> 1 file changed, 86 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> index c503912a61c7..9ad13eb173de 100644
> --- a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> +++ b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> @@ -1799,6 +1799,90 @@ static const struct adreno_reglist_pipe
> x285_dyn_pwrup_reglist_regs[] = {
> };
> DECLARE_ADRENO_REGLIST_PIPE_LIST(x285_dyn_pwrup_reglist);
>
> +static const struct a6xx_hfi_clx_table_v2_cmd x285_clx_tbl = {
> + .version = (2 << 16) | 1,
> + .domain = {
> + /* GX DOMAIN */
> + {
> + .data = CLX_DATA(60, 11, 0, 1),
> + .clxt = 0,
> + .clxh = 0,
> + .urg_mode = 1,
> + .lkg_en = 0,
> + .curr_budget = 100,
> + },
> + /* MXG DOMAIN */
> + {
> + .data = CLX_DATA(60, 3, 1, 1),
> + .clxt = 0,
> + .clxh = 0,
> + .urg_mode = 1,
> + .lkg_en = 0,
> + .curr_budget = 100,
> + },
> + },
> +};
> +
> +struct a6xx_hfi_limits_tbl x285_limits_tbl[] = {
> + {
> + .feature_id = GMU_MIT_IFF,
> + .domain = GMU_GX_DOMAIN,
> + .feature_rev = 0,
> + .cfg = {
> + .enable = 1,
> + .msg_path = 0,
> + .lkg_en = 0,
> + .mode = 0,
> + .sid = 12,
> + .mit_time = 5,
> + .curr_limit = 18000,
> + },
> + },
> + {
> + .feature_id = GMU_MIT_IFF,
> + .domain = GMU_MX_DOMAIN,
> + .feature_rev = 0,
> + .cfg = {
> + .enable = 1,
> + .msg_path = 0,
> + .lkg_en = 0,
> + .mode = 0,
> + .sid = 18,
> + .mit_time = 2000,
> + .curr_limit = 6000,
> + },
> + },
> + {
> + .feature_id = GMU_MIT_PCLX,
> + .domain = GMU_GX_DOMAIN,
> + .feature_rev = 0,
> + .cfg = {
> + .enable = 1,
> + .msg_path = 0,
> + .lkg_en = 0,
> + .mode = 0,
> + .sid = 6,
> + .mit_time = 3,
> + .curr_limit = 66000,
> + },
> + },
> + {
> + .feature_id = GMU_MIT_PCLX,
> + .domain = GMU_MX_DOMAIN,
> + .feature_rev = 0,
> + .cfg = {
> + .enable = 0,
> + .msg_path = 0,
> + .lkg_en = 0,
> + .mode = 0,
> + .sid = 6,
> + .mit_time = 3,
> + .curr_limit = 18000,
> + },
> + },
> +};
> +DECLARE_ADRENO_LIMITS_TABLE(x285_limits);
> +
> static const struct adreno_reglist_pipe a840_nonctxt_regs[] = {
> { REG_A8XX_CP_SMMU_STREAM_ID_LPAC, 0x0101, BIT(PIPE_NONE) },
> { REG_A8XX_GRAS_DBG_ECO_CNTL, 0x0800, BIT(PIPE_BV) | BIT(PIPE_BR) },
> @@ -2227,6 +2311,8 @@ static const struct adreno_info a8xx_gpus[] = {
> },
> { /* sentinel */ },
> },
> + .clx_tbl = &x285_clx_tbl,
> +
Re: [PATCH 3/3] drm/msm/a8xx: Enable CLX feature on Adreno X2-85
On 5/15/26 10:07 PM, Akhil P Oommen wrote: > Add the CLX domain table and the IFF/PCLX limits tables to the catalog to > enable CLX feature support on Adreno X2-85 GPU present in the Glymur > chipset. > > Signed-off-by: Akhil P Oommen > --- Reviewed-by: Konrad Dybcio Konrad
