From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53D012949E0; Fri, 15 May 2026 16:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778862739; cv=none; b=BJ8Q3RmyfdMIZAo8u98A+3uuAwzxd39Vk6e9kMEGxfbNFWYMkq/Pgk9GgQSX+03z60eBf1E6tJPXEvx0k/HWaPhWJwT9GbTXh3VIgR29X7Vsf1wx7XQS+gj7qSfu4iHHEqQzs/S1qgtA7kOMlmioyGSlsfRcj2FJFfLXOPqpPjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778862739; c=relaxed/simple; bh=lgzIWGy0yEi4h3O3bO0jXsN0inU8gRT30pzWnccNVsE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dhvCjW9r4QyI1C9PgeKJ5s8+ssOPLIUPgaCBEAEIrpJ8+OXDz0i+0yGJOsDQD1bnqghCbjanaJ+GLYAqFOqJFcQMEO2gi9oTLV0di+8YMBNWY/w89lBSF+AOvsAdlQ1BPpGvJIMnzRBcqF5rbmVuVSIdYMAVhQ6ohDjV2ujTuXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TDPHgsw6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TDPHgsw6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBA36C2BCB0; Fri, 15 May 2026 16:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778862739; bh=lgzIWGy0yEi4h3O3bO0jXsN0inU8gRT30pzWnccNVsE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TDPHgsw6IFWu+Q9sDG9Dm1wyuwmITt4P7z2vi1afVkDLVYtLLswT4Ux0mOOCdKnJA y0FBnd5ebmUKWrRA4Sa/HkZF7Y7G1Iw9Sl+tdskDL4Ap8+0YoUo5E7XLX4+oYLiYxQ VVd1bn+Lis9FFCBlYAPfNwiveOJCmKz2IydtKwkk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Icenowy Zheng , Neil Armstrong , Douglas Anderson Subject: [PATCH 7.0 163/201] drm/panel: boe-tv101wum-nl6: restore MODE_LPM after sending disable cmds Date: Fri, 15 May 2026 17:49:41 +0200 Message-ID: <20260515154702.105778713@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260515154658.538039039@linuxfoundation.org> References: <20260515154658.538039039@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Icenowy Zheng commit 570cf799e87ae805eacfab3b4ba66676b5fccdb6 upstream. 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 Reviewed-by: Neil Armstrong Reviewed-by: Douglas Anderson Signed-off-by: Neil Armstrong Link: https://patch.msgid.link/20260503091708.1079962-1-zhengxingda@iscas.ac.cn Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c @@ -1324,6 +1324,8 @@ static int boe_panel_disable(struct drm_ mipi_dsi_dcs_set_display_off_multi(&ctx); mipi_dsi_dcs_enter_sleep_mode_multi(&ctx); + boe->dsi->mode_flags |= MIPI_DSI_MODE_LPM; + mipi_dsi_msleep(&ctx, 150); return ctx.accum_err;