drm/mediatek: dpi: Add input_2pixel config support
authorBo-Chen Chen <rex-bc.chen@mediatek.com>
Tue, 5 Jul 2022 10:25:28 +0000 (18:25 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 6 Jul 2022 14:29:46 +0000 (22:29 +0800)
commit2587d8951b2f0e20a5e4a1f79b33f0b0932fb917
tree22599fc865a3c1ba3d9550e0607be8f9f6919166
parentc83da6233d05715a1e5841aa0b874faaa8150074
drm/mediatek: dpi: Add input_2pixel config support

The input pixel per iteration could be different, so we add a new config
"input_2pixel" to control this.

Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220705102530.1344-4-rex-bc.chen@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dpi.c
drivers/gpu/drm/mediatek/mtk_dpi_regs.h