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 537472C11DF; Fri, 15 May 2026 16:22:32 +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=1778862152; cv=none; b=D5NzMBWq4eCUplMK6kwyRCMlSwK0k4jpgvw4T279VL3sqq/8UoXnHy70pns3AbzKbvt7zvke+JrSWzJb7bHtSNyQc4DhjU4RjAyeqwRA/LT4ClGO/LJ7LoTlKRtQyfRLEu/WvuFz8I3RkYielI0T1vULPG/3/5/9H5RXRFUZ0/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778862152; c=relaxed/simple; bh=QwUoxZ8Tw+XOEh2FoSQaCqYeHtjO6ZAQg6SZo5/6kvk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=J0/1Betl516nJqt1tKQ2mp/3jGj+kARHqgywXo0BplH7Ev2sza1uRDBsEnZxMuhnYzOUh0agHWM62PEfg3iPPUfN6oUAt1lFJgYT4nDm7drwL0cfbQcv/LPaI+E9hQodZNEChoMpWRLXF5mcyRHKImQO51ojIoRE7ZqS06gjij8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NYJUhIH0; 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="NYJUhIH0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDF2CC2BCB0; Fri, 15 May 2026 16:22:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778862152; bh=QwUoxZ8Tw+XOEh2FoSQaCqYeHtjO6ZAQg6SZo5/6kvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NYJUhIH0ucMii7GAFESyvFt0kJdMe3Yp3f1fLEcIlQ7U5TBBhIaftwehRBmzA6o9y tUrc3q1e0m/9XASWcpOk+fExWgsfzr2LO3IrVm2uz7bvRgXnWChj755bQ90pnwA/W3 lMcpXB7vG+hB8N2I+6pmatgRKt4oOXuUyJliA3cQ= 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 6.18 128/188] drm/panel: boe-tv101wum-nl6: restore MODE_LPM after sending disable cmds Date: Fri, 15 May 2026 17:49:05 +0200 Message-ID: <20260515154700.105549188@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260515154657.309489048@linuxfoundation.org> References: <20260515154657.309489048@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 6.18-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;