Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d98dba68 authored by Alok Chauhan's avatar Alok Chauhan Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: cpas: Updated new api to limit gpu fmax



Existing gfx api returns failure when requested frequency
is larger than fmax supported. Updated new gfx api to limit
gpu fmax.

CRs-Fixed: 2684122
Change-Id: Idfb9232b7a2885adbed83851c41ed316a6b23590
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 724be4da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1339,7 +1339,7 @@ static int cam_cpas_hw_start(void *hw_priv, void *start_args,
		soc_private->gpu_pwr_limit =
			kgsl_pwr_limits_add(KGSL_DEVICE_3D0);
		if (soc_private->gpu_pwr_limit) {
			rc = kgsl_pwr_limits_set_freq(
			rc = kgsl_pwr_limits_set_gpu_fmax(
				soc_private->gpu_pwr_limit,
				soc_private->cx_ipeak_gpu_limit);
			if (rc) {