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 5E1DE3FC5D3; Sat, 12 Sep 2026 08:34:46 +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=1789202087; cv=none; b=iGX8ApXuRpjFr20vON7DKIMNlh+uLl29nLBvZfAs5QJEaOM/+iCsEsAlXbCBtoRt9qVajo/XoilGigrm64KzbBDsdhPYSNq/SWZ5RLwp3a/8FWcLIlxaNomM8v15gl6NWL2PIQKhmsZw48EvlSMu5qdlGwnen5hRLWWLvoz0mzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789202087; c=relaxed/simple; bh=4QC/1sOa3JpURztUsYbLOC6w4Jxs26zaLg1o/sdzys8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ionT+7VCM0PUvvxBJphwrdAIOL6f9jFte1IfAPrEsCmRq2Qp/IJpUzg4r7gX7A+mKemtfPVDSf4BfG6r7k8t0DfsLvIvLUzgG6Z4MCAJZavCatMUV2dX6J/Q8QMe/vEqAcEBwVEOAYJ7zINcXcPdwznX+HzFtiQ2wvZADJkZuXA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nFLDNlU9; 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="nFLDNlU9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B829B1F000FF; Sat, 12 Sep 2026 08:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789202086; bh=SG5qzWEp5kjbWG6DFnJfcwVPlHooCG+kXrTCWk8MLnI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=nFLDNlU9is4/9X33e3KdRbG5CRP2SxLf6iX/Y8IW2WHHrlzmctRfqV/WfRqqZqvkC eylcfOSFMQz8KVaz3/ttHczkIIptsODHwJbYb+Z2D9zwRrViPzzEUmZOZvLh6/R/w8 5eXqhv4OPODw8i+/n1CybLBZg77iJPBXlAou0558= 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 7.2 1129/1815] drm/sun4i: tcon: Set output mux for DSI and LVDS Date: Sat, 12 Sep 2026 08:47:59 +0200 Message-ID: <20260912065715.526192045@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065648.999753832@linuxfoundation.org> References: <20260912065648.999753832@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 7.2-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 960e83c8291da..ea7c90fef316b 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -717,9 +717,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