drm/mediatek: dpi: Move swap_shift to SoC config
authorGuillaume Ranquet <granquet@baylibre.com>
Fri, 1 Jul 2022 03:58:39 +0000 (11:58 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 4 Jul 2022 14:38:20 +0000 (22:38 +0800)
commit48fb81a2717d732448c08d34484ae18cd9f73769
treefde112ab5e56859b59a5e819b5a255f82a95ae03
parente373924d7eb1db0d0f46de9db270b0ee88f857c7
drm/mediatek: dpi: Move swap_shift to SoC config

Add flexibility by moving the swap shift value to SoC specific config.

Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220701035845.16458-11-rex-bc.chen@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dpi.c