[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <271b63107031f6bfa1b746e70ccdcee6d86db8b7.camel@mediatek.com>
Date: Tue, 31 Aug 2021 10:45:02 +0000
From: Yong Wu (吴勇) <Yong.Wu@...iatek.com>
To: "matthias.bgg@...il.com" <matthias.bgg@...il.com>
CC: "dafna.hirschfeld@...labora.com" <dafna.hirschfeld@...labora.com>,
srv_heupstream <srv_heupstream@...iatek.com>,
"krzysztof.kozlowski@...onical.com"
<krzysztof.kozlowski@...onical.com>,
Youlin Pei (裴友林)
<youlin.pei@...iatek.com>,
Anan Sun (孙安安) <Anan.Sun@...iatek.com>,
"tfiga@...omium.org" <tfiga@...omium.org>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
Xia Jiang (江霞) <Xia.Jiang@...iatek.com>,
"eizan@...omium.org" <eizan@...omium.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
Yi Kuo (郭懿) <Yi.Kuo@...iatek.com>,
"daniel@...ll.ch" <daniel@...ll.ch>,
"evgreen@...omium.org" <evgreen@...omium.org>,
"linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>,
Anthony Huang (黃建嘉)
<Anthony.Huang@...iatek.com>,
Tiffany Lin (林慧珊)
<tiffany.lin@...iatek.com>,
"acourbot@...omium.org" <acourbot@...omium.org>,
"airlied@...ux.ie" <airlied@...ux.ie>,
"drinkcat@...omium.org" <drinkcat@...omium.org>,
"hsinyi@...omium.org" <hsinyi@...omium.org>,
"joro@...tes.org" <joro@...tes.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"frank-w@...lic-files.de" <frank-w@...lic-files.de>,
Ming-Fan Chen (陳明汎)
<Ming-Fan.Chen@...iatek.com>,
"chunkuang.hu@...nel.org" <chunkuang.hu@...nel.org>,
"mchehab@...nel.org" <mchehab@...nel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
"will.deacon@....com" <will.deacon@....com>,
"robin.murphy@....com" <robin.murphy@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mka@...omium.org" <mka@...omium.org>
Subject: Re: [PATCH v7 00/12] Clean up "mediatek,larb"
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.
Powered by blists - more mailing lists