[PATCH v7 00/12] Clean up "mediatek,larb"
Yong Wu (吴勇)
Yong.Wu at mediatek.com
Tue Aug 31 03:45:02 PDT 2021
Hi Matthias,
Just ping for this patchset.
Thanks.
On Fri, 2021-07-30 at 10:52 +0800, Yong Wu wrote:
> MediaTek IOMMU block diagram always like below:
>
> M4U
> |
> smi-common
> |
> -------------
> | | ...
> | |
> larb1 larb2
> | |
> vdec venc
>
> All the consumer connect with smi-larb, then connect with smi-common.
>
> When the consumer works, it should enable the smi-larb's power which
> also
> need enable the smi-common's power firstly.
>
> Thus, Firstly, use the device link connect the consumer and the
> smi-larbs. then add device link between the smi-larb and smi-common.
>
> After adding the device_link, then "mediatek,larb" property can be
> removed.
> the iommu consumer don't need call the mtk_smi_larb_get/put to enable
> the power and clock of smi-larb and smi-common.
>
> Base on v5.14-rc1, and a jpeg[1] and mdp[2] patchset.
>
> [1]
> https://lore.kernel.org/linux-mediatek/20210702102304.3346429-1-hsinyi@chromium.org/
> [2]
> https://lore.kernel.org/linux-mediatek/20210709022324.1607884-1-eizan@chromium.org/
>
> Change notes:
> v7: 1) Fix a arm32 boot fail issue. reported from Frank.
> 2) Add a return fail in the mtk drm. suggested by Dafna.
More information about the linux-arm-kernel
mailing list