From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E5F494FDA58; Thu, 17 Sep 2026 17:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789667261; cv=none; b=fH7aXGOxL5Nr+jzL75fFY1SgLnj6CokM2LrMtWho24s/H/CB6P/9SLXPxpCy78hw+Xhemh4N7yCkKGJS7JOoZ2NUejdWR2YFyfmx2IXb632aMIM1nIiagHfOSZF4KoBkNPx59D1aU5YnHo0PLiJURIg2vjogABQAMMi4HxEpsEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789667261; c=relaxed/simple; bh=F9MFpvTJdxCI+JofnvFxLCmkp+8aa1n8O+m8aXkr4zw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u/LYga3S2Nk5Z2h+VVXIaSj7tjWUyOcJG5BslCjOQKPxpUOQTbDviBfGat9JzKkL7W0+WFKgWE9Jpk+NH4RAvYACKduMp3fA9cm6Zdn7ljUdmjsz1q8ddj2+eBV7u60IiwB/UI27BHT2vRz35/6W9YaVgjKH7hYJm/ambIHJq3E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a78FcOeT; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="a78FcOeT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12E741F000FF; Thu, 17 Sep 2026 17:47:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789667259; bh=MrwCZutj2QC7kP+MwvHQ2ZdQnGIqoFIRdXwa6MNkNwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=a78FcOeTYTmmpK7gvNTYEG2i5inNZnl+CHdQrDZUEEQopRXcOzJfnD0Ty71rF9bub rVy5AolzCljyKvDn28Wqa+mZPkq18Itb15UCNFOFPWeEhqESJwjBJEdxx2HsxH4gOk 06Ajx/whnNCXJWo/ubDAiv7EMZoDqvIWrM5OWmAo= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Linus Walleij , Riccardo Mereu , Dmitry Baryshkov , Sasha Levin Subject: [PATCH 6.12 0006/1102] drm/panel: jadard-jd9365da-h3: set prepare_prev_first Date: Thu, 17 Sep 2026 15:59:09 +0100 Message-ID: <20260917151539.580006583@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260917151539.408551884@linuxfoundation.org> References: <20260917151539.408551884@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dmitry Baryshkov [ Upstream commit b55a4b5d4769a650f52ea3f1ae680610169d125e ] Sending DSI commands from the prepare() callback requires DSI link to be up at that point. For DSI hosts is guaranteed only if the panel driver sets the .prepare_prev_first flag. Set it to let these panels work with the DSI hosts which don't power on the link in their .mode_set callback. Reviewed-by: Linus Walleij Tested-by: Riccardo Mereu Link: https://patch.msgid.link/20260413-waveshare-dsi-touch-v3-13-3aeb53022c32@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov Signed-off-by: Sasha Levin --- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c b/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c index eb0f8373258c3..94597defaa2c9 100644 --- a/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c +++ b/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c @@ -1159,6 +1159,8 @@ static int jadard_dsi_probe(struct mipi_dsi_device *dsi) if (ret) return ret; + jadard->panel.prepare_prev_first = true; + drm_panel_add(&jadard->panel); mipi_dsi_set_drvdata(dsi, jadard); -- 2.53.0