[PATCH v2 1/5] dt-bindings: display: mediatek: mdp-rsz: Add rules for MT8196

2025-04-22 Thread Sunny Shen
Add MDP-RSZ hardware description for MediaTek MT8196 SoC Signed-off-by: Sunny Shen --- .../display/mediatek/mediatek,mdp-rsz.yaml| 45 +++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rsz.yaml diff

[PATCH v2 3/5] soc: mediatek: Add components to support PQ in display path for MT8196

2025-04-22 Thread Sunny Shen
Due to the path mux design of the MT8196, the following components need to be configured into mutex and mmsys to support Picture Quality (PQ) in the display path:CCORR0, CCORR1, DITHER0, GAMMA0, MDP_RSZ0, POSTMASK0, TDSHP0. Signed-off-by: Sunny Shen --- drivers/soc/mediatek/mt8196-mmsys.h

[PATCH v2 0/5] Add components to support PQ in display path for MT8196

2025-04-22 Thread Sunny Shen
mdp-rsz dt-bindings. - Update subject of postmask dt-bindings. - Remove DISP_REG_MDP_RSZ_EN. - Add comment for MDP_RSZ size settings. This patch series is based on [1] [1] Add MediaTek SoC DRM support for MT8196 - https://patchwork.kernel.org/project/linux-mediatek/list/?series=946188 Sunny Shen

[PATCH v2 4/5] drm/mediatek: Add MDP-RSZ component support for MT8196

2025-04-22 Thread Sunny Shen
Add MDP-RSZ component support for MT8196. Signed-off-by: Sunny Shen --- drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 24 drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 1 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ 3 files changed, 27 insertions(+) diff --git a/drivers

[PATCH v2 5/5] drm/mediatek: Change main display path to support PQ for MT8196

2025-04-22 Thread Sunny Shen
Due to the path mux design of the MT8196, the following components need to be added to support Picture Quality (PQ) in the main display path: CCORR0, CCORR1, DITHER0, GAMMA0, MDP_RSZ0, POSTMASK0, TDSHP0. Signed-off-by: Sunny Shen Reviewed-by: CK Hu --- The method of using OF graph for display

[PATCH v2 2/5] dt-bindings: display: mediatek: postmask: Add compatible string for MT8196

2025-04-22 Thread Sunny Shen
Add a compatible string for MediaTek MT8196 SoC Signed-off-by: Sunny Shen --- .../devicetree/bindings/display/mediatek/mediatek,postmask.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml b/Documentation

[PATCH 2/5] dt-bindings: display: mediatek: postmask: Modify rules for MT8196

2025-02-10 Thread Sunny Shen
Add a compatible string for MediaTek MT8196 SoC Signed-off-by: Sunny Shen --- .../devicetree/bindings/display/mediatek/mediatek,postmask.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml b/Documentation

[PATCH 5/5] drm/mediatek: Change main display path to support PQ for MT8196

2025-02-10 Thread Sunny Shen
Due to the path mux design of the MT8196, the following components need to be added to support Picture Quality (PQ) in the main display path: CCORR0, CCORR1, DITHER0, GAMMA0, MDP_RSZ0, POSTMASK0, TDSHP0. Signed-off-by: Sunny Shen --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 7 +++ 1 file

[PATCH 3/5] soc: mediatek: Add components to support PQ in display path for MT8196

2025-02-10 Thread Sunny Shen
Due to the path mux design of the MT8196, the following components need to be configured into mutex and mmsys to support Picture Quality (PQ) in the display path:CCORR0, CCORR1, DITHER0, GAMMA0, MDP_RSZ0, POSTMASK0, TDSHP0. Signed-off-by: Sunny Shen --- drivers/soc/mediatek/mt8196-mmsys.h

[PATCH 0/5] Add components to support PQ in display path for MT8196

2025-02-10 Thread Sunny Shen
- https://patchwork.kernel.org/project/linux-mediatek/list/?series=924191 Sunny Shen (5): dt-bindings: display: mediatek: mdp-rsz: Add rules for MT8196 dt-bindings: display: mediatek: postmask: Modify rules for MT8196 soc: mediatek: Add components to support PQ in display path for MT8196 drm

[PATCH 4/5] drm/mediatek: Add MDP-RSZ component support for MT8196

2025-02-10 Thread Sunny Shen
Add MDP-RSZ component support for MT8196. Signed-off-by: Sunny Shen --- drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 24 drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 1 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ 3 files changed, 27 insertions(+) diff --git a/drivers

[PATCH 1/5] dt-bindings: display: mediatek: mdp-rsz: Add rules for MT8196

2025-02-10 Thread Sunny Shen
Add MDP-RSZ hardware description for MediaTek MT8196 SoC Signed-off-by: Sunny Shen --- .../display/mediatek/mediatek,mdp-rsz.yaml| 46 +++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rsz.yaml diff