mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
amvecm: add lc enable/disable in pc mode [1/1]
PD#SWPL-12580 Problem: pcmode can not disable lc Solution: add lc enable/disable in pc mode Verify: verified by tl1 Change-Id: Ie8f7ff84549cd42efef550ecd7adf6d959ff5a4f Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
701aca8b44
commit
87952ccbc7
@@ -3935,6 +3935,7 @@ void pc_mode_process(void)
|
||||
if ((pc_mode == 1) && (pc_mode != pc_mode_last)) {
|
||||
/* open dnlp clock gate */
|
||||
dnlp_en = 1;
|
||||
lc_en = 1;
|
||||
ve_enable_dnlp();
|
||||
/* open cm clock gate */
|
||||
cm_en = 1;
|
||||
@@ -3992,6 +3993,7 @@ void pc_mode_process(void)
|
||||
pc_mode_last = pc_mode;
|
||||
} else if ((pc_mode == 0) && (pc_mode != pc_mode_last)) {
|
||||
dnlp_en = 0;
|
||||
lc_en = 0;
|
||||
ve_disable_dnlp();
|
||||
cm_en = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user