drm/mediatek: Add display merge async reset control
authorNancy.Lin <nancy.lin@mediatek.com>
Mon, 20 Jun 2022 09:19:23 +0000 (17:19 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 27 Jun 2022 14:39:37 +0000 (22:39 +0800)
commitaaf94f7c3ae6b86135ada5bdb01bce5242b27175
tree1f36ceaadf89182ef87b57e44c8a8456d6df3dcf
parenta5b51d1dd95fd3a103b35fe0235ee6c35cf32c29
drm/mediatek: Add display merge async reset control

Add merge async reset control in mtk_merge_stop. Async hw doesn't do self
reset on each sof signal(start of frame), so need to reset the async to
clear the hw status for the next merge start.

Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220620091930.27797-8-nancy.lin@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_disp_merge.c