Loading drivers/gpu/msm/kgsl_gmu.c +9 −0 Original line number Diff line number Diff line Loading @@ -705,6 +705,8 @@ static int rpmh_arc_votes_init(struct kgsl_device *device, int i, ret; struct dev_pm_opp *opp; uint16_t cx_vlvl[MAX_GX_LEVELS] = { 64, 128, 192, 256, 384, 416 }; if (type == GPU_ARC_VOTE) { num_freqs = gmu->num_gpupwrlevels; votes = gmu->rpmh_votes.gx_votes; Loading Loading @@ -734,6 +736,13 @@ static int rpmh_arc_votes_init(struct kgsl_device *device, continue; } /* Hardcode GMU ARC Vote levels for A650 */ if (adreno_is_a650(ADRENO_DEVICE(device)) && type == GMU_ARC_VOTE) { vlvl_tbl[i] = cx_vlvl[i]; continue; } /* Otherwise get the value from the OPP API */ opp = dev_pm_opp_find_freq_exact(dev, freq_tbl[i], true); if (IS_ERR(opp)) { Loading Loading
drivers/gpu/msm/kgsl_gmu.c +9 −0 Original line number Diff line number Diff line Loading @@ -705,6 +705,8 @@ static int rpmh_arc_votes_init(struct kgsl_device *device, int i, ret; struct dev_pm_opp *opp; uint16_t cx_vlvl[MAX_GX_LEVELS] = { 64, 128, 192, 256, 384, 416 }; if (type == GPU_ARC_VOTE) { num_freqs = gmu->num_gpupwrlevels; votes = gmu->rpmh_votes.gx_votes; Loading Loading @@ -734,6 +736,13 @@ static int rpmh_arc_votes_init(struct kgsl_device *device, continue; } /* Hardcode GMU ARC Vote levels for A650 */ if (adreno_is_a650(ADRENO_DEVICE(device)) && type == GMU_ARC_VOTE) { vlvl_tbl[i] = cx_vlvl[i]; continue; } /* Otherwise get the value from the OPP API */ opp = dev_pm_opp_find_freq_exact(dev, freq_tbl[i], true); if (IS_ERR(opp)) { Loading