[PATCH] drm/mediatek: mtk_dpi: Reorder output formats on MT8195/88

2025-06-06 Thread Louis-Alexis Eyraud
process. Fixes: 20fa6a8fc588 ("drm/mediatek: mtk_dpi: Allow additional output formats on MT8195/88") Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/mediatek/mtk_dpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drive

[PATCH v6 0/5] Add Mali GPU support for Mediatek MT8370 SoC

2025-05-09 Thread Louis-Alexis Eyraud
FrameTime: 1.820 ms === glmark2 Score: 611 === ``` [1] https://lore.kernel.org/dri-devel/20250324185801.168664-1-ariel.dalessan...@collabora.com/ Signed-off-by: Louis-Alexis Eyraud --- Changes in v6: - Add two new patches to commonize and

[PATCH v6 3/5] drm/panfrost: Commonize Mediatek power domain array definitions

2025-05-09 Thread Louis-Alexis Eyraud
, create a generic power domain array (mediatek_pm_domains) and use it in the mt8183(b), mt8186, mt8188 and mt8192 platform data instead. Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost/panfrost_drv.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions

[PATCH v6 2/5] drm/panfrost: Drop duplicated Mediatek supplies arrays

2025-05-09 Thread Louis-Alexis Eyraud
default_supplies instead. Also, rename mediatek_mt8183_supplies to a more generic name too (legacy_supplies). Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost/panfrost_drv.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v6 5/5] arm64: dts: mediatek: mt8370: Enable gpu support

2025-05-09 Thread Louis-Alexis Eyraud
: shader_present=0x5 l2_present=0x1 [drm] Initialized panfrost 1.3.0 for 1300.gpu on minor 0 ``` Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Louis-Alexis Eyraud --- arch/arm64/boot/dts/mediatek/mt8370.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot

[PATCH v6 1/5] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-05-09 Thread Louis-Alexis Eyraud
architecture. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Conor Dooley Signed-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali

[PATCH v6 4/5] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-05-09 Thread Louis-Alexis Eyraud
Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost/panfrost_drv.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c index 21b28bef84015793d9dba6b1e585891dc0dfcb6d

