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 33A0F47D928; Sat, 12 Sep 2026 12:48: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=1789217317; cv=none; b=XLWFB1jbBjySOjud7nDu11rKCrcPVrhcgRklQ7X0/Q0R8fzgwpZaKjLK1kEFfmWtPfQgIc2Bqq/Aip/nk61b0cS1gAtbIiBnCDUbxUtkPOZGfylvuvTl0gJyDidmo4iaWDFJZbbU1GVM+TRJgQcbCWAwb32Nra5fx/BzA8cCpAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789217317; c=relaxed/simple; bh=P+y5+QBVmhbZmOq90vzqZVDdz5Kl+uO7mhAfXH1XpCg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d30f5T6vp64C/Dpc0vpv1Jcm4Vq5FHU2d9NTRXhX/G9YkpvT3gFir20amF09/hQCmzkVfbZhv92gx97On9E+HpiYsRyFQ5NVg/UntuudYApQDrFE12A50vKqwveGhIuP1n9qbiwshIAJu0r2x5ElTQdqIQy61DxHWkOv5WHbKJk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eonGA90O; 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="eonGA90O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 513471F00898; Sat, 12 Sep 2026 12:48:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789217316; bh=NUVdvTrbbQrDGHe5POpljlTMmAwcFXfoHsDx4DCiyIk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eonGA90O2MCOFpsb3mMI/oXqEsEgAzRBSCjwnT2YMRXVCe16PWDBjKpel3u9wpbPd FN7dKJfwF3C2jcmAOjiIgk/SPZY9YfSGnoDI80BKx+JipHchCXR5ilwIk6y4tjePau JrVeAEnc9co+N5mKROkM7Vf9UMEgYTQBHCju5YNg= 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.12 0915/1376] drm/sun4i: tcon: Set output mux for DSI and LVDS Date: Sat, 12 Sep 2026 08:55:41 +0200 Message-ID: <20260912065627.959572644@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065607.535295758@linuxfoundation.org> References: <20260912065607.535295758@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: 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 a1a2c845ade0c..1b710013b9cb3 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