* Re: [PATCH v11 19/22] drm/mediatek: modify mediatek-drm for mt8195 multi mmsys support
[not found] ` <20220110084645.31191-20-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> MT8195 have two mmsys. Modify drm for MT8195 multi-mmsys support.
> The two mmsys (vdosys0 and vdosys1) will bring up two drm drivers,
> only one drm driver register as the drm device.
> Each drm driver binds its own component. The last bind drm driver
> allocates and registers the drm device to drm core.
> Each crtc path is created with the corresponding drm driver data.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 20/22] drm/mediatek: add drm ovl_adaptor sub driver for MT8195
[not found] ` <20220110084645.31191-21-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> Add drm ovl_adaptor sub driver. Bring up ovl_adaptor sub driver if
> the component exists in the path.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 21/22] drm/mediatek: add mediatek-drm of vdosys1 support for MT8195
[not found] ` <20220110084645.31191-22-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> Add driver data of mt8195 vdosys1 to mediatek-drm.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 09/22] soc: mediatek: change the mutex defines and the mutex_mod type
[not found] ` <20220110084645.31191-10-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> This is a preparation for adding support for mt8195 vdosys1 mutex.
> The vdosys1 path component contains ovl_adaptor, merge5,
> and dp_intf1. Ovl_adaptor is composed of several sub-elements,
> so change it to support multi-bit control.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 10/22] soc: mediatek: add mtk-mutex support for mt8195 vdosys1
[not found] ` <20220110084645.31191-11-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> Add mtk-mutex support for mt8195 vdosys1.
> The vdosys1 path component contains ovl_adaptor, merge5,
> and dp_intf1. Ovl_adaptor is composed of several sub-elements.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 08/22] soc: mediatek: mmsys: modify reset controller for MT8195 vdosys1
[not found] ` <20220110084645.31191-9-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> MT8195 vdosys1 has more than 32 reset bits and a different reset base
> than other chips. Modify mmsys for support 64 bit and different reset
> base.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 06/22] soc: mediatek: add mtk-mmsys config API for mt8195 vdosys1
[not found] ` <20220110084645.31191-7-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> Add mmsys config API. The config API is used for config mmsys reg.
> Some mmsys regs need to be setting according to the HW engine binding
> to the mmsys simultaneously.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 05/22] soc: mediatek: add mtk-mmsys support for mt8195 vdosys1
[not found] ` <20220110084645.31191-6-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> Add mt8195 vdosys1 clock driver name and routing table to
> the driver data of mtk-mmsys.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 07/22] soc: mediatek: add cmdq support of mtk-mmsys config API for mt8195 vdosys1
[not found] ` <20220110084645.31191-8-nancy.lin@mediatek.com>
@ 2022-01-13 16:08 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-13 16:08 UTC (permalink / raw)
To: Nancy.Lin, CK Hu
Cc: Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
dri-devel, linux-mediatek, devicetree, linux-kernel,
linux-arm-kernel, singo.chang, srv_heupstream
Il 10/01/22 09:46, Nancy.Lin ha scritto:
> Add cmdq support for mtk-mmsys config API.
> The mmsys config register settings need to take effect with the other
> HW settings(like OVL_ADAPTOR...) at the same vblanking time.
>
> If we use CPU to write the mmsys reg, we can't guarantee all the
> settings can be written in the same vblanking time.
> Cmdq is used for this purpose. We prepare all the related HW settings
> in one cmdq packet. The first command in the packet is "wait stream done",
> and then following with all the HW settings. After the cmdq packet is
> flush to GCE HW. The GCE waits for the "stream done event" to coming
> and then starts flushing all the HW settings. This can guarantee all
> the settings flush in the same vblanking.
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v11 02/22] dt-bindings: mediatek: add vdosys1 MERGE property for mt8195
[not found] ` <20220110084645.31191-3-nancy.lin@mediatek.com>
@ 2022-02-09 14:54 ` Chun-Kuang Hu
0 siblings, 0 replies; 10+ messages in thread
From: Chun-Kuang Hu @ 2022-02-09 14:54 UTC (permalink / raw)
To: Nancy.Lin
Cc: CK Hu, Chun-Kuang Hu, Philipp Zabel, David Airlie, Daniel Vetter,
Rob Herring, Matthias Brugger, jason-jh . lin, Yongqiang Niu,
DRI Development, moderated list:ARM/Mediatek SoC support, DTML,
linux-kernel, Linux ARM, singo.chang, srv_heupstream
Hi, Nancy:
Nancy.Lin <nancy.lin@mediatek.com> 於 2022年1月10日 週一 下午4:46寫道:
>
> MT8195 vdosys1 merge1 to merge4 have HW mute function.
> Add MERGE additional mute property description.
Applied to mediatek-drm-next [1], thanks.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang
>
> Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
> Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
> Acked-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
> index 28be8ffeb429..f5b1e632bcd5 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
> @@ -61,6 +61,10 @@ properties:
> command to SMI to speed up the data rate.
> type: boolean
>
> + mediatek,merge-mute:
> + description: Support mute function. Mute the content of merge output.
> + type: boolean
> +
> mediatek,gce-client-reg:
> description:
> The register of client driver can be configured by gce with 4 arguments
> --
> 2.18.0
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-02-09 14:54 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220110084645.31191-1-nancy.lin@mediatek.com>
[not found] ` <20220110084645.31191-20-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 19/22] drm/mediatek: modify mediatek-drm for mt8195 multi mmsys support AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-21-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 20/22] drm/mediatek: add drm ovl_adaptor sub driver for MT8195 AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-22-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 21/22] drm/mediatek: add mediatek-drm of vdosys1 support " AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-10-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 09/22] soc: mediatek: change the mutex defines and the mutex_mod type AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-11-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 10/22] soc: mediatek: add mtk-mutex support for mt8195 vdosys1 AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-9-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 08/22] soc: mediatek: mmsys: modify reset controller for MT8195 vdosys1 AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-7-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 06/22] soc: mediatek: add mtk-mmsys config API for mt8195 vdosys1 AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-8-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 07/22] soc: mediatek: add cmdq support of " AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-6-nancy.lin@mediatek.com>
2022-01-13 16:08 ` [PATCH v11 05/22] soc: mediatek: add mtk-mmsys support " AngeloGioacchino Del Regno
[not found] ` <20220110084645.31191-3-nancy.lin@mediatek.com>
2022-02-09 14:54 ` [PATCH v11 02/22] dt-bindings: mediatek: add vdosys1 MERGE property for mt8195 Chun-Kuang Hu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).