mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Revert "mdp4: pcc: fix PCC disablement"
This reverts commit 52d9e81de2
.
Change-Id: I30adec69a9db3235c1399a8b6681603d4f5cc089
This commit is contained in:
parent
52d9e81de2
commit
191b2f2b60
1 changed files with 5 additions and 1 deletions
|
@ -515,7 +515,11 @@ static ssize_t mdp_set_rgb(struct device *dev,
|
|||
memset(&pcc_cfg, 0, sizeof(struct mdp_pcc_cfg_data));
|
||||
|
||||
pcc_cfg.block = MDP_BLOCK_DMA_P;
|
||||
pcc_cfg.ops = MDP_PP_OPS_ENABLE | MDP_PP_OPS_WRITE;
|
||||
if (r == 32768 && g == 32768 && b == 32768)
|
||||
pcc_cfg.ops = MDP_PP_OPS_DISABLE;
|
||||
else
|
||||
pcc_cfg.ops = MDP_PP_OPS_ENABLE;
|
||||
pcc_cfg.ops |= MDP_PP_OPS_WRITE;
|
||||
pcc_cfg.r.r = r;
|
||||
pcc_cfg.g.g = g;
|
||||
pcc_cfg.b.b = b;
|
||||
|
|
Loading…
Reference in a new issue