disp: msm: sde: Add support for PCC position field
A new position control register field has been added to the DSPP PCC on Lahaina. This field controls whether PCC is invoked before or after GAMUT mapping. Introduce new PCC control logic to set the PCC position based on the new PCC_BEFORE flag. Older versions of the PCC control function now clear all flags to ensure backwards compatibility. Change-Id: I0a33604111b755e0a0ccf1864a57b17cc9071e3f Signed-off-by: Christopher Braga <cbraga@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
44b0851e91
commit
a6081a2894
@@ -70,6 +70,13 @@ static void dspp_pcc(struct sde_hw_dspp *c)
|
||||
c->ops.setup_pcc = reg_dmav1_setup_dspp_pccv4;
|
||||
else
|
||||
c->ops.setup_pcc = sde_setup_dspp_pccv4;
|
||||
} else if (c->cap->sblk->pcc.version ==
|
||||
(SDE_COLOR_PROCESS_VER(0x5, 0x0))) {
|
||||
ret = reg_dmav1_init_dspp_op_v4(SDE_DSPP_PCC, c->idx);
|
||||
if (!ret)
|
||||
c->ops.setup_pcc = reg_dmav1_setup_dspp_pccv5;
|
||||
else
|
||||
c->ops.setup_pcc = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user