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

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

Merge "msm: cvp: Enable CVP auto PIL"

parents bf0c0917 bf518628
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");