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

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

Merge "msm: vidc: correctly calculate core workload"

parents 678d06d8 1cbfa3d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1469,7 +1469,8 @@ static u32 get_core_load(struct msm_vidc_core *core,
		}
		current_inst_mbs_per_sec = msm_comm_get_inst_load_per_core(inst,
				LOAD_CALC_NO_QUIRKS);
		load += current_inst_mbs_per_sec * cycles;
		load += current_inst_mbs_per_sec * cycles /
			inst->clk_data.work_route;
	}
	mutex_unlock(&core->lock);