Revert "drm/mediatek: Clear pending flag when cmdq packet is done"
authorChun-Kuang Hu <chunkuang.hu@kernel.org>
Thu, 7 Oct 2021 23:11:20 +0000 (07:11 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Tue, 12 Oct 2021 00:00:47 +0000 (08:00 +0800)
commitbdefc6b23be33add5e075fb76b97271dad4f813c
tree78c14a6f64ba2c2ff5e5b3f34b53b1e4c969842a
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
Revert "drm/mediatek: Clear pending flag when cmdq packet is done"

This reverts commit 9efb16c2fdd647d3888fd8dae84509f485cd554e.

Commit c1ec54b7b5af
("drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb")
would cause numerous mtk cmdq mailbox driver warning:

WARNING: CPU: 0 PID: 0 at drivers/mailbox/mtk-cmdq-mailbox.c:198
cmdq_task_exec_done+0xb8/0xe0

So revert that patch and all the patches depend on that patch.

Reported-by: Enric Balletbo Serra <eballetbo@gmail.com>
Tested-by: Enric Balletbo Serra <eballetbo@gmail.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_crtc.c