[PATCH v2, 04/17] drm/mediatek: add component OVL_2L2

Yongqiang Niu yongqiang.niu at mediatek.com
Wed Dec 23 01:21:43 UTC 2020


On Sun, 2020-12-13 at 09:15 +0800, Chun-Kuang Hu wrote:
> Hi, Yongqiang:
> 
> Yongqiang Niu <yongqiang.niu at mediatek.com> 於 2020年12月12日 週六 下午12:12寫道:
> >
> > This patch add component OVL_2L2
> 
> Break drm part and soc part into different patches.
> 
> Regards,
> Chun-Kuang.

will be fixed in next version
> 
> >
> > Signed-off-by: Yongqiang Niu <yongqiang.niu at mediatek.com>
> > ---
> >  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 +
> >  include/linux/soc/mediatek/mtk-mmsys.h      | 1 +
> >  2 files changed, 2 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
> > index 8eba44b..8938554 100644
> > --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
> > +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
> > @@ -403,6 +403,7 @@ struct mtk_ddp_comp_match {
> >         [DDP_COMPONENT_OVL1]    = { MTK_DISP_OVL,       1, NULL },
> >         [DDP_COMPONENT_OVL_2L0] = { MTK_DISP_OVL_2L,    0, NULL },
> >         [DDP_COMPONENT_OVL_2L1] = { MTK_DISP_OVL_2L,    1, NULL },
> > +       [DDP_COMPONENT_OVL_2L2] = { MTK_DISP_OVL_2L,    2, NULL },
> >         [DDP_COMPONENT_PWM0]    = { MTK_DISP_PWM,       0, NULL },
> >         [DDP_COMPONENT_PWM1]    = { MTK_DISP_PWM,       1, NULL },
> >         [DDP_COMPONENT_PWM2]    = { MTK_DISP_PWM,       2, NULL },
> > diff --git a/include/linux/soc/mediatek/mtk-mmsys.h b/include/linux/soc/mediatek/mtk-mmsys.h
> > index 4b6c514..42476c2 100644
> > --- a/include/linux/soc/mediatek/mtk-mmsys.h
> > +++ b/include/linux/soc/mediatek/mtk-mmsys.h
> > @@ -29,6 +29,7 @@ enum mtk_ddp_comp_id {
> >         DDP_COMPONENT_OVL0,
> >         DDP_COMPONENT_OVL_2L0,
> >         DDP_COMPONENT_OVL_2L1,
> > +       DDP_COMPONENT_OVL_2L2,
> >         DDP_COMPONENT_OVL1,
> >         DDP_COMPONENT_PWM0,
> >         DDP_COMPONENT_PWM1,
> > --
> > 1.8.1.1.dirty
> > _______________________________________________
> > Linux-mediatek mailing list
> > Linux-mediatek at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-mediatek



More information about the dri-devel mailing list