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

Commit 82f00c04 authored by Vasantha Balla's avatar Vasantha Balla
Browse files

msm: vidc: Allow NRT session above max load



Allow session even if load > max load for
NRT session.

Change-Id: Ie56a301a72d8af30af19918b817e6903ac005374
Signed-off-by: default avatarVasantha Balla <quic_vballa@quicinc.com>
parent bfbb4c1a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -1750,10 +1750,14 @@ int msm_vidc_decide_core_and_power_mode_iris1(struct msm_vidc_inst *inst)
		s_vpr_h(inst->sid, "Moved all inst's to LP");
		msm_vidc_move_core_to_power_save_mode(core,
			VIDC_CORE_ID_1, inst->sid);
	} else {
		if (!is_realtime_session(inst)) {
			s_vpr_h(inst->sid, "Supporting NRT session");
		} else {
			s_vpr_e(inst->sid, "Core cannot support this load\n");
			return -EINVAL;
		}
	}

	inst->clk_data.core_id = VIDC_CORE_ID_1;
	rc = msm_comm_scale_clocks_and_bus(inst, 1);