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

Commit 79457f10 authored by Paras Nagda's avatar Paras Nagda Committed by Gerrit - the friendly Code Review server
Browse files

vidc_3x: update the condition for load check



load calculation check should be for a
non realtime session else it will result
in hardware overload error.

Change-Id: I86675d4e4f37a4c3c0e6080393255ad11c6ee6f9
Signed-off-by: default avatarParas Nagda <pnagda@codeaurora.org>
parent d80b9b5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ int msm_comm_get_inst_load(struct msm_vidc_inst *inst,
	 * ----------------|----------------------|------------------------|
	 */

	if (is_realtime_session(inst) &&
	if (!is_realtime_session(inst) &&
		(quirks & LOAD_CALC_IGNORE_NON_REALTIME_LOAD)) {
		if (!inst->prop.fps) {
			dprintk(VIDC_INFO, "instance:%pK fps = 0\n", inst);