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

Commit 89fa9044 authored by Sowmya Pandiri's avatar Sowmya Pandiri
Browse files

msm: vidc: Avoid sending CONTINUE_DATA_TRANSFER packet for venus 3xx



When client enables smooth streaming, video driver is sending
CONTINUE_DATA_TRANSFER packet to the firmware which is not
required. Sending this property results in video failures.
This change will fix the issue by not sending the packet at all.

Change-Id: I9bf6498100f2ae14026616ea4871f4ea22ace870
Signed-off-by: default avatarDeepak Kushwah <dkushwah@codeaurora.org>
Signed-off-by: default avatarSowmya Pandiri <spandiri@codeaurora.org>
parent 095c42a3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2131,7 +2131,10 @@ static int create_3x_pkt_cmd_session_set_property(
	}
	/* Deprecated param on Venus 3xx */
	case HAL_PARAM_VDEC_CONTINUE_DATA_TRANSFER:
	{
		rc = -ENOTSUPP;
		break;
	}
	default:
		rc = create_pkt_cmd_session_set_property(pkt,
				session, ptype, pdata);
+7 −1
Original line number Diff line number Diff line
@@ -2525,7 +2525,13 @@ static int venus_hfi_session_set_property(void *sess,

	rc = call_hfi_pkt_op(device, session_set_property,
			pkt, session, ptype, pdata);
	if (rc) {

	if (rc == -ENOTSUPP) {
		dprintk(VIDC_DBG,
			"set property: unsupported prop id: %#x\n", ptype);
		rc = 0;
		goto err_set_prop;
	} else if (rc) {
		dprintk(VIDC_ERR, "set property: failed to create packet\n");
		rc = -EINVAL;
		goto err_set_prop;