has been added to wait for the
ddp_cmdq_cb() callback,indicating that the GCE IRQ has been triggered.
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: Jason-JH Lin
Reviewed-by: AngeloGioacchino Del Regno
On Mon, 12 May 2025 18:49:24 +0530, Vignesh Raman wrote:
> The mediatek display driver fails to probe on mt8173-elm-hana and
> mt8183-kukui-jacuzzi-juniper-sku16 in v6.14-rc4 due to missing PHY
> configurations.
>
> Commit 924d66011f24 ("drm/mediatek: stop selecting foreign drivers")
> stopped sel
lecting foreign drivers")
Reviewed-by: Nícolas F. R. A. Prado
Signed-off-by: Vignesh Raman
Reviewed-by: AngeloGioacchino Del Regno
: Louis-Alexis Eyraud
Reviewed-by: AngeloGioacchino Del Regno
On Thu, 24 Apr 2025 09:08:48 +0800, Jianeng Ceng wrote:
> This is v11 of the MT8186 Chromebook device tree series.
>
Applied to v6.15-next/dts64, thanks!
[1/2] dt-bindings: arm: mediatek: Add MT8186 Ponyta Chromebook
commit: ce8ec1f8c8b363c2511332c909d06df7ae01f1b3
[2/2] arm64: dts: mediat
Il 24/04/25 03:08, Jianeng Ceng ha scritto:
Ponyta is a custom label Chromebook based on MT8186. It is a
self-developed project of Huaqin and has no fixed OEM.
Signed-off-by: Jianeng Ceng
Reviewed-by: AngeloGioacchino Del Regno
---
Changes in v11:
- PATCH 1/2: Remove redundant items
e assignment into a single variable
assignment, which states that the configuration is valid when there are
not all zeros, clearing up the warning since the variable will always be
initialized.
Fixes: 38d42c261389 ("drm: panel: Add driver for Himax HX8279 DDIC panels")
Suggested-by: Angelo
valid != goa_even_valid)
| ^~
Change the initialization to set it to the value of the condition instead.
Fixes: 38d42c261389 ("drm: panel: Add driver for Himax HX8279 DDIC panels")
Signed-off-by: Arnd Bergmann
Reviewed-by: AngeloGioacchino De
initialized-207354fb930c
Best regards,
Reviewed-by: Neil Armstrong
I'll wait a few days until AngeloGioacchino Del Regno reviews it to be sure
it's the right fix.
Thanks,
Neil
I would prefer
if (num_zero == ARRAY_SIZE(desc->goa_odd_timing))
Il 23/04/25 11:36, Jianeng Ceng ha scritto:
Ponyta is a custom label Chromebook based on MT8186. It is a
self-developed project of Huaqin and has no fixed OEM.
Signed-off-by: Jianeng Ceng
---
Changes in v10:
- PATCH 1/2: Add enum for ponyta sku.
- Link to
v9:https://lore.kernel.org/all/2025032
Il 21/04/25 21:16, Dmitry Baryshkov ha scritto:
On Tue, Apr 15, 2025 at 12:43:20PM +0200, AngeloGioacchino Del Regno wrote:
Add support for the newer HDMI-TX (Encoder) v2 and DDC v2 IPs
found in MediaTek's MT8195, MT8188 SoC and their variants, and
including support for display modes up to
Il 22/04/25 08:01, CK Hu (胡俊光) ha scritto:
Hi, Angelo:
On Wed, 2025-04-09 at 15:13 +0200, AngeloGioacchino Del Regno wrote:
External email : Please do not click links or open attachments until you have
verified the sender or the content.
Allow additional output formats in both DPI and
Il 18/03/25 15:02, Liankun Yang ha scritto:
By adjusting the order of link training and relocating it to HPD,
link training can identify the usability of each lane in the current link.
It also supports handling signal instability and weakness due to
environmental issues, enabling the acquisition
Il 16/04/25 08:44, CK Hu (胡俊光) ha scritto:
On Tue, 2025-04-15 at 12:48 +0200, AngeloGioacchino Del Regno wrote:
External email : Please do not click links or open attachments until you have
verified the sender or the content.
Il 15/04/25 12:43, AngeloGioacchino Del Regno ha scritto:
In
Change error prints to use dev_err_probe() instead of dev_err()
where possible in function mtk_hdmi_dt_parse_pdata(), used only
during device probe.
While at it, also beautify some prints.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c
Add a binding for the Display Data Channel (DDC) IP in MediaTek
SoCs with version 2 HDMI TX IP.
Reviewed-by: Rob Herring (Arm)
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
.../mediatek/mediatek,mt8195-hdmi-ddc.yaml| 41 +++
1 file changed, 41
x27;s .probe()
callback, avoiding lots of code duplication.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Kconfig | 11 +-
drivers/gpu/drm/mediatek/Makefile |1 +
drivers/gpu/drm/mediatek/mtk_hdmi.c| 538 +-
drivers/gp
i Angelo,
Thanks for the fast feedback :)
On 20/03/2025 13:37, AngeloGioacchino Del Regno wrote:
Il 20/03/25 09:48, Alexandre Mergnat ha scritto:
Currently, the panel set power, set gpio and enable the display link
in stk_panel_prepare, pointed by drm_panel_funcs.prepare, called by
panel_bridge_at
i struct member name and to clarify that those parameters
are for HDMI Audio and not for HDMI Video configuration.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 63 -
1 file changed, 35 insertions(+), 28 deleti
get two functions: one that
performs the generic hdmi_audio_param copy, and one that performs
IP specific setup, both of which will be called in the callback,
allowing all of the non IP version specific code to get moved in
a common file.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 171 +++-
1 file changed, 65 insertions(+), 106 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek/mtk_hdmi.c
index 68b1632a2d00
HDMI 2.0.
Reviewed-by: Rob Herring (Arm)
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
.../mediatek/mediatek,mt8195-hdmi.yaml| 151 ++
1 file changed, 151 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/mediatek/mediatek
Add an interlace_allowed bool member to struct mtk_hdmi_ver_conf
which will be used to signal whether interlaced modes are supported
by the bridge (in our case, the HDMI IP), and enable it for HDMIv2.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek
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
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a
On Wed, 18 Dec 2024 11:53:17 +0100, AngeloGioacchino Del Regno wrote:
> This series adds the necessary bindings and devicetree nodes to enable
> the entire Multimedia Data Path 3 (MDP3) macro-block, found in MediaTek's
> MT8188 SoC.
>
> This was tested on a MediaTek
In preparation for splitting common bits of this driver, move the
mutex-protected cable plugged callback and codec device setting
to a new function called mtk_hdmi_audio_set_plugged_cb().
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 13
mtk_hdmi_output_init is specifically related only
to audio and not video.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 27 ---
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b
Move the CEC device parsing logic to a new function called
mtk_hdmi_get_cec_dev(), and move the parsing action to the end
of mtk_hdmi_dt_parse_pdata(), allowing to remove gotos in this
function, reducing code size and improving readability.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del
Il 15/04/25 12:43, AngeloGioacchino Del Regno ha scritto:
In preparation for adding a new driver for the HDMI TX v2 IP,
split out the functions that will be common between the already
present mtk_hdmi (v1) driver and the new one.
Since the probe flow for both drivers is 90% similar, add a
sed even without prior display controller pipeline configuration.
The expected output is a 100% color bar (rainbow) test pattern.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 123 +
1 file changed, 123 insertions(+)
diff --git a/drivers/
brings no functional changes to drivers that
have not been refactored to use the new helpers.
This also means that, in the current state, there is effectively
no functional change to mtk_hdmi and its other components.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm
* for both
at the same time.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Kconfig|7 +
drivers/gpu/drm/mediatek/Makefile |2 +
drivers/gpu/drm/mediatek/mtk_hdmi_common.c |4 +
drivers/gpu/drm/mediatek/mtk_hdmi_com
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
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 36 -
1 file changed, 30 insertions(+), 6
In preparation for adding the new HDMI TX v2 IP driver, assign the
pointer to the DDC adapter to struct drm_bridge during probe.
This commit brings no functional changes.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 1 +
1 file
assignments.
Reviewed-by: Alexandre Mergnat
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 20 +---
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek
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
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek/mtk_hdmi.c
index 60ec16f6827f..0933b22b81ff 100644
--- a/drivers/gpu/drm
Changes in v9:
- Reordered patch from krzk as first as requested by CK
Changes in v8:
- Dropped DPI patches as those have been applied in the previous merge window
- Changed description in mediatek,mt8195-hdmi.yaml as requested by CK
- Refactored function mtk_hdmi_v2_hw_gcp_avmute() to include
From: Krzysztof Kozlowski
Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over
syscon_regmap_lookup_by_phandle() combined with getting the syscon
argument. Except simpler code this annotates within one line that given
phandle has arguments, so grepping for code would be easier.
Th
mtk_hdmi.h header
so, while at it, also remove it.
Reviewed-by: Alexandre Mergnat
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Makefile | 6 ++
drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 --
drivers/gpu/drm/mediatek/mtk_hdmi.h | 13
flexibility by
allowing to compile the CECv1 driver only when needed (for example,
this is not needed nor used in HDMIv2 configurations).
Reviewed-by: Alexandre Mergnat
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Makefile | 4 ++--
drivers/gpu/drm
Il 15/04/25 10:14, CK Hu (胡俊光) ha scritto:
Hi, Angelo:
On Wed, 2025-04-09 at 15:13 +0200, AngeloGioacchino Del Regno wrote:
External email : Please do not click links or open attachments until you have
verified the sender or the content.
From: Krzysztof Kozlowski
Use
nk:
https://lore.kernel.org/r/20250410072456.387562-4-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/panel/Kconfig | 11 +
drivers/gpu/drm/panel/Makefile |1 +
drivers/gpu/drm/panel/panel-himax-hx8279.c | 1298 +
Il 11/04/25 10:18, CK Hu (胡俊光) ha scritto:
On Wed, 2025-04-09 at 15:13 +0200, AngeloGioacchino Del Regno wrote:
External email : Please do not click links or open attachments until you have
verified the sender or the content.
In preparation for adding a new driver for the HDMI TX v2 IP
f the aforementioned boards.
AngeloGioacchino Del Regno (3):
dt-bindings: vendor-prefixes: Add Shenzhen Aoly Technology Co., Ltd.
dt-bindings: display: panel: Add Himax HX8279/HX8279-D DDIC panels
drm: panel: Add driver for Himax HX8279 DDIC panels
.../bindings/display/panel/himax,hx8279
Dooley
Link:
https://lore.kernel.org/r/20250410072456.387562-3-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
.../bindings/display/panel/himax,hx8279.yaml | 75 +++
1 file changed, 75 insertions(+)
create mode 100644
Documentation
Aoly is a manufacturer of LCD/IPS displays based in Shenzhen,
Mainland China.
Acked-by: Rob Herring (Arm)
Link:
https://lore.kernel.org/r/20250410072456.387562-2-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
Documentation/devicetree/bindings/vendor
Il 11/04/25 10:51, neil.armstr...@linaro.org ha scritto:
On 10/04/2025 09:24, AngeloGioacchino Del Regno wrote:
Add a driver for the Himax HX8279-D MIPI-DSI DriverIC with support
for the Startek KX070FHFID078 7.0" 1200x1920 IPS panel, found on
various MediaTek Genio Evaluation Kit board
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 171 +++-
1 file changed, 65 insertions(+), 106 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek/mtk_hdmi.c
index 30eea57be991
Change error prints to use dev_err_probe() instead of dev_err()
where possible in function mtk_hdmi_dt_parse_pdata(), used only
during device probe.
While at it, also beautify some prints.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c
HDMIv2/DDCv2 series cleanups]
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi_common.c
b/drivers/gpu/drm/mediatek
Add a binding for the Display Data Channel (DDC) IP in MediaTek
SoCs with version 2 HDMI TX IP.
Reviewed-by: Rob Herring (Arm)
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
.../mediatek/mediatek,mt8195-hdmi-ddc.yaml| 41 +++
1 file changed, 41
* for both
at the same time.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Kconfig|7 +
drivers/gpu/drm/mediatek/Makefile |2 +
drivers/gpu/drm/mediatek/mtk_hdmi_common.c |4 +
drivers/gpu/drm/mediatek/mtk_hdmi_common.h |9 +
driver
Aoly is a manufacturer of LCD/IPS displays based in Shenzhen,
Mainland China.
Signed-off-by: AngeloGioacchino Del Regno
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml
b
Genio 510 EVK
- Genio 700 EVK
- Genio 1200 EVK
This driver was tested on all of the aforementioned boards.
AngeloGioacchino Del Regno (3):
dt-bindings: vendor-prefixes: Add Shenzhen Aoly Technology Co., Ltd.
dt-bindings: display: panel: Add Himax HX8279/HX8279-D DDIC panels
drm: panel: Add d
ned-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/panel/Kconfig | 11 +
drivers/gpu/drm/panel/Makefile |1 +
drivers/gpu/drm/panel/panel-himax-hx8279.c | 1365
3 files changed, 1377 insertions(+)
create mode 100644 drivers/gpu/drm/panel/panel-hima
Dooley
Signed-off-by: AngeloGioacchino Del Regno
---
.../bindings/display/panel/himax,hx8279.yaml | 75 +++
1 file changed, 75 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/panel/himax,hx8279.yaml
diff --git a/Documentation/devicetree/bindings
assignments.
Reviewed-by: Alexandre Mergnat
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 20 +---
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek
In preparation for adding support for additional color formats,
add local helpers to map media bus format parameters to this
driver's bit_num, channel_swap and color_format.
This commit brings no functional changes.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/med
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
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a
support for new SoCs in the future will be less time consuming
as this driver already has the pattern generator in;
- CI Testing might be able to make use of this to validate that the
data that comes out is not garbled (so, to help testing display
support in an automated manner).
Angelo
Add an interlace_allowed bool member to struct mtk_hdmi_ver_conf
which will be used to signal whether interlaced modes are supported
by the bridge (in our case, the HDMI IP), and enable it for HDMIv2.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek
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
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu
brings no functional changes to drivers that
have not been refactored to use the new helpers.
This also means that, in the current state, there is effectively
no functional change to mtk_hdmi and its other components.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm
In preparation for splitting common bits of this driver, move the
mutex-protected cable plugged callback and codec device setting
to a new function called mtk_hdmi_audio_set_plugged_cb().
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 13
x27;s .probe()
callback, avoiding lots of code duplication.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Kconfig | 11 +-
drivers/gpu/drm/mediatek/Makefile | 1 +
drivers/gpu/drm/mediatek/mtk_hdmi.c| 542 +
drivers/gp
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek/mtk_hdmi.c
index 87cf97136fb7..e7acf392b8f4 100644
--- a/drivers/gpu/drm
sed even without prior display controller pipeline configuration.
The expected output is a 100% color bar (rainbow) test pattern.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c | 123 +
1 file changed, 123 insertions(+)
In preparation for adding the new HDMI TX v2 IP driver, assign the
pointer to the DDC adapter to struct drm_bridge during probe.
This commit brings no functional changes.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 1 +
1 file
: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_dpi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c
b/drivers/gpu/drm/mediatek/mtk_dpi.c
index 9de537a77493..0b7f91fb519f 100644
--- a/drivers/gpu/drm/mediatek/mtk_dpi.c
+++ b/drivers/gpu
get two functions: one that
performs the generic hdmi_audio_param copy, and one that performs
IP specific setup, both of which will be called in the callback,
allowing all of the non IP version specific code to get moved in
a common file.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del
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
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 36 -
1 file changed, 30 insertions(+), 6
f the
YUYV12_1X24 (YUV422 12-bits) output format.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_dpi.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c
b/drivers/gpu/drm/mediatek/mtk_dpi.c
mtk_hdmi_output_init is specifically related only
to audio and not video.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 27 ---
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b
by MT8173, MT8183,
MT8186 and MT8192, I am enabling them only for MT8195/MT8188 as those
are the only two that I was able to test.
This was tested on:
- MT8195 Tomato Chromebook
- MT8395 Radxa NIO-12L
- MT8390 MediaTek Genio 700 EVK
AngeloGioacchino Del Regno (5):
drm/mediatek: mtk_dpi: Use
Move the CEC device parsing logic to a new function called
mtk_hdmi_get_cec_dev(), and move the parsing action to the end
of mtk_hdmi_dt_parse_pdata(), allowing to remove gotos in this
function, reducing code size and improving readability.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del
-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_dpi.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c
b/drivers/gpu/drm/mediatek/mtk_dpi.c
index 0fd13e6dd3f1..d735398e97f8 100644
--- a/drivers/gpu/drm/mediatek
i struct member name and to clarify that those parameters
are for HDMI Audio and not for HDMI Video configuration.
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 63 -
1 file changed, 35 insertions(+), 28 deleti
.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_dpi.c | 33 --
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c
b/drivers/gpu/drm/mediatek/mtk_dpi.c
index 5a66dfe3ad40..a9e8113a1618 100644
--- a
flexibility by
allowing to compile the CECv1 driver only when needed (for example,
this is not needed nor used in HDMIv2 configurations).
Reviewed-by: Alexandre Mergnat
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Makefile | 4 ++--
drivers/gpu/drm
mtk_hdmi.h header
so, while at it, also remove it.
Reviewed-by: Alexandre Mergnat
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/Makefile | 6 ++
drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 --
drivers/gpu/drm/mediatek/mtk_hdmi.h | 13
HDMI 2.0.
Reviewed-by: Rob Herring (Arm)
Reviewed-by: CK Hu
Signed-off-by: AngeloGioacchino Del Regno
---
.../mediatek/mediatek,mt8195-hdmi.yaml| 151 ++
1 file changed, 151 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/mediatek/mediatek
memory that doesn't belong to those drivers anymore,
as pointers may not have been set to NULL...!).
As an example, this is the reason (if not one of the reasons) for
a boot failure seen on the MT8195 Tomato Chromebook, pointed out
by KernelCI.
AngeloGioacchino Del Regno (5):
drm/mediatek:
d-by: Chen-Yu Tsai
Link:
https://lore.kernel.org/r/20250402083628.20111-3-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_dr
s an example, this is the reason (if not one of the reasons) for
a boot failure seen on the MT8195 Tomato Chromebook, pointed out
by KernelCI.
AngeloGioacchino Del Regno (5):
drm/mediatek: mtk_drm_drv: Fix kobject put for mtk_mutex device ptr
drm/mediatek: Fix kobject put for component s
k-drm for mt8195 multi mmsys
support")
Reviewed-by: Chen-Yu Tsai
Link:
https://lore.kernel.org/r/20250402083628.20111-4-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 -
1 file changed, 4 insertions(+),
e086 ("drm/mediatek: dp: Audio support for MT8195")
Fixes: caf2ae486742 ("drm/mediatek: dp: Add support for embedded DisplayPort
aux-bus")
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_dp.c | 30 ++
1 file changed, 26 inser
labora.com
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 34 ++--
1 file changed, 20 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c
b/drivers/gpu/drm/mediatek/mtk_disp_rdma.c
index bf47790e4d6b..c1
effectively 0 and doing nothing
this (fake) flag was dropped.
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Link:
https://lore.kernel.org/r/20250402083628.20111-5-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
drive
n-Yu Tsai
Link:
https://lore.kernel.org/r/20250402083628.20111-2-angelogioacchino.delre...@collabora.com
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/me
Del Regno
---
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c
b/drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c
index fa0e95dd29a0..fe97bb97e004 100644
--- a/drivers/gpu
d DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c
b/drivers/gpu/drm/mediatek/mtk_disp_o
Il 02/04/25 11:38, Chen-Yu Tsai ha scritto:
On Wed, Apr 2, 2025 at 4:36 PM AngeloGioacchino Del Regno
wrote:
The OVL driver is installing an ISR in the probe function but, if
the component is not bound yet, the interrupt handler may call the
vblank_cb ahead of time (while probing other
Il 02/04/25 06:06, Paul-pl Chen (陳柏霖) ha scritto:
On Mon, 2025-03-24 at 18:09 +0100, AngeloGioacchino Del Regno wrote:
External email : Please do not click links or open attachments until
you have verified the sender or the content.
Il 21/03/25 10:33, paul-pl.chen ha scritto:
From: Nancy
unbind callbacks respectively.
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 35 ++--
1 file changed, 21 insertions(+), 14 deletions(-)
di
ned-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index a8fbccb50c74..6b31df587507 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_d
k-drm for mt8195 multi mmsys
support")
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index 6b
of mutex_dev to
the mtk_drm_unbind() function to fix the refcount_t underflow.
Moreover, add the same call to the error cases in mtk_drm_bind()
to fix the refcount_t overflow.
Fixes: 1ef7ed48356c ("drm/mediatek: Modify mediatek-drm for mt8195 multi mmsys
support")
Signed-off-by: Ang
Il 28/03/25 10:40, Jianeng Ceng ha scritto:
Ponyta is a custom label Chromebook based on MT8186. It is a
self-developed project of Huaqin and has no fixed OEM.
Signed-off-by: Jianeng Ceng
---
Chage in V9:
- No change.
Changes in v8:
- PATCH 1/2: Remove custom label.
- Link to
v7:https://lore.
Il 21/03/25 10:33, paul-pl.chen ha scritto:
From: Nancy Lin
1. Defining driver data and adding compatible string
for different subsystems
(DISPSYS0, DISPSYS1, OVLSYS0, OVLSYS1, VDISP_AO)
2. Adding functions to control top clocks and ddp clocks.
3. Updating the probe function to initialize clock
1 - 100 of 1851 matches
Mail list logo