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

Commit e2732b47 authored by Shalaj Jain's avatar Shalaj Jain Committed by Vikash Garodia
Browse files

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



This reverts commit 87763ddc ("msm: vidc: Overwrite max mbs per
frame value in driver")

This issue has been fixed in Venus fw.

Change-Id: If17366ac6cb7bd4d8e172df7f784b68db5391139
Signed-off-by: default avatarVikash Garodia <vgarodia@codeaurora.org>
parent b6a638f8
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -992,12 +992,6 @@ 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");