Revert "drm/mediatek: Remove struct cmdq_client"
authorChun-Kuang Hu <chunkuang.hu@kernel.org>
Thu, 7 Oct 2021 23:27:11 +0000 (07:27 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Tue, 12 Oct 2021 00:02:06 +0000 (08:02 +0800)
commit8a4a099f843890504d4942b93b3290a53a53ff3a
tree4564ec5d28b498f0df5e325b22909014de38b7c0
parent0cf54fff9bcffa69bb96f2da8539858402aea404
Revert "drm/mediatek: Remove struct cmdq_client"

This reverts commit f4be17cd5b14dd73545b0e014a63ebe9ab5ef837.

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