From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-190b.mail.infomaniak.ch (smtp-190b.mail.infomaniak.ch [185.125.25.11]) (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 2FAB047CC87 for ; Mon, 7 Sep 2026 12:31:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788784307; cv=none; b=e3oySTpxKlNUKUOZy86vCophBjHf1xoql1qP9mRUpAYqFuDSiUXpVlgKg6WXNNdy7FrqPZKOwBl2g97+uZZNF6rlEnxkWqoPiLO9LNo0X+HIE1OXfltMU4lKa+xsV0mYJzXXATP67jVPmfru2tGrOG7Rpsw6hvwxvoe6sLIk3m0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788784307; c=relaxed/simple; bh=EYaA2+3vzNXwp0/BodU+MNNQ0HZs349vD2R3fgbqOhw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UEHcqIbj2fZLT6qBIXfp7W8FmKngIXpZvZyZzgJZAbx5Su6NjF5bycXPz6UdknwmddlvzAsCjjC3SEIsD5KV1jVHrbe4EspUzQsa0VdTz2CkiYNVXEZt1OK4MoUPCg7YMYywpn6UCmQWb5JMXSgLTjrF4DFjOF+ijsGDb/E1870= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cinemaone.ch; spf=pass smtp.mailfrom=cinemaone.ch; dkim=pass (2048-bit key) header.d=cinemaone.ch header.i=@cinemaone.ch header.b=LLUOPGoa; arc=none smtp.client-ip=185.125.25.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cinemaone.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cinemaone.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cinemaone.ch header.i=@cinemaone.ch header.b="LLUOPGoa" Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4hdlnS0bqRzcjH; Mon, 7 Sep 2026 13:53:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cinemaone.ch; s=20250113; t=1788781979; bh=dBHS/oDA3Bq/MnKWT+8QzHHpzChtVCq42IiwJ53rpN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LLUOPGoa+1yTYjwReXd3sLFYM2bd9Ba8C+V+nZjYKtYEhiOZvd5osahH+orDZr49K d4nTyQea4C8zit4CurAfXWzpDzZ4q9bhzJiTJnwFSDOP6grS/JiA1X2SzdWP29rs6I x59D/ICIHRYbFdiVxhQvR0ETaJ17Ol8r9CJqfT8DiviGqAmBzzWIw5A7yhJBw92mOw URk1q5DBPZtn+1yyY5vp662Tyae0eOU0EpmnuwiCM4XIwlRFnPWPhqnxTjpaX61+NJ vrH13EkLKMi0eaM8ypd62T5oqFrQjwBvwHTiIfqjRHEOQ7TXgxn8UZf6oBcmT6AVIL mtPbXxoeOtxBg== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4hdlnR2cM7z1Tn; Mon, 7 Sep 2026 13:52:59 +0200 (CEST) From: Adrian Betschart To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher Cc: =?UTF-8?q?Christian=20K=C3=B6nig?= , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] drm/amd/display: send the 3D_Ext_Data byte for top-and-bottom too Date: Mon, 7 Sep 2026 13:52:28 +0200 Message-ID: <20260907115229.64477-3-adrian.betschart@cinemaone.ch> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260907115229.64477-1-adrian.betschart@cinemaone.ch> References: <20260907115229.64477-1-adrian.betschart@cinemaone.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Infomaniak-Routing: alpha HDMI 1.4b only requires the 3D_Ext_Data byte for the side-by-side (half) structure, and the vendor infoframe for top-and-bottom is built with a 5-byte payload accordingly. At least one sink family ignores a top-and-bottom VSIF without the sixth byte: a JVC DLA-RS4100 (D-ILA, "ILAFPJ--X214A") stays in 2D on the 5-byte frame and engages its 3D mode the moment the byte is present. Amlogic sources send the 6-byte form for top-and-bottom, which is why the same projector works with them. Send the extra byte, zero, for top-and-bottom as well. Sinks that do not need it ignore a zero 3D_Ext_Data field. Signed-off-by: Adrian Betschart --- drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c b/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c index 13478b8bd..3e41b33ea 100644 --- a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c +++ b/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c @@ -574,6 +574,7 @@ void mod_build_hf_vsif_infopacket(const struct dc_stream_state *stream, case TIMING_3D_FORMAT_TOP_AND_BOTTOM: case TIMING_3D_FORMAT_TB_SW_PACKED: info_packet->sb[5] = (0x6 << 4); + length = 6; break; default: -- 2.43.0