diff --git a/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi b/arch/arm64/boot/dts/qcom/eliza-cqs-som.dtsi index 72434199c421..4c585cd5bae7 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>; diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c index 69d09e95c378..1acf6d78bf01 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 */