Re: [PATCH v5 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-05-07 Thread Louis-Alexis Eyraud
Hi, On Wed, 2025-05-07 at 15:06 +0100, Steven Price wrote: > On 02/05/2025 13:17, Louis-Alexis Eyraud wrote: > > Add a compatible for the MediaTek MT8370 SoC, with an integrated > > ARM > > Mali G57 MC2 GPU (Valhall-JM, dual core), with new platform data > > for >

[PATCH v5 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-05-02 Thread Louis-Alexis Eyraud
architecture. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Conor Dooley Signed-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali

[PATCH v5 3/3] arm64: dts: mediatek: mt8370: Enable gpu support

2025-05-02 Thread Louis-Alexis Eyraud
: shader_present=0x5 l2_present=0x1 [drm] Initialized panfrost 1.3.0 for 1300.gpu on minor 0 ``` Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Louis-Alexis Eyraud --- arch/arm64/boot/dts/mediatek/mt8370.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot

[PATCH v5 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-05-02 Thread Louis-Alexis Eyraud
enabled for Mediatek SoC that are Mali G57 based (compatible with mediatek,mali-mt8188 or mediatek,mali-8192), having specific platform data allows to set this flag for MT8370 without modifying MT8186 configuration and behaviour. Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost

[PATCH v5 0/3] Add Mali GPU support for Mediatek MT8370 SoC

2025-05-02 Thread Louis-Alexis Eyraud
FrameTime: 1.820 ms === glmark2 Score: 611 === ``` [1] https://lore.kernel.org/dri-devel/20250324185801.168664-1-ariel.dalessan...@collabora.com/ Signed-off-by:

Re: [PATCH v2 0/2] Add driver for Himax HX8279 DriverIC panels

2025-02-26 Thread Louis-Alexis Eyraud
05 > ++ >  4 files changed, 991 insertions(+) >  create mode 100644 > Documentation/devicetree/bindings/display/panel/himax,hx8279.yaml >  create mode 100644 drivers/gpu/drm/panel/panel-himax-hx8279.c > Tested-by: Louis-Alexis Eyraud # on Genio 510 EVK and Genio 1200 EVK

[PATCH v4 0/3] Add Mali GPU support for Mediatek MT8370 SoC

2025-02-11 Thread Louis-Alexis Eyraud
nor 0 ``` [1] https://lore.kernel.org/all/20250124191644.2309790-1-r...@kernel.org/ Signed-off-by: Louis-Alexis Eyraud --- Changes in v4: - Add warning comment in mt8370.dtsi about GPU node override - Reword "dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC" commit mes

[PATCH v4 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-02-11 Thread Louis-Alexis Eyraud
architecture. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b

[PATCH v4 3/3] arm64: dts: mediatek: mt8370: Enable gpu support

2025-02-11 Thread Louis-Alexis Eyraud
: shader_present=0x5 l2_present=0x1 [drm] Initialized panfrost 1.3.0 for 1300.gpu on minor 0 ``` Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Louis-Alexis Eyraud --- arch/arm64/boot/dts/mediatek/mt8370.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot

[PATCH v4 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-02-11 Thread Louis-Alexis Eyraud
be used for MT8370 because it only describes supplies, pm_domains and enablement of power management features in the panfrost driver. Reviewed-by: Steven Price Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost

Re: [PATCH v3 3/3] arm64: dts: mediatek: mt8370: Enable gpu support

2025-02-11 Thread Louis-Alexis Eyraud
On Tue, 2025-02-11 at 10:28 +0100, AngeloGioacchino Del Regno wrote: > Il 11/02/25 09:31, Krzysztof Kozlowski ha scritto: > > On Fri, Feb 07, 2025 at 04:18:32PM +0100, Louis-Alexis Eyraud > > wrote: > > > Add a new gpu node in mt8370.dtsi to enable support for the &g

[PATCH v3 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-02-07 Thread Louis-Alexis Eyraud
be used for MT8370 because it only describes supplies, pm_domains and enablement of power management features in the panfrost driver. Reviewed-by: Steven Price Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost/panfrost_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v3 3/3] arm64: dts: mediatek: mt8370: Enable gpu support

2025-02-07 Thread Louis-Alexis Eyraud
: shader_present=0x5 l2_present=0x1 [drm] Initialized panfrost 1.3.0 for 1300.gpu on minor 0 ``` Signed-off-by: Louis-Alexis Eyraud --- arch/arm64/boot/dts/mediatek/mt8370.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8370.dtsi b/arch/arm64/boot/dts

[PATCH v3 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-02-07 Thread Louis-Alexis Eyraud
other compatibles (especially MT8186) cannot be reused because of GPU architecture difference. Signed-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH v3 0/3] Add Mali GPU support for Mediatek MT8370 SoC

2025-02-07 Thread Louis-Alexis Eyraud
nor 0 ``` [1] https://lore.kernel.org/all/20250124191644.2309790-1-r...@kernel.org/ Signed-off-by: Louis-Alexis Eyraud --- Changes in v3: - Rebased on linux-next (tag: next-20250207) - Remove prerequisite change/patch ids - Reword commit messages to better explicit compatible needs - Link to v2:

Re: [PATCH v2 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-02-04 Thread Louis-Alexis Eyraud
On Thu, 2025-01-30 at 14:17 +0100, Krzysztof Kozlowski wrote: > On 30/01/2025 13:31, Louis-Alexis Eyraud wrote: > > Add a compatible for the MediaTek MT8370 SoC, with an > > integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core), > > with the same platform data as MT8186 (one

Re: [PATCH 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-01-31 Thread Louis-Alexis Eyraud
On Thu, 2025-01-30 at 14:21 +0100, Krzysztof Kozlowski wrote: > On 30/01/2025 13:15, Louis-Alexis Eyraud wrote: > > Hello, > > > > sorry for the delay, > > You gave yourself 12 days to respond, which is fine. But to me, you > gave > 15 minutes and immediately sen

[PATCH v2 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-01-30 Thread Louis-Alexis Eyraud
-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index

[PATCH v2 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-01-30 Thread Louis-Alexis Eyraud
Add a compatible for the MediaTek MT8370 SoC, with an integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core), with the same platform data as MT8186 (one regulator, two power domains). Reviewed-by: Steven Price Signed-off-by: Louis-Alexis Eyraud --- drivers/gpu/drm/panfrost/panfrost_drv.c | 1

[PATCH v2 3/3] arm64: dts: mediatek: mt8370: Enable gpu support

2025-01-30 Thread Louis-Alexis Eyraud
: shader_present=0x5 l2_present=0x1 [drm] Initialized panfrost 1.3.0 for 1300.gpu on minor 0 ``` Signed-off-by: Louis-Alexis Eyraud --- arch/arm64/boot/dts/mediatek/mt8370.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8370.dtsi b/arch/arm64/boot/dts

[PATCH v2 0/3] Add Mali GPU support for Mediatek MT8370 SoC

2025-01-30 Thread Louis-Alexis Eyraud
genio-510-v2-0-fc9b01d08...@collabora.com/ Signed-off-by: Louis-Alexis Eyraud --- Changes in v2: - Rework "drm/panfrost: Add support for Mali on the MT8370 SoC" to avoid data structure duplication, as requested by Krzysztof Kozlowski - Reword commit messages to use imperative mo

Re: [PATCH 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-01-30 Thread Louis-Alexis Eyraud
Hello, sorry for the delay, On Sat, 18 Jan 2025 17:08:10 +0100 Krzysztof Kozlowski wrote --- > On Thu, Jan 16, 2025 at 03:25:58PM +0100, Louis-Alexis Eyraud wrote: > > This commit adds a compatible for the MediaTek MT8370 SoC, with an > > integrated ARM Mali G57 MC2

[PATCH 3/3] arm64: dts: mediatek: mt8370: Enable gpu support

2025-01-16 Thread Louis-Alexis Eyraud
: shader_present=0x5 l2_present=0x1 [drm] Initialized panfrost 1.3.0 for 1300.gpu on minor 0 ``` Signed-off-by: Louis-Alexis Eyraud --- arch/arm64/boot/dts/mediatek/mt8370.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8370.dtsi b/arch/arm64

[PATCH 2/3] drm/panfrost: Add support for Mali on the MT8370 SoC

2025-01-16 Thread Louis-Alexis Eyraud
This commit adds a compatible for the MediaTek MT8370 SoC, with an integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core), and adds platform data using the same supplies and the same power domain lists as MT8186 (one regulator, two power domains). Signed-off-by: Louis-Alexis Eyraud --- drivers

[PATCH 0/3] Add Mali GPU support for Mediatek MT8370 SoC

2025-01-16 Thread Louis-Alexis Eyraud
genio-510-v2-0-fc9b01d08...@collabora.com/ Signed-off-by: Louis-Alexis Eyraud --- Louis-Alexis Eyraud (3): dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC drm/panfrost: Add support for Mali on the MT8370 SoC arm64: dts: mediatek: mt8370: Enable gpu support Document

[PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for MT8370 SoC

2025-01-16 Thread Louis-Alexis Eyraud
This commit adds a compatible for the MediaTek MT8370 SoC, with an integrated ARM Mali G57 MC2 GPU (Valhall-JM, dual core). Signed-off-by: Louis-Alexis Eyraud --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a