]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 21 Jul 2022 17:27:27 +0000 (19:27 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Thu, 25 Aug 2022 14:54:05 +0000 (22:54 +0800)
commitfa96b16240c33b01cf1bef1f40fe9b98b04c4baa
treeb8f42585073bf54e6fa8600074fce4b990073cf6
parent34a3249ab33a1690f58cd6e91a0208887337d3e0
drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks

Add callbacks for atomic_destroy_state, atomic_duplicate_state and
atomic_reset to restore functionality of the DSI driver: this solves
vblank timeouts when another bridge is present in the chain.

Tested bridge chain: DSI <=> ANX7625 => aux-bus panel

Fixes: c6d694d8bfbd ("drm/mediatek: Modify dsi funcs to atomic operations")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220721172727.14624-1-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c