Re: [PATCH v2] drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency

2023-11-21 Thread Guillaume Ranquet
by: Nícolas F. R. A. Prado >Reviewed-by: AngeloGioacchino Del Regno > > >--- Reviewed-by: Guillaume Ranquet > >Changes in v2: >- Added missing Suggested-by tag > > drivers/gpu/drm/mediatek/mtk_dp.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/drivers/gpu/drm/mediate

Re: [PATCH] drm/mediatek/dp: fix memory leak on ->get_edid callback error path

2023-09-14 Thread Guillaume Ranquet
On Thu, 14 Sep 2023 15:10, Jani Nikula wrote: >Setting new_edid to NULL leaks the buffer. > >Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver") >Cc: Markus Schneider-Pargmann >Cc: Guillaume Ranquet >Cc: Bo-Chen Chen >Cc: CK Hu >C

Re: [PATCH v4 1/8] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2023-06-09 Thread Guillaume Ranquet
On Thu, 08 Jun 2023 23:05, Rob Herring wrote: >On Mon, May 29, 2023 at 04:30:58PM +0200, Guillaume Ranquet wrote: >> Add mt8195 SoC bindings for hdmi and hdmi-ddc >> >> On mt8195 the ddc i2c controller is part of the hdmi IP block and thus has no >> specific r

[PATCH] phy: mediatek: hdmi: mt8195: fix prediv bad upper limit test

2023-05-30 Thread Guillaume Ranquet
The pll prediv calculus searchs for the smallest prediv that gets the ns_hdmipll_ck in the range of 5 GHz to 12 GHz. A typo in the upper bound test was testing for 5Ghz to 1Ghz Fixes: 45810d486bb44 ("phy: mediatek: add support for phy-mtk-hdmi-mt8195") Signed-off-by: Guillau

[PATCH v4 8/8] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2023-05-29 Thread Guillaume Ranquet
Add the DPI1 hdmi path support in mtk dpi driver Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dpi.c | 121 ++-- drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 5 ++ 2 files changed, 119 insertions(+), 7 deletions(-) diff --git a/drivers/gpu

[PATCH v4 3/8] drm/mediatek: extract common functions from the mtk hdmi driver

2023-05-29 Thread Guillaume Ranquet
Create a common "framework" that can be used to add support for different hdmi IPs within the mediatek range of products. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_hdmi.c

[PATCH v4 7/8] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT8195

2023-05-29 Thread Guillaume Ranquet
Add dt-binding documentation of dpi for MediaTek MT8195 SoC. Acked-by: Krzysztof Kozlowski Signed-off-by: Guillaume Ranquet --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display

[PATCH v4 6/8] drm/mediatek: hdmi: v2: add audio support

2023-05-29 Thread Guillaume Ranquet
Add HDMI audio support for v2 Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 1 + drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 198 + drivers/gpu/drm/mediatek/mtk_hdmi_v2.h | 4 +- 3 files changed, 202 insertions(+), 1

[PATCH v4 5/8] drm/mediatek: hdmi: add v2 support

2023-05-29 Thread Guillaume Ranquet
Adds hdmi and hdmi-ddc support for v2 IP. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Kconfig|2 + drivers/gpu/drm/mediatek/Makefile |2 + drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 13 + drivers/gpu/drm/mediatek/mtk_hdmi_common.h |1

[PATCH v4 1/8] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2023-05-29 Thread Guillaume Ranquet
Add mt8195 SoC bindings for hdmi and hdmi-ddc On mt8195 the ddc i2c controller is part of the hdmi IP block and thus has no specific register range, power domain or interrupt, making it simpler than the legacy "mediatek,hdmi-ddc" binding. Signed-off-by: Guillaume Ranquet --- ..

[PATCH v4 2/8] drm/mediatek: hdmi: use a regmap instead of iomem

2023-05-29 Thread Guillaume Ranquet
To prepare support for newer chips that need to share their address range with a dedicated ddc driver, use a regmap. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 173 ++-- 1 file changed, 65 insertions(+), 108 deletions(-) diff

[PATCH v4 4/8] drm/mediatek: hdmi: make the cec dev optional

2023-05-29 Thread Guillaume Ranquet
Make cec device optional in order to support newer versions of the hdmi IP which doesn't require it Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi.c| 8 +++-- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 52 +++--- 2 files changed, 39

[PATCH v4 0/8] Add MT8195 HDMI support

