mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
cc72a30d25
commit
bf518628e9
3 changed files with 3 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue