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

Commit bf518628 authored by George Shen's avatar George Shen
Browse files

msm: cvp: Enable CVP auto PIL



The command in init.qcom.rc to load CVP firmware will take
effect with this change.

Change-Id: Ib45c77c8f34a12a9c01b462847cf2fc25ae1452d
Signed-off-by: default avatarGeorge Shen <sqiao@codeaurora.org>
parent cc72a30d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4051,7 +4051,7 @@ static void power_off_iris2(struct iris_hfi_device *device)
	u32 pc_ready, wfi_status, sbm_ln0_low;
	u32 main_sbm_ln0_low, main_sbm_ln1_high;

	if (!device->power_enabled)
	if (!device->power_enabled || !device->res->sw_power_collapsible)
		return;

	if (!(device->intr_status & CVP_WRAPPER_INTR_STATUS_A2HWD_BMSK))
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ static struct msm_cvp_common_data sm8250_common_data[] = {
static struct msm_cvp_common_data sm8350_common_data[] = {
	{
		.key = "qcom,auto-pil",
		.value = 0,
		.value = 1,
	},
	{
		.key = "qcom,never-unload-fw",
+1 −1
Original line number Diff line number Diff line
@@ -694,7 +694,7 @@ int cvp_read_platform_resources_from_drv_data(
	dprintk(CVP_DBG, "Firmware filename: %s\n", res->fw_name);

	res->auto_pil = find_key_value(platform_data,
			"qcom,aut-pil");
			"qcom,auto-pil");

	res->max_load = find_key_value(platform_data,
			"qcom,max-hw-load");