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: George Shen <sqiao@codeaurora.org>
This commit is contained in:
George Shen 2020-02-11 10:05:49 -08:00
commit bf518628e9
3 changed files with 3 additions and 3 deletions

View file

@ -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))

View file

@ -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",

View file

@ -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");