Hi Andy,
On Thu, 2025-08-14 at 22:38 +0800, Chun-Kuang Hu wrote:
> Forward to dri-devel and linux-mediatek.
>
> Andy Chernyak 於 2025年7月2日 週三 下午11:12寫道:
> >
> > Kernel 6.16 has external video (both hdmi and displayport-over-
> > usbc) broken (black screen) on mt8173-based chromebooks (platform
>
stead of iomem for main
registers")
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek/mtk_hd
Add a compatible for the MediaTek MT8365 SoC, that has an integrated
ARM Mali G52 MC1 GPU and compatible with arm,mali-bifrost.
Signed-off-by: Louis-Alexis Eyraud
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation
The Mediatek MT8365 SoC has an integrated Arm Mali G52 MC1 GPU
(Bifrost).
Add gpu, OPP table, and MFG clock driver nodes in mt8365.dtsi to support
it using the Panfrost driver.
Signed-off-by: Louis-Alexis Eyraud
---
arch/arm64/boot/dts/mediatek/mt8365.dtsi | 41
Enable for the Mediatek Genio 350-EVK board the support of the
Arm Mali G52 MC1 GPU integrated in the MT8365 SoC.
Signed-off-by: Louis-Alexis Eyraud
---
arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8365
eps=5:fragment-uniform=true:vertex-steps=5: FPS: 231
FrameTime: 4.337 ms
===
glmark2 Score: 296
===
```
Signed-off-by: Louis-Alexis Eyraud
---
Louis-Alexis Eyra
-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
b/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
index
989479fdfe40952762a1b63797bf602b520dcac5..3b589706d61b1e0e4aa66d0c81253b8aeb70c0d3
100644
: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
b/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
index
3b589706d61b1e0e4aa66d0c81253b8aeb70c0d3
as that is still checking whether CEC is present and, if not,
will fail probing with an error saying that CEC is required
by HDMIv1.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 9 +
1
need to be called a second time.
So, remove this call from mtk_hdmi_get_cec_dev to keep the same sequence
as previously.
Fixes: 7485be967f7f ("drm/mediatek: mtk_hdmi: Move CEC device parsing in new
function")
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_
ns that HDMI ABIST can be
used even without prior display controller pipeline configuration.
The expected output is a 100% color bar (rainbow) test pattern.
Signed-off-by: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 123 +++
will be called from each driver's .probe()
callback, avoiding lots of code duplication.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/Kconfig | 11 +-
drivers/gpu/drm/mediatek/Makefile
const `mtk_hdmi_v1_ver_conf` and assign it to all of the
currently supported compatibles for this driver.
This commit brings no functional change.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 45
have support for one TX, one RX *and* for both
at the same time.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/Kconfig|7 +
drivers/gpu/drm/mediatek/Makefile |2 +
drivers/gpu/drm/med
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 1 +
drivers/gpu/drm/mediatek/mtk_hdmi_common.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
b/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
index
.
Also change the array of struct clock pointers in the mtk_hdmi
structure to be dynamically allocated, and allocate it in probe.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
Signed-off-by: Louis-Alexis Eyraud
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 26
ek: mtk_hdmi_common: Add var to enable interlaced modes
drm/mediatek: Introduce HDMI/DDC v2 for MT8195/MT8188
drm/mediatek: mtk_hdmi_v2: Add debugfs ops and implement ABIST
Louis-Alexis Eyraud (1):
drm/mediatek: mtk_hdmi: Drop redundant clock retrieval in
mtk_hdmi_get_cec_dev
dri
e, request the DSI host bridge
be pre-enabled before panel bridge by setting pre_enable_prev_first
flag on DSI device bridge in the mtk_dsi_host_attach function.
Fixes: c9b1150a68d9 ("drm/atomic-helper: Re-order bridge chain pre-enable and
post-disable")
Signed-off-by: Louis-Alexis Ey
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
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
, 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
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
: 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
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
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
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
>
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
: 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
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
FrameTime: 1.820 ms
===
glmark2 Score: 611
===
```
[1]
https://lore.kernel.org/dri-devel/20250324185801.168664-1-ariel.dalessan...@collabora.com/
Signed-off-by:
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
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
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
: 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
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
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
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
: 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
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
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:
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
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
-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
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
: 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
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
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
: 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
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
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
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
51 matches
Mail list logo