2023-05-29 Thread Guillaume Ranquet
rk code that handles this. [1] : https://lore.kernel.org/all/988b0a7a-69bb-34e4-e777-1d9516221...@collabora.com/ [2] : https://lore.kernel.org/all/7da1e73a0cca6867a060d5b69d45e8d4dfc89748.ca...@mediatek.com/ Signed-off-by: Guillaume Ranquet --- Changes in v4: - Split phy related patches to another se

[PATCH v2 2/2] phy: mediatek: hdmi: mt8195: fix wrong pll calculus

2023-04-14 Thread Guillaume Ranquet
cchino Del Regno Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c b/drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c index 054b73cb31ee..caa953780bee 100644 ---

[PATCH v2 1/2] phy: mediatek: hdmi: mt8195: fix uninitialized variable usage in pll_calc

2023-04-14 Thread Guillaume Ranquet
) Reported-by: kernel test robot Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c b/drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c index abfc077fb0a8..05

[PATCH v2 0/2] Fix mtk-hdmi-mt8195 unitialized variable usage and clock rate calculation

2023-04-14 Thread Guillaume Ranquet
from the linux-phy repository [2]. [1] https://lore.kernel.org/oe-kbuild-all/202304130304.gmtrudbd-...@intel.com/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git Signed-off-by: Guillaume Ranquet --- Changes in v2: - Propagate return value of mtk_hdmi_pll_set_hw

Re: [PATCH 1/2] phy: mediatek: hdmi: mt8195: fix uninitialized variable usage in pll_calc

2023-04-14 Thread Guillaume Ranquet
On Fri, 14 Apr 2023 12:31, AngeloGioacchino Del Regno wrote: >Il 13/04/23 14:46, Guillaume Ranquet ha scritto: >> The ret variable in mtk_hdmi_pll_calc() was used unitialized as reported >> by the kernel test robot. >> >> Fix the issue by removing the variable

[PATCH 2/2] phy: mediatek: hdmi: mt8195: fix wrong pll calculus

2023-04-13 Thread Guillaume Ranquet
The clock rate calculus in mtk_hdmi_pll_calc() was wrong when it has been replaced by 'div_u64'. Fix the issue by multiplying the values in the denominator instead of dividing them. Fixes: 45810d486bb44 ("phy: mediatek: add support for phy-mtk-hdmi-mt8195") Signed-off-by: Guillau

[PATCH 1/2] phy: mediatek: hdmi: mt8195: fix uninitialized variable usage in pll_calc

2023-04-13 Thread Guillaume Ranquet
) Reported-by: kernel test robot Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c b/drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c index abfc077fb0a8..e1

[PATCH 0/2] Fix mtk-hdmi-mt8195 unitialized variable usage and clock rate calculation

2023-04-13 Thread Guillaume Ranquet
from the linux-phy repository [2]. [1] https://lore.kernel.org/oe-kbuild-all/202304130304.gmtrudbd-...@intel.com/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git Signed-off-by: Guillaume Ranquet --- Guillaume Ranquet (2): phy: mediatek: hdmi: mt8195: fix uninitialized

Re: [PATCH v29 4/7] drm/mediatek: add dma dev get function

2023-02-17 Thread Guillaume Ranquet
On Tue, 27 Dec 2022 09:10, "" wrote: >This is a preparation for adding support for the ovl_adaptor sub driver >Ovl_adaptor is a DRM sub driver, which doesn't have dma dev. Add >dma_dev_get function for getting representative dma dev in ovl_adaptor. > >Signed-off-by: Nancy.Lin >Reviewed-by:

Re: [PATCH v29 3/7] drm/mediatek: add ovl_adaptor support for MT8195

2023-02-17 Thread Guillaume Ranquet
On Tue, 27 Dec 2022 09:10, "" wrote: Hi Nancy. I've been using your patches lately to test out the HDMI series on mt8195 and I have hit a scheduling bug. >Add ovl_adaptor driver for MT8195. >Ovl_adaptor is an encapsulated module and designed for simplified >DRM control flow. This module is

Re: [PATCH v3 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2023-01-02 Thread Guillaume Ranquet
On Mon, 02 Jan 2023 15:14, AngeloGioacchino Del Regno wrote: >Il 02/01/23 14:38, Guillaume Ranquet ha scritto: >> On Mon, 26 Dec 2022 06:18, CK Hu (胡俊光) wrote: >>> Hi, Guillaume: >>> >>> On Fri, 2022-11-04 at 15:09 +0100, Guillaume Ranquet wrote: >>&g

Re: [PATCH v3 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2023-01-02 Thread Guillaume Ranquet
On Mon, 26 Dec 2022 06:18, CK Hu (胡俊光) wrote: >Hi, Guillaume: > >On Fri, 2022-11-04 at 15:09 +0100, Guillaume Ranquet wrote: >> Add mt8195 SoC bindings for hdmi and hdmi-ddc >> >> On mt8195 the ddc i2c controller is part of the hdmi IP block and >> thus has no

Re: [PATCH v3 12/12] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2022-11-07 Thread Guillaume Ranquet
On Mon, 07 Nov 2022 12:20, AngeloGioacchino Del Regno wrote: >Il 04/11/22 15:09, Guillaume Ranquet ha scritto: >> Add the DPI1 hdmi path support in mtk dpi driver >> >> Signed-off-by: Guillaume Ranquet >> --- >> drivers/gpu/

Re: [PATCH v3 06/12] drm/mediatek: hdmi: add frame_colorimetry flag

2022-11-07 Thread Guillaume Ranquet
On Mon, 07 Nov 2022 12:09, AngeloGioacchino Del Regno wrote: >Il 04/11/22 15:09, Guillaume Ranquet ha scritto: >> Add a flag to indicate support for frame colorimetry. >> >> Signed-off-by: Guillaume Ranquet >> --- >> drivers/gpu/drm/mediatek/mtk_hdmi_common.c

Re: [PATCH v3 03/12] drm/mediatek: hdmi: use a regmap instead of iomem

2022-11-07 Thread Guillaume Ranquet
On Mon, 07 Nov 2022 12:20, AngeloGioacchino Del Regno wrote: >Il 04/11/22 15:09, Guillaume Ranquet ha scritto: >> To prepare support for newer chips that need to share their address >> range with a dedicated ddc driver, use a regmap. >> >> Signed-off-by: Guillaume Ranqu

Re: [PATCH v3 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-11-07 Thread Guillaume Ranquet
On Mon, 07 Nov 2022 11:02, Krzysztof Kozlowski wrote: >On 04/11/2022 15:09, Guillaume Ranquet wrote: >> Add mt8195 SoC bindings for hdmi and hdmi-ddc >> >> On mt8195 the ddc i2c controller is part of the hdmi IP block and thus has no >> specific register range, power

Re: [PATCH v3 01/12] dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible

2022-11-07 Thread Guillaume Ranquet
On Mon, 07 Nov 2022 12:20, AngeloGioacchino Del Regno wrote: >Il 04/11/22 15:09, Guillaume Ranquet ha scritto: >> Add a compatible for the HDMI PHY on MT8195 >> >> Acked-by: Krzysztof Kozlowski >> Signed-off-by: Guillaume Ranquet > >Ack and R-b tags g

[PATCH v3 04/12] drm/mediatek: extract common functions from the mtk hdmi driver

2022-11-04 Thread Guillaume Ranquet
Create a common "framework" that can be used to add support for different hdmi IPs within the mediatek range of products. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_hdmi.c

[PATCH v3 11/12] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT8195

2022-11-04 Thread Guillaume Ranquet
Add dt-binding documentation of dpi for MediaTek MT8195 SoC. Acked-by: Krzysztof Kozlowski Signed-off-by: Guillaume Ranquet --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display

[PATCH v3 10/12] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-11-04 Thread Guillaume Ranquet
Add basic support for the mediatek hdmi phy on MT8195 SoC Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/Makefile | 1 + drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 543 + drivers/phy/mediatek/phy-mtk-hdmi-mt8195.h | 109 ++ drivers/phy

[PATCH v3 08/12] drm/mediatek: hdmi: v2: add audio support

2022-11-04 Thread Guillaume Ranquet
Add HDMI audio support for v2 Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 1 + drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c | 2 +- drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 213 + drivers/gpu/drm/mediatek/mtk_hdmi_v2.h

[PATCH v3 12/12] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2022-11-04 Thread Guillaume Ranquet
Add the DPI1 hdmi path support in mtk dpi driver Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dpi.c | 143 ++-- drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 5 ++ 2 files changed, 141 insertions(+), 7 deletions(-) diff --git a/drivers/gpu

[PATCH v3 09/12] phy: phy-mtk-hdmi: Add generic phy configure callback

2022-11-04 Thread Guillaume Ranquet
Some phys, such as mt8195, needs to have a configure callback defined. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/phy-mtk-hdmi.c | 12 drivers/phy/mediatek/phy-mtk-hdmi.h | 1 + 2 files changed, 13 insertions(+) diff --git

[PATCH v3 06/12] drm/mediatek: hdmi: add frame_colorimetry flag

2022-11-04 Thread Guillaume Ranquet
Add a flag to indicate support for frame colorimetry. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 11 +++ drivers/gpu/drm/mediatek/mtk_hdmi_common.h | 1 + 2 files changed, 12 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c

[PATCH v3 07/12] drm/mediatek: hdmi: add v2 support

2022-11-04 Thread Guillaume Ranquet
Adds hdmi and hdmi-ddc support for v2 IP. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Makefile |2 + drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 14 + drivers/gpu/drm/mediatek/mtk_hdmi_common.h |1 + drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c | 367

[PATCH v3 05/12] drm/mediatek: hdmi: make the cec dev optional

2022-11-04 Thread Guillaume Ranquet
Make cec device optional in order to support newer versions of the hdmi IP which doesn't require it Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi.c| 8 +++-- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 54 -- drivers/gpu/drm

[PATCH v3 03/12] drm/mediatek: hdmi: use a regmap instead of iomem

2022-11-04 Thread Guillaume Ranquet
To prepare support for newer chips that need to share their address range with a dedicated ddc driver, use a regmap. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 43 +++-- 1 file changed, 13 insertions(+), 30 deletions(-) diff --git

[PATCH v3 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-11-04 Thread Guillaume Ranquet
Add mt8195 SoC bindings for hdmi and hdmi-ddc On mt8195 the ddc i2c controller is part of the hdmi IP block and thus has no specific register range, power domain or interrupt, making it simpler than its the legacy "mediatek,hdmi-ddc" binding. Signed-off-by: Guillaume Ranquet --- ..

[PATCH v3 01/12] dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible

2022-11-04 Thread Guillaume Ranquet
Add a compatible for the HDMI PHY on MT8195 Acked-by: Krzysztof Kozlowski Signed-off-by: Guillaume Ranquet --- Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml b

[PATCH v3 00/12] Add MT8195 HDMI support

2022-11-04 Thread Guillaume Ranquet
.infradead.org Cc: linux-media...@lists.infradead.org Cc: linux-...@lists.infradead.org Cc: devicet...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Krzysztof Kozlowski Cc: AngeloGioacchino Del Regno Cc: mac.s...@mediatek.com CC: stuart....@mediatek.com Signed-off-by:

Re: [PATCH v2 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-11-03 Thread Guillaume Ranquet
On Thu, 03 Nov 2022 13:45, Krzysztof Kozlowski wrote: >On 02/11/2022 09:31, Guillaume Ranquet wrote: >> On Fri, 14 Oct 2022 18:08, Krzysztof Kozlowski >> wrote: >>> On 14/10/2022 11:15, Guillaume Ranquet wrote: >>>> Add mt8195 SoC bindings for hdmi and hdmi-dd

Re: [PATCH v2 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-11-02 Thread Guillaume Ranquet
On Fri, 14 Oct 2022 18:08, Krzysztof Kozlowski wrote: >On 14/10/2022 11:15, Guillaume Ranquet wrote: >> Add mt8195 SoC bindings for hdmi and hdmi-ddc >> >> Signed-off-by: Guillaume Ranquet >> --- >> .../bindings/display/m

Re: [PATCH v2 10/12] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-11-02 Thread Guillaume Ranquet
On Fri, 21 Oct 2022 09:44, Chunfeng Yun wrote: >On Fri, 2022-10-14 at 17:16 +0200, Guillaume Ranquet wrote: >> Add basic support for the mediatek hdmi phy on MT8195 SoC >> >> Signed-off-by: Guillaume Ranquet >> --- >> drivers/phy/mediatek/Makefile

[PATCH v2 11/12] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT8195

2022-10-14 Thread Guillaume Ranquet
Add dt-binding documentation of dpi for MediaTek MT8195 SoC. Acked-by: Krzysztof Kozlowski Signed-off-by: Guillaume Ranquet --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display

[PATCH v2 10/12] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-10-14 Thread Guillaume Ranquet
Add basic support for the mediatek hdmi phy on MT8195 SoC Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/Makefile | 1 + drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 546 + drivers/phy/mediatek/phy-mtk-hdmi-mt8195.h | 131 +++ drivers

[PATCH v2 12/12] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2022-10-14 Thread Guillaume Ranquet
Add the DPI1 hdmi path support in mtk dpi driver Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dpi.c | 143 ++-- drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 5 ++ 2 files changed, 141 insertions(+), 7 deletions(-) diff --git a/drivers/gpu

[PATCH v2 07/12] drm/mediatek: hdmi: add v2 support

2022-10-14 Thread Guillaume Ranquet
Adds hdmi and hdmi-ddc support for v2 IP. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Makefile |2 + drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 14 + drivers/gpu/drm/mediatek/mtk_hdmi_common.h |1 + drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c | 367

[PATCH v2 08/12] drm/mediatek: hdmi: v2: add audio support

2022-10-14 Thread Guillaume Ranquet
Add HDMI audio support for v2 Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 1 + drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c | 2 +- drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 213 + drivers/gpu/drm/mediatek/mtk_hdmi_v2.h

[PATCH v2 05/12] drm/mediatek: hdmi: make the cec dev optional

2022-10-14 Thread Guillaume Ranquet
Make cec device optional in order to support newer versions of the hdmi IP which doesn't require it Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi.c| 8 +++-- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 54 -- drivers/gpu/drm

[PATCH v2 04/12] drm/mediatek: extract common functions from the mtk hdmi driver

2022-10-14 Thread Guillaume Ranquet
Create a common "framework" that can be used to add support for different hdmi IPs within the mediatek range of products. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_hdmi.c

[PATCH v2 06/12] drm/mediatek: hdmi: add frame_colorimetry flag

2022-10-14 Thread Guillaume Ranquet
Add a flag to indicate support for frame colorimetry. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 11 +++ drivers/gpu/drm/mediatek/mtk_hdmi_common.h | 1 + 2 files changed, 12 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c

[PATCH v2 03/12] drm/mediatek: hdmi: use a regmap instead of iomem

2022-10-14 Thread Guillaume Ranquet
To prepare support for newer chips that need to share their address range with a dedicated ddc driver, use a regmap. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 43 +++-- 1 file changed, 13 insertions(+), 30 deletions(-) diff --git

[PATCH v2 09/12] phy: phy-mtk-hdmi: Add generic phy configure callback

2022-10-14 Thread Guillaume Ranquet
Some phys, such as mt8195, needs to have a configure callback defined. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Guillaume Ranquet --- drivers/phy/mediatek/phy-mtk-hdmi.c | 12 drivers/phy/mediatek/phy-mtk-hdmi.h | 1 + 2 files changed, 13 insertions(+) diff --git

[PATCH v2 01/12] dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible

2022-10-14 Thread Guillaume Ranquet
Add a compatible for the HDMI PHY on MT8195 Acked-by: Krzysztof Kozlowski Signed-off-by: Guillaume Ranquet --- Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml b

[PATCH v2 02/12] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-10-14 Thread Guillaume Ranquet
Add mt8195 SoC bindings for hdmi and hdmi-ddc Signed-off-by: Guillaume Ranquet --- .../bindings/display/mediatek/mediatek,hdmi.yaml | 67 +- .../display/mediatek/mediatek,mt8195-hdmi-ddc.yaml | 51 2 files changed, 104 insertions(+), 14 deletions(-) diff

[PATCH v2 00/12] Add MT8195 HDMI support

2022-10-14 Thread Guillaume Ranquet
.infradead.org Cc: linux-media...@lists.infradead.org Cc: linux-...@lists.infradead.org Cc: devicet...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Krzysztof Kozlowski Cc: AngeloGioacchino Del Regno Cc: mac.s...@mediatek.com CC: stuart....@mediatek.com Signed-off-by:

Re: [PATCH v1 11/17] drm/mediatek: hdmi: add mt8195 support

2022-10-14 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 13:04, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> Adds hdmi and hdmi-ddc support for mt8195. >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/Makefile >&

Re: [PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv

2022-10-05 Thread Guillaume Ranquet
On Tue, 04 Oct 2022 17:05, Krzysztof Kozlowski wrote: >On 04/10/2022 13:55, Guillaume Ranquet wrote: >>> No. You said what the code is doing. I think I understand this. You >>> still do not need more compatibles. Your sentence did not clarify it >>> because it did

Re: [PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv

2022-10-04 Thread Guillaume Ranquet
On Tue, 04 Oct 2022 12:49, Krzysztof Kozlowski wrote: >On 03/10/2022 17:29, Guillaume Ranquet wrote: >> On Tue, 27 Sep 2022 16:28, Krzysztof Kozlowski >> wrote: >>> On 27/09/2022 15:04, Guillaume Ranquet wrote: >>>> On Thu, 22 Sep 2022 09:20, Krzysztof Kozlow

Re: [PATCH v1 09/17] drm/mediatek: hdmi: add connector flag

2022-10-03 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 12:38, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> Add a flag to indicate support for an external connector >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_hd

Re: [PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv

2022-10-03 Thread Guillaume Ranquet
On Tue, 27 Sep 2022 16:28, Krzysztof Kozlowski wrote: >On 27/09/2022 15:04, Guillaume Ranquet wrote: >> On Thu, 22 Sep 2022 09:20, Krzysztof Kozlowski >> wrote: >>> On 19/09/2022 18:56, Guillaume Ranquet wrote: >>>> Add dpi support to enable the HDMI path

Re: [PATCH v1 14/17] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-09-28 Thread Guillaume Ranquet
On Wed, 28 Sep 2022 04:40, Chunfeng Yun wrote: >On Tue, 2022-09-27 at 06:23 -0700, Guillaume Ranquet wrote: >> On Tue, 20 Sep 2022 09:46, Chunfeng Yun >> wrote: >> > On Mon, 2022-09-19 at 18:56 +0200, Guillaume Ranquet wrote: >> > > Add basic support for

Re: [PATCH v1 06/17] dt-bindings: mediatek: set the hdmi to be compatible with syscon

2022-09-27 Thread Guillaume Ranquet
On Thu, 22 Sep 2022 09:19, Krzysztof Kozlowski wrote: >On 19/09/2022 18:56, Guillaume Ranquet wrote: >> In order to share register with a dedicated ddc driver, set the hdmi >> compatible to syscon. >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git

Re: [PATCH v1 04/17] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-09-27 Thread Guillaume Ranquet
On Thu, 22 Sep 2022 09:18, Krzysztof Kozlowski wrote: >On 19/09/2022 18:56, Guillaume Ranquet wrote: >> Add mt8195 SoC bindings for hdmi and hdmi-ddc >> >> Make port1 optional for mt8195 as it only supports HDMI tx for now. >> Requires a ddc-i2c-bus phandle. >>

Re: [PATCH v1 16/17] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2022-09-27 Thread Guillaume Ranquet
On Thu, 22 Sep 2022 09:22, Krzysztof Kozlowski wrote: >On 19/09/2022 18:56, Guillaume Ranquet wrote: >> Add the DPI1 hdmi path support in mtk dpi driver >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c >> b/driv

Re: [PATCH v1 16/17] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2022-09-27 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 14:22, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> Add the DPI1 hdmi path support in mtk dpi driver >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c >&g

Re: [PATCH v1 14/17] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-09-27 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 09:46, Chunfeng Yun wrote: >On Mon, 2022-09-19 at 18:56 +0200, Guillaume Ranquet wrote: >> Add basic support for the mediatek hdmi phy on MT8195 SoC >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_m

Re: [PATCH v1 14/17] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-09-27 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 14:17, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> Add basic support for the mediatek hdmi phy on MT8195 SoC >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_mt

Re: [PATCH v1 12/17] drm/mediatek: hdmi: mt8195: add audio support

2022-09-27 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 13:11, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> Add HDMI audio support for mt8195 >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi

Re: [PATCH v1 07/17] drm/mediatek: extract common functions from the mtk hdmi driver

2022-09-27 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 12:25, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> Create a common "framework" that can be used to add support for >> different hdmi IPs within the mediatek range of products. >> >> Signed-off-by

Re: [PATCH v1 05/17] drm/mediatek: hdmi: use a syscon/regmap instead of iomem

2022-09-27 Thread Guillaume Ranquet
On Tue, 20 Sep 2022 12:18, AngeloGioacchino Del Regno wrote: >Il 19/09/22 18:56, Guillaume Ranquet ha scritto: >> To prepare support for newer chips that need to share their address >> range with a dedicated ddc driver, move to a syscon. >> >> Signed-off-by: Guillaum

Re: [PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv

2022-09-27 Thread Guillaume Ranquet
On Thu, 22 Sep 2022 09:20, Krzysztof Kozlowski wrote: >On 19/09/2022 18:56, Guillaume Ranquet wrote: >> Add dpi support to enable the HDMI path. >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c >> b/drivers/

Re: [PATCH v1 01/17] dt-bindings: clk: mediatek: Add MT8195 DPI clocks

2022-09-22 Thread Guillaume Ranquet
On Thu, 22 Sep 2022 09:11, Krzysztof Kozlowski wrote: >On 19/09/2022 18:55, Guillaume Ranquet wrote: >> From: Pablo Sun >> >> Expand dt-bindings slot for VDOSYS1 of MT8195. >> This clock is required by the DPI1 hardware >> and is a downstream of the HDMI pixel

[PATCH v1 12/17] drm/mediatek: hdmi: mt8195: add audio support

2022-09-19 Thread Guillaume Ranquet
Add HDMI audio support for mt8195 Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c b/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c index 39e07a6dd490..bb7593ea4c86 100644 --- a/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c +++ b/drivers/gpu/drm/mediatek

[PATCH v1 16/17] drm/mediatek: dpi: Add mt8195 hdmi to DPI driver

2022-09-19 Thread Guillaume Ranquet
Add the DPI1 hdmi path support in mtk dpi driver Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 630a4e301ef6..91212b7610e8 100644 --- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c

[PATCH v1 10/17] drm/mediatek: hdmi: add frame_colorimetry flag

2022-09-19 Thread Guillaume Ranquet
Add a flag to indicate support for frame colorimetry. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c b/drivers/gpu/drm/mediatek/mtk_hdmi_common.c index 30407603d693..9fe086e2cd7c 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c +++ b/drivers/gpu

[PATCH v1 13/17] phy: phy-mtk-hdmi: Add generic phy configure callback

2022-09-19 Thread Guillaume Ranquet
Some phys, such as mt8195, needs to have a configure callback defined. Signed-off-by: Guillaume Ranquet diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.c b/drivers/phy/mediatek/phy-mtk-hdmi.c index d4bd419abc3c..af46472237e0 100644 --- a/drivers/phy/mediatek/phy-mtk-hdmi.c +++ b/drivers/phy

[PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv

2022-09-19 Thread Guillaume Ranquet
Add dpi support to enable the HDMI path. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 72049a530ae1..27f029ca760b 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek

[PATCH v1 06/17] dt-bindings: mediatek: set the hdmi to be compatible with syscon

2022-09-19 Thread Guillaume Ranquet
In order to share register with a dedicated ddc driver, set the hdmi compatible to syscon. Signed-off-by: Guillaume Ranquet diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml index

[PATCH v1 08/17] drm/mediatek: hdmi: add cec flag

2022-09-19 Thread Guillaume Ranquet
Add a flag to indicate support for cec. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c b/drivers/gpu/drm/mediatek/mtk_hdmi_common.c index bfcca6f8b839..86653ebaacfd 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c +++ b/drivers/gpu/drm/mediatek

[PATCH v1 11/17] drm/mediatek: hdmi: add mt8195 support

2022-09-19 Thread Guillaume Ranquet
Adds hdmi and hdmi-ddc support for mt8195. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/Makefile b/drivers/gpu/drm/mediatek/Makefile index 008ec69da67b..f1ef6c8ae2b8 100644 --- a/drivers/gpu/drm/mediatek/Makefile +++ b/drivers/gpu/drm/mediatek/Makefile @@ -24,6 +24,8

[PATCH v1 14/17] phy: mediatek: add support for phy-mtk-hdmi-mt8195

2022-09-19 Thread Guillaume Ranquet
Add basic support for the mediatek hdmi phy on MT8195 SoC Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c b/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c index bb7593ea4c86..0157acdce56c 100644 --- a/drivers/gpu/drm/mediatek/mtk_mt8195_hdmi.c +++ b/drivers

[PATCH v1 07/17] drm/mediatek: extract common functions from the mtk hdmi driver

2022-09-19 Thread Guillaume Ranquet
Create a common "framework" that can be used to add support for different hdmi IPs within the mediatek range of products. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/Makefile b/drivers/gpu/drm/mediatek/Makefile index d4d193f60271..008ec69da67b 100644 ---

[PATCH v1 15/17] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT8195

2022-09-19 Thread Guillaume Ranquet
Add dt-binding documentation of dpi for MediaTek MT8195 SoC. Signed-off-by: Guillaume Ranquet diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 5bb23e97cf33..2c7ecef54986 100644

[PATCH v1 05/17] drm/mediatek: hdmi: use a syscon/regmap instead of iomem

2022-09-19 Thread Guillaume Ranquet
To prepare support for newer chips that need to share their address range with a dedicated ddc driver, move to a syscon. Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 3196189429bc..5cd05d4fe1a9 100644 --- a/drivers

[PATCH v1 04/17] dt-bindings: display: mediatek: add MT8195 hdmi bindings

2022-09-19 Thread Guillaume Ranquet
Add mt8195 SoC bindings for hdmi and hdmi-ddc Make port1 optional for mt8195 as it only supports HDMI tx for now. Requires a ddc-i2c-bus phandle. Requires a power-domains phandle. Signed-off-by: Guillaume Ranquet diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek

[PATCH v1 03/17] dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible

2022-09-19 Thread Guillaume Ranquet
Add a compatible for the HDMI PHY on MT8195 Signed-off-by: Guillaume Ranquet diff --git a/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml index 0d94950b84ca..71c75a11e189 100644 --- a/Documentation/devicetree/bindings

[PATCH v1 09/17] drm/mediatek: hdmi: add connector flag

2022-09-19 Thread Guillaume Ranquet
Add a flag to indicate support for an external connector Signed-off-by: Guillaume Ranquet diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c b/drivers/gpu/drm/mediatek/mtk_hdmi_common.c index 86653ebaacfd..30407603d693 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c +++ b/drivers

[PATCH v1 02/17] clk: mediatek: add VDOSYS1 clock

2022-09-19 Thread Guillaume Ranquet
From: Pablo Sun Add the clock gate definition for the DPI1 hardware in VDOSYS1. The parent clock "hdmi_txpll" is already defined in `mt8195.dtsi`. Signed-off-by: Pablo Sun Signed-off-by: Guillaume Ranquet diff --git a/drivers/clk/mediatek/clk-mt8195-vdo1.c b/drivers/clk/mediatek/

[PATCH v1 01/17] dt-bindings: clk: mediatek: Add MT8195 DPI clocks

2022-09-19 Thread Guillaume Ranquet
From: Pablo Sun Expand dt-bindings slot for VDOSYS1 of MT8195. This clock is required by the DPI1 hardware and is a downstream of the HDMI pixel clock. Signed-off-by: Pablo Sun Signed-off-by: Guillaume Ranquet Reviewed-by: Mattijs Korpershoek diff --git a/include/dt-bindings/clock/mt8195

[PATCH v1 00/17] Add MT8195 HDMI support

2022-09-19 Thread Guillaume Ranquet
and the dpi/drm_drv adjustements to support hdmi. Based on next-20220919 Signed-off-by: Guillaume Ranquet --- Guillaume Ranquet (15): dt-bindings: phy: mediatek: hdmi-phy: Add mt8195 compatible dt-bindings: display: mediatek: add MT8195 hdmi bindings drm/mediatek: hdmi: use a s

Re: [PATCH v26 3/7] drm/mediatek: add ovl_adaptor support for MT8195

2022-08-19 Thread Guillaume Ranquet
On Fri, 19 Aug 2022 08:14, "" wrote: >Add ovl_adaptor driver for MT8195. >Ovl_adaptor is an encapsulated module and designed for simplified >DRM control flow. This module is composed of 8 RDMAs, 4 MERGEs and >an ETHDR. Two RDMAs merge into one layer, so this module support 4 >layers. > Hi Nancy,

[PATCH v10 21/21] drm/mediatek: DP audio support for mt8195

2022-05-23 Thread Guillaume Ranquet
This patch adds audio support to the DP driver for mt8195 with up to 8 channels. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dp.c | 784 +- 1 file changed, 777 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b

[PATCH v10 20/21] drm/mediatek: add hpd debounce

2022-05-23 Thread Guillaume Ranquet
le (A2119) - J5Create 3in1 HDMI dongle (JAC379) Tested-by: Rex-BC Chen Reviewed-by: Rex-BC Chen Signed-off-by: Jitao Shi Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dp.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mt

[PATCH v10 19/21] drm/mediatek: Add mt8195 External DisplayPort support

2022-05-23 Thread Guillaume Ranquet
This patch adds External DisplayPort support to the mt8195 eDP driver. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dp.c | 104 +++--- 1 file changed, 81 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b/drivers/gpu

[PATCH v10 18/21] drm/mediatek: Add mt8195 Embedded DisplayPort driver

2022-05-23 Thread Guillaume Ranquet
is based on an initial version by Jason-JH.Lin . Signed-off-by: Markus Schneider-Pargmann Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/Kconfig |8 + drivers/gpu/drm/mediatek/Makefile |2 + drivers/gpu/drm/mediatek/mtk_dp.c | 2570

[PATCH v10 17/21] phy: phy-mtk-dp: Add driver for DP phy

2022-05-23 Thread Guillaume Ranquet
. The interaction with the controller can be covered by the configure callback of the phy framework and its displayport parameters. Signed-off-by: Markus Schneider-Pargmann Signed-off-by: Guillaume Ranquet --- MAINTAINERS | 1 + drivers/phy/mediatek/Kconfig | 8 ++ drivers/phy

[PATCH v10 16/21] drm/meditek: dpi: Add matrix_sel helper

2022-05-23 Thread Guillaume Ranquet
Add a mtk_dpi_matrix_sel() helper to update the DPI_MATRIX_SET register depending on the color format. Signed-off-by: Guillaume Ranquet --- drivers/gpu/drm/mediatek/mtk_dpi.c | 21 + drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 3 +++ 2 files changed, 24 insertions

  1   2   3   >