[PATCH v14 14/15] drm/mediatek: dpi: Add dp_intf support
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Jun 27 03:52:32 PDT 2022
Il 24/06/22 05:09, Bo-Chen Chen ha scritto:
> From: Guillaume Ranquet <granquet at baylibre.com>
>
> Dpintf is the displayport interface hardware unit. This unit is similar
> to dpi and can reuse most of the code.
>
> This patch adds support for mt8195-dpintf to this dpi driver. Main
> differences are:
> - 4 pixels for one iteration for dp_intf while dpi is 1 pixel for one
> iteration. Therefore, we add a new config "pixels_per_iter" to control
> quantity of transferred pixels per iteration.
> - Input of dp_intf is two pixels per iteration, so we add a new config
> "input_2pixel" to control this.
> - Some register contents differ slightly between the two components. To
> work around this I added register bits/masks with a DPINTF_ prefix
> and use them where different.
>
> Based on a separate driver for dpintf created by
> Jitao shi <jitao.shi at mediatek.com>.
>
> Signed-off-by: Markus Schneider-Pargmann <msp at baylibre.com>
> Signed-off-by: Guillaume Ranquet <granquet at baylibre.com>
> [Bo-Chen: Modify reviewers' comments.]
> Signed-off-by: Bo-Chen Chen <rex-bc.chen at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list