Skip to content

Commit bee1abc

Browse files
Dennis YC Hsiehmbgg
authored andcommitted
drm/mediatek: reduce clear event
No need to clear event again since event always clear before wait. This fix depend on patch: "soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api" Fixes: 2f965be ("drm/mediatek: apply CMDQ control flow") Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> Reviewed-by: Bibby Hsieh <bibby.hsieh@mediatek.com> Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Link: https://lore.kernel.org/r/1594136714-11650-10-git-send-email-dennis-yc.hsieh@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent 23c2229 commit bee1abc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/mediatek/mtk_drm_crtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ static void mtk_drm_crtc_hw_config(struct mtk_drm_crtc *mtk_crtc)
481481
mbox_flush(mtk_crtc->cmdq_client->chan, 2000);
482482
cmdq_handle = cmdq_pkt_create(mtk_crtc->cmdq_client, PAGE_SIZE);
483483
cmdq_pkt_clear_event(cmdq_handle, mtk_crtc->cmdq_event);
484-
cmdq_pkt_wfe(cmdq_handle, mtk_crtc->cmdq_event, true);
484+
cmdq_pkt_wfe(cmdq_handle, mtk_crtc->cmdq_event, false);
485485
mtk_crtc_ddp_config(crtc, cmdq_handle);
486486
cmdq_pkt_finalize(cmdq_handle);
487487
cmdq_pkt_flush_async(cmdq_handle, ddp_cmdq_cb, cmdq_handle);

0 commit comments

Comments
 (0)