diff options
author | Jason-JH Lin <jason-jh.lin@mediatek.com> | 2025-02-24 08:12:21 +0300 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2025-03-13 02:17:10 +0300 |
commit | 4ba973c8bad04d59fd4efa62512f4d9cee131714 (patch) | |
tree | 183ce9730a362dade362be431d23312869776b49 /rust/helpers/helpers.c | |
parent | 9e918c868346038e66daf700a11c78704844904b (diff) | |
download | linux-4ba973c8bad04d59fd4efa62512f4d9cee131714.tar.xz |
drm/mediatek: Fix config_updating flag never false when no mbox channel
When CONFIG_MTK_CMDQ is enabled, if the display is controlled by the CPU
while other hardware is controlled by the GCE, the display will encounter
a mbox request channel failure.
However, it will still enter the CONFIG_MTK_CMDQ statement, causing the
config_updating flag to never be set to false. As a result, no page flip
event is sent back to user space, and the screen does not update.
Fixes: da03801ad08f ("drm/mediatek: Move mtk_crtc_finish_page_flip() to ddp_cmdq_cb()")
Signed-off-by: Jason-JH Lin <jason-jh.lin@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20250224051301.3538484-1-jason-jh.lin@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions