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

Commit 93838784 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Allow NRT session above max load"

parents aa2310c7 82f00c04
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -1769,10 +1769,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);