PD#156734
Change-Id: I8cfcf9fea8513eb5bd13cf292a7c378063247159
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
switch_vpu_mem_pd_vmod(VPU_VIU_VD1, VPU_MEM_POWER_ON); \
switch_vpu_mem_pd_vmod(VPU_AFBC_DEC, VPU_MEM_POWER_ON); \
switch_vpu_mem_pd_vmod(VPU_DI_POST, VPU_MEM_POWER_ON); \
+ if (!legacy_vpp) \
+ switch_vpu_mem_pd_vmod( \
+ VPU_VD1_SCALE, VPU_MEM_POWER_ON); \
} while (0)
#define VD2_MEM_POWER_ON() \
do { \
switch_vpu_mem_pd_vmod(
VPU_DI_POST,
VPU_MEM_POWER_DOWN);
+ if (!legacy_vpp)
+ switch_vpu_mem_pd_vmod(
+ VPU_VD1_SCALE,
+ VPU_MEM_POWER_DOWN);
}
if ((vpu_delay_work_flag &