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 E68903F7AB1 for ; Fri, 15 May 2026 08:40:59 +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=1778834460; cv=none; b=NdOziODGQPUC2KmYGtnakf8egcP4WOZyoJt/lZA2rPAUVWPiZrvjlDmg1KtjJyN88E/o4RYVX+xCBsyTRf1JuwrFwLlrYkKHKHYF+3OZfk+SaKoYi51lEJv0lS8C5IB4MKn0GJpUshH85oz5KDbRB+nV8R/eLGCS7QlOKptJ3eQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778834460; c=relaxed/simple; bh=5BANGKls7jvCLtP98m2Rz9RD/QxLI3bAG2SRXbF/hNw=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=bBtsaJa0e/fE6Cyqp/iIUbq53BaW4XJR9PjbdPhYz/irM98JQI1+WajjdTrBl3HX+Ih5ACwD2ZdpSECSm2pFpZ2HXiEncUuq1bN+LThBgeB7MHuGj3kkDwNLGFTmOsMizdbK0USxO9bY82WktxkBQioC700w4WbjahOhkHtpqjI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AWfAQG9D; 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="AWfAQG9D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70231C2BCB0; Fri, 15 May 2026 08:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778834459; bh=5BANGKls7jvCLtP98m2Rz9RD/QxLI3bAG2SRXbF/hNw=; h=Subject:To:Cc:From:Date:From; b=AWfAQG9DeGypL5BiOa860WFBeBmlGRmOE9wqDlOjyJUIF13v4EA8RDCHNT76wrX0X y0WRq+fV8ccJfUNUd80tJPrje3TFS/+3EidZX8VmauocsBVJzbYDHMJC4tUJU0pb/0 m3kADefpKePdi7XBzrRu/dSZFTNlJi6KvqXv9okE= Subject: FAILED: patch "[PATCH] drm/panel: boe-tv101wum-nl6: restore MODE_LPM after sending" failed to apply to 5.15-stable tree To: zhengxingda@iscas.ac.cn,dianders@chromium.org,neil.armstrong@linaro.org Cc: From: Date: Fri, 15 May 2026 10:40:53 +0200 Message-ID: <2026051553-alto-upscale-f1fb@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 570cf799e87ae805eacfab3b4ba66676b5fccdb6 # git commit -s git send-email --to '' --in-reply-to '2026051553-alto-upscale-f1fb@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 570cf799e87ae805eacfab3b4ba66676b5fccdb6 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Sun, 3 May 2026 17:17:08 +0800 Subject: [PATCH] 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 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 diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index d5fe105bdbdd..658ce64c71eb 100644 --- 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_panel *panel) 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;