[PATCH v4,1/2] soc: mediatek: Add mmsys func to adapt to dpi output for MT8186
xinlei.lee
xinlei.lee at mediatek.com
Sun Sep 4 18:59:55 PDT 2022
On Mon, 2022-08-29 at 11:52 +0200, AngeloGioacchino Del Regno wrote:
> Il 29/08/22 05:21, xinlei.lee at mediatek.com ha scritto:
> > From: Xinlei Lee <xinlei.lee at mediatek.com>
> >
> > Add mmsys func to manipulate dpi output format config for MT8186.
> >
> > Co-developed-by: Jitao Shi <jitao.shi at mediatek.com>
> > Signed-off-by: Jitao Shi <jitao.shi at mediatek.com>
> > Signed-off-by: Xinlei Lee <xinlei.lee at mediatek.com>
> > Reviewed-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> > ---
> > drivers/soc/mediatek/mt8186-mmsys.h | 1 +
> > drivers/soc/mediatek/mtk-mmsys.c | 8 ++++++++
> > include/linux/soc/mediatek/mtk-mmsys.h | 3 +++
> > 3 files changed, 12 insertions(+)
> >
> > diff --git a/drivers/soc/mediatek/mt8186-mmsys.h
> > b/drivers/soc/mediatek/mt8186-mmsys.h
> > index eb1ad9c37a9c..6eca3445bea3 100644
> > --- a/drivers/soc/mediatek/mt8186-mmsys.h
> > +++ b/drivers/soc/mediatek/mt8186-mmsys.h
> > @@ -3,6 +3,7 @@
> > #ifndef __SOC_MEDIATEK_MT8186_MMSYS_H
> > #define __SOC_MEDIATEK_MT8186_MMSYS_H
> >
> > +#define MT8186_DPI_OUTPUT_FORMAT 0x400
>
> For readability, can we please rename this definition to
>
> MT8186_MMSYS_DPI_OUTPUT_FORMAT
>
> Thanks,
> Angelo
>
Hi Angelo:
ok, I will revise it in the next version.
Best Regards!
Xinlei
More information about the linux-arm-kernel
mailing list