]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panel: boe-tv101wum-nl6: restore MODE_LPM after sending disable cmds
authorIcenowy Zheng <zhengxingda@iscas.ac.cn>
Sun, 3 May 2026 09:17:08 +0000 (17:17 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 5 May 2026 12:43:36 +0000 (14:43 +0200)
commit570cf799e87ae805eacfab3b4ba66676b5fccdb6
tree20ed1081da904ae95f22aceb68b58e4f97fcce3b
parentc67e8787f6743101c90c7a9c4bb7cf6f1f739f83
drm/panel: boe-tv101wum-nl6: restore MODE_LPM after sending disable cmds

When preparing the panel, it seems that it always expects commands to be
transferred in LP mode. However, the disable function removes the
MIPI_DSI_MODE_LPM flag, and no other function re-adds it.

As the unprepare function contains no DSI commands, re-adding the flag
just after disabling the panel should be safe. Add the code re-adding
the flag after the two commands for disabling the panel are sent.

This fixes error messages shown in kernel log when unblanking on
mt8183-kukui-kodama-sku32 device.

Cc: stable@vger.kernel.org
Fixes: a869b9db7adf ("drm/panel: support for boe tv101wum-nl6 wuxga dsi video mode panel")
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260503091708.1079962-1-zhengxingda@iscas.ac.cn
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c