[PATCH v10 04/10] drm/mediatek: mtk_hdmi: Split driver and add common probe function
Chun-Kuang Hu
chunkuang.hu at kernel.org
Wed Oct 22 06:47:50 PDT 2025
Hi, Louis:
When I apply this patch, conflicts happen.
Please rebase this series base on latest kernel and resend these patches.
Regards,
Chun-Kuang.
Louis-Alexis Eyraud <louisalexis.eyraud at collabora.com> 於 2025年8月8日 週五 上午10:13寫道:
>
> From: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
>
> 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 common
> probe function that will be called from each driver's .probe()
> callback, avoiding lots of code duplication.
>
> Reviewed-by: CK Hu <ck.hu at mediatek.com>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud at collabora.com>
> ---
> drivers/gpu/drm/mediatek/Kconfig | 11 +-
> drivers/gpu/drm/mediatek/Makefile | 1 +
> drivers/gpu/drm/mediatek/mtk_hdmi.c | 539 +----------------------------
> drivers/gpu/drm/mediatek/mtk_hdmi_common.c | 428 +++++++++++++++++++++++
> drivers/gpu/drm/mediatek/mtk_hdmi_common.h | 188 ++++++++++
> 5 files changed, 633 insertions(+), 534 deletions(-)
>
More information about the linux-arm-kernel
mailing list