Re: [PATCH v2 24/46] drm/mediatek: mtk_dpi: Pass parameters with new mtk_dpi_sync structure

From: CK Hu (胡俊光)

Date: Thu Nov 12 2026 - 02:04:37 EST


On Tue, 2026-07-14 at 13:43 +0200, AngeloGioacchino Del Regno wrote:
> In preparation for moving common code between DPI and DVO into a
> new mtk_dpi_common library, add a new mtk_dpi_sync structure which
> contains all of the sync parameters, such as HSYNC and Left/Right
> Odd and Even VSYNC.
>
> This is now passed as parameter of mtk_dpi_set_display_mode() and
> stack initialized in mtk_dpi_bridge_enable(): future preparation
> changes will add abstraction for hardware specific configuration
> which purpose will be to interpret the generic parameters to write
> those to the hardware specific registers.
>
> This brings no functional change.

Reviewed-by: CK Hu <ck.hu@xxxxxxxxxxxx>

>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> ---