From a08ec2713cdc23a2a866028f1d092537135bf610 Mon Sep 17 00:00:00 2001 From: Abel Vesa Date: Thu, 10 Sep 2026 17:08:35 +0300 Subject: [PATCH 1/2] FROMLIST: arm64: dts: qcom: eliza-cqs-som: Enable Adreno A722 GPU Enable the Adreno 722 GPU on the Eliza CQS SoM board and provide the zap shader firmware path. Link: https://lore.kernel.org/r/20260910-dts-qcom-eliza-evk-enable-gpu-v3-1-806bf0fc51de@oss.qualcomm.com Reviewed-by: Konrad Dybcio Signed-off-by: Abel Vesa Signed-off-by: Aditya Sherawat --- arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi b/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi index 72434199c4219..4c585cd5bae73 100644 --- a/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi +++ b/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi @@ -367,6 +367,14 @@ }; }; +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/eliza/gen71700_zap.mbn"; +}; + &pm7550ba_eusb2_repeater { vdd18-supply = <&vreg_l7b>; vdd3-supply = <&vreg_l17b>; From c90a3973e1b5a0466ef351843aaff6565183fb57 Mon Sep 17 00:00:00 2001 From: Tyler Baker Date: Fri, 30 Oct 2026 15:20:14 -0400 Subject: [PATCH 2/2] FROMLIST: drm/msm/a6xx: fall back to MX when gmxc.lvl has no levels Eliza's command DB has a gmxc.lvl entry with an all-zero level table, though Eliza does not use a GMxC rail. a6xx_gmu_rpmh_votes_init() picks any gmxc.lvl entry as the GX secondary rail, so building the GX votes fails, a6xx_gmu_init() ignores the error and the GMU gets a zeroed GX vote table. On the A722 the first GX_BW_PERF_VOTE HFI then times out and the GPU stops responding. Before a6xx_gmu_rpmh_read_arc() began trimming trailing zero levels, every GX vote silently used level 0. Read gmxc.lvl with a6xx_gmu_rpmh_read_arc(), which rejects an entry without levels, so the GX votes fall back to mx.lvl. Link: https://lore.kernel.org/lkml/20261030192014.694393-1-tyler.baker@oss.qualcomm.com/ Fixes: 96a0d30c5bea ("FROMLIST: drm/msm/a6xx: Factor out RPMh arc-vote helpers") Signed-off-by: Tyler Baker Reviewed-by: Konrad Dybcio Signed-off-by: Aditya Sherawat --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c index 69d09e95c3784..1acf6d78bf01a 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c @@ -1912,15 +1912,16 @@ static int a6xx_gmu_rpmh_votes_init(struct a6xx_gmu *gmu) struct adreno_gpu *adreno_gpu = &a6xx_gpu->base; const struct a6xx_info *info = adreno_gpu->info->a6xx; struct msm_gpu *gpu = &adreno_gpu->base; + size_t gmxc_lvl_count; const char *sec_id; const u16 *gmxc; int ret; - gmxc = cmd_db_read_aux_data("gmxc.lvl", NULL); + gmxc = a6xx_gmu_rpmh_read_arc("gmxc.lvl", &gmxc_lvl_count); if (gmxc == ERR_PTR(-EPROBE_DEFER)) return -EPROBE_DEFER; - /* If GMxC is present, prefer that as secondary rail for GX votes */ + /* If GMxC has levels, prefer it as the secondary rail for GX votes */ sec_id = IS_ERR_OR_NULL(gmxc) ? "mx.lvl" : "gmxc.lvl"; /* Build the GX votes */