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

Commit 87763ddc authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Overwrite max mbs per frame value in driver



Currently Venus is returing incorrect max mbs per frame
values. Hence update this value in driver with proper
values. This change will be reverted once Venus issue
is fixed.

Change-Id: Ibf9bf4630ab1692ecc5be242da3da620233aaa2b
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent af4a40e3
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -969,6 +969,12 @@ static void handle_session_init_done(enum hal_command_response cmd, void *data)
	}
	}
	inst->capability.pixelprocess_capabilities =
	inst->capability.pixelprocess_capabilities =
		call_hfi_op(hdev, get_core_capabilities, hdev->hfi_device_data);
		call_hfi_op(hdev, get_core_capabilities, hdev->hfi_device_data);
	if (!(inst->fmts[OUTPUT_PORT]->fourcc == V4L2_PIX_FMT_VP9)) {
		dprintk(VIDC_DBG,
			"Updaing the mbs per frame value from %d to %d\n",
			inst->capability.mbs_per_frame.max, 32400);
		inst->capability.mbs_per_frame.max = 32400;
	}


	dprintk(VIDC_DBG,
	dprintk(VIDC_DBG,
		"Capability type : min      max      step size\n");
		"Capability type : min      max      step size\n");