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 2341347988C; Sat, 12 Sep 2026 16:34:36 +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=1789230877; cv=none; b=Io1QFsiTB7tr3gRtXWnaIxpNu1QF6qj1YLdRonx0ugMxMCG2yIRPl0UDqmDxfrV7SxJxtbPg8yz2EmKY2AEm5QzRo0z4KOVlapLrGTNHAAW0mBpcuFfE8CUvM5ZZIDrL9JvKhF1zoA6Ddst7UAfugqmnXzOypgQPdGDjtiuC1iI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789230877; c=relaxed/simple; bh=jLq8v8xxVgDjU9nEqbNE00xFaqDmR/EB7oe2M45g5fQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ab6KGEn1/sySLBj64MlDzQygJ3FmPJWSn48RiwEbsEILTJjDNi70LTQEMOia6ewqR9Qg+aRRNhjrKAis0MJoda7VY19PQ9REuDTmaDQMnU5WjB2A5EKCW88Y06WCk0Hz6FYoWxbLarpXGPIETILP9MQ4mElRm6Z++4RxJEgjASE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1X81BMbi; 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="1X81BMbi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D899D1F000FF; Sat, 12 Sep 2026 16:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789230876; bh=cDrLZjhaWfk/AsOgI7sn1PQLWoK3q44SQ9mW9iMNrhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=1X81BMbiEzZIFjBtu7ktsC/fg1S4nrwdMfKRt5PbPNX1NzL9puDY2uToLT0L2pxqu JiaH6W0VloXdZVTQ1A4dBeQVSBJTLtj+x+7ILrZeac5MJcGy6qOIS2MrS6j503pddN GUJFWABsS5eD0J7Xq7Sfivjaar3aI1rLNT5fD1LE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jernej Skrabec , Chen-Yu Tsai , Sasha Levin Subject: [PATCH 6.1 0885/1191] drm/sun4i: tcon: Set output mux for DSI and LVDS Date: Sat, 12 Sep 2026 09:00:13 +0200 Message-ID: <20260912065608.117422725@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065548.086904252@linuxfoundation.org> References: <20260912065548.086904252@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.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jernej Skrabec [ Upstream commit 9c90199b39637ad94253c4fd8e7b1333ca1d3e0d ] DSI and LVDS skip output mux setup, so TCON TOP cannot route the selected mixer. Configure them like other channel 0 outputs. In practice this matters for D1, where channel 0 TCONs are fed through TCON TOP. The remaining set_mux implementations only handle TMDS and return an error for other encoder types, as before. Fixes: b9b52d2f4aaf ("drm/sun4i: Add support for D1 TCONs") Signed-off-by: Jernej Skrabec Acked-by: Chen-Yu Tsai Link: https://patch.msgid.link/7e9dad9eed2e91a79c4e1202caa8fed7c2427531.1785772659.git.jernej.skrabec@gmail.com Signed-off-by: Chen-Yu Tsai Signed-off-by: Sasha Levin --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c index 936796851ffd3..933d45bb9122d 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -711,9 +711,11 @@ void sun4i_tcon_mode_set(struct sun4i_tcon *tcon, case DRM_MODE_ENCODER_DSI: /* DSI is tied to special case of CPU interface */ sun4i_tcon0_mode_set_cpu(tcon, encoder, mode); + sun4i_tcon_set_mux(tcon, 0, encoder); break; case DRM_MODE_ENCODER_LVDS: sun4i_tcon0_mode_set_lvds(tcon, encoder, mode); + sun4i_tcon_set_mux(tcon, 0, encoder); break; case DRM_MODE_ENCODER_NONE: sun4i_tcon0_mode_set_rgb(tcon, encoder, mode); -- 2.53.0