]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panel: himax-hx83102: restore MODE_LPM after sending disable cmds
authorIcenowy Zheng <zhengxingda@iscas.ac.cn>
Sat, 25 Apr 2026 16:57:51 +0000 (00:57 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 5 May 2026 12:43:36 +0000 (14:43 +0200)
commit2d4e80271f784aa0c7b17676e9762c7e8156be1c
tree5ee3a708209cd3198f2a473ba2aa7fcfb183f094
parent570cf799e87ae805eacfab3b4ba66676b5fccdb6
drm/panel: himax-hx83102: 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 screen unblanking (after blanking once) on
mt8188-geralt-ciri-sku1 device.

Cc: stable@vger.kernel.org # 6.11+
Fixes: 0ef94554dc40 ("drm/panel: himax-hx83102: Break out as separate driver")
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/20260425165751.1716569-1-zhengxingda@iscas.ac.cn
drivers/gpu/drm/panel/panel-himax-hx83102.c