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

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

Merge "msm: vidc: Enable 4K@120fps Video Playback"

parents 5453bea4 d037a293
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -1308,11 +1308,11 @@ int msm_vidc_decide_core_and_power_mode(struct msm_vidc_inst *inst)
		min_lp_load = core0_lp_load;
		min_lp_load = core0_lp_load;
	}
	}


	current_inst_load = msm_comm_get_inst_load(inst, LOAD_CALC_NO_QUIRKS) *
	current_inst_load = (msm_comm_get_inst_load(inst, LOAD_CALC_NO_QUIRKS) *
		inst->clk_data.entry->vpp_cycles;
		inst->clk_data.entry->vpp_cycles)/inst->clk_data.work_route;


	current_inst_lp_load = msm_comm_get_inst_load(inst,
	current_inst_lp_load = (msm_comm_get_inst_load(inst,
		LOAD_CALC_NO_QUIRKS) * lp_cycles;
		LOAD_CALC_NO_QUIRKS) * lp_cycles)/inst->clk_data.work_route;


	dprintk(VIDC_DBG, "Core 0 RT Load = %d Core 1 RT Load = %d\n",
	dprintk(VIDC_DBG, "Core 0 RT Load = %d Core 1 RT Load = %d\n",
		 core0_load, core1_load);
		 core0_load, core1_load);
+1 −1
Original line number Original line Diff line number Diff line
@@ -133,7 +133,7 @@ static struct msm_vidc_common_data sm8150_common_data[] = {
	},
	},
	{
	{
		.key = "qcom,max-hw-load",
		.key = "qcom,max-hw-load",
		.value = 3110400,	/* 4096x2160@90 */
		.value = 4147200,	/* 4096x2160/256 MBs@120fps */
	},
	},
	{
	{
		.key = "qcom,max-hq-mbs-per-frame",
		.key = "qcom,max-hq-mbs-per-frame",