]> git.itanic.dy.fi Git - linux-stable/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)
commiteeda05b5e92f51d9a09646ecb493f0a1e872a6ef
treeb8f42585073bf54e6fa8600074fce4b990073cf6
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
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: 7f6335c6a258 ("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