[PATCH v4, 00/10] soc: mediatek: mmsys: Use function call for setting the routing registers

Hsin-Yi Wang hsinyi at chromium.org
Tue Jan 19 04:16:23 UTC 2021


On Tue, Jan 5, 2021 at 3:06 AM Yongqiang Niu <yongqiang.niu at mediatek.com> wrote:
>
> The following series are intended to prepare the mtk-mmsys driver to
> allow different DDP (Data Display Path) function call per SoC.
>
> base 5.11-rc1
>
> change since v3:
> - move register operation into mmsys path select function
>
> Yongqiang Niu (10):
>   soc: mediatek: mmsys: create mmsys folder
>   soc: mediatek: mmsys: Create struct mtk_mmsys to store context data
>   soc: mediatek: mmsys: move register operation into mmsys path select
>     function
>   soc: mediatek: mmsys: Use function call for setting the routing
>     registers
>   soc: mediatek: mmsys: add mt8183 function call for setting the routing
>     registers

patch 01 ~ 05: I've tested on a mt8183 device, so

Tested-by: Hsin-Yi Wang <hsinyi at chromium.org>

>   soc: mediatek: mmsys: add component OVL_2L2
>   soc: mediatek: mmsys: add component POSTMASK
>   soc: mediatek: mmsys: add component RDMA4
>   soc: mediatek: mmsys: Use function call for setting mmsys ovl mout
>     register
>   soc: mediatek: mmsys: add mt8192 mmsys support
>
>  drivers/soc/mediatek/Makefile             |   2 +-
>  drivers/soc/mediatek/mmsys/Makefile       |   5 +
>  drivers/soc/mediatek/mmsys/mt2701-mmsys.c | 254 ++++++++++++++++++++
>  drivers/soc/mediatek/mmsys/mt8183-mmsys.c | 110 +++++++++
>  drivers/soc/mediatek/mmsys/mt8192-mmsys.c | 149 ++++++++++++
>  drivers/soc/mediatek/mmsys/mtk-mmsys.c    | 180 ++++++++++++++
>  drivers/soc/mediatek/mtk-mmsys.c          | 373 ------------------------------
>  include/linux/soc/mediatek/mtk-mmsys.h    |  25 ++
>  8 files changed, 724 insertions(+), 374 deletions(-)
>  create mode 100644 drivers/soc/mediatek/mmsys/Makefile
>  create mode 100644 drivers/soc/mediatek/mmsys/mt2701-mmsys.c
>  create mode 100644 drivers/soc/mediatek/mmsys/mt8183-mmsys.c
>  create mode 100644 drivers/soc/mediatek/mmsys/mt8192-mmsys.c
>  create mode 100644 drivers/soc/mediatek/mmsys/mtk-mmsys.c
>  delete mode 100644 drivers/soc/mediatek/mtk-mmsys.c


More information about the dri-devel mailing list