msm: sde: demura support for register dma
Demura block of dpu will use the register dma path for programming. Change updates the register dma frame-work to allow programming of the demura block. Change-Id: Ie5a64df1b2fffcb84d9554e5211249892ed2d96d Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
このコミットが含まれているのは:
@@ -284,6 +284,22 @@ static void dspp_spr(struct sde_hw_dspp *c)
|
||||
}
|
||||
}
|
||||
|
||||
static void dspp_demura(struct sde_hw_dspp *c)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (c->cap->sblk->demura.version == SDE_COLOR_PROCESS_VER(0x1, 0x0)) {
|
||||
ret = reg_dmav1_init_dspp_op_v4(SDE_DSPP_DEMURA, c->idx);
|
||||
c->ops.setup_demura_cfg = NULL;
|
||||
c->ops.setup_demura_backlight_cfg = NULL;
|
||||
if (!ret) {
|
||||
c->ops.setup_demura_cfg = reg_dmav1_setup_demurav1;
|
||||
c->ops.setup_demura_backlight_cfg =
|
||||
sde_demura_backlight_cfg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void (*dspp_blocks[SDE_DSPP_MAX])(struct sde_hw_dspp *c);
|
||||
|
||||
static void _init_dspp_ops(void)
|
||||
@@ -302,6 +318,7 @@ static void _init_dspp_ops(void)
|
||||
dspp_blocks[SDE_DSPP_LTM] = dspp_ltm;
|
||||
dspp_blocks[SDE_DSPP_RC] = dspp_rc;
|
||||
dspp_blocks[SDE_DSPP_SPR] = dspp_spr;
|
||||
dspp_blocks[SDE_DSPP_DEMURA] = dspp_demura;
|
||||
}
|
||||
|
||||
static void _setup_dspp_ops(struct sde_hw_dspp *c, unsigned long features)
|
||||
|
新しいイシューから参照
ユーザーをブロックする