Skip to content

Commit

Permalink
FIXUP: FROMLIST: drm/mediatek: clear pending flag when cmdq packet is…
Browse files Browse the repository at this point in the history
… done.

Change-Id: I59e8e14d9c14be4bbacb25fc46d626e99bccac1f
  • Loading branch information
Lukasz Majczak committed Jul 20, 2021
1 parent e5d0f66 commit 69d26db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/mediatek/mtk_drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ static void ddp_cmdq_cb(struct cmdq_cb_data data)
struct mtk_crtc_state *state = to_mtk_crtc_state(mtk_crtc->base.state);
unsigned int i;

if (data.sta == CMDQ_CB_ERROR)
if (data.sta != 0)
goto destroy_pkt;

if (state->pending_config) {
Expand Down

0 comments on commit 69d26db

Please sign in to comment.