drm/mediatek: dsi: Add dsi cmdq_ctl to send panel initial code
authorShuijing Li <shuijing.li@mediatek.com>
Mon, 11 Sep 2023 12:07:59 +0000 (20:07 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 11 Sep 2023 14:54:11 +0000 (14:54 +0000)
commit2ccf6e2580cdc192b6cb034c98485cca6ccc8f58
treef3ba53762b28eb87e5aa869283af28a7e6d2a51f
parent81d707f32eb913f3296246ab9e2e6edf1a97064b
drm/mediatek: dsi: Add dsi cmdq_ctl to send panel initial code

For mt8188, add dsi cmdq reg control to send long packets to panel
initialization. MT8188 hardware has been changed to automatically
set the cmdq_size value by default when sending long packets.
In this patch, the cmdq_size value is set manually instead.
Remain consistent with previous IC.

Signed-off-by: Shuijing Li <shuijing.li@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20230911120800.17369-3-shuijing.li@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c