From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 72411383986 for ; Tue, 12 May 2026 13:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778592164; cv=none; b=tXSjX4sAprLAU4njA31bj8JWxd+mk+RvZ+Q4ncQzOmlH/t/wdRGcWVkcOnzkOdQYfzjKllB70vhGYjTg1C48A+MGBneNnDRc/O9HOjgVreVXBgrXVT1ugl1yKX0Zl/pia+bmHRlg1i7zLCHgZouapgjr2/hjbweFX4tBJnokPE4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778592164; c=relaxed/simple; bh=YKwQC6GmTrJBkI+vXJCULCiim4NUrHLKp4og/UE/9JQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WrnEOtcJIsEljhoADLfmSo8U4v7shxka0j0U7YVkPhu/vE23Z8d9ubJiiTwYML32Dq4givZZwcuh9OadNY1FD7g30ztKFaeXhuPY8UI2vJH6nEy44TQnAkt+m3Qo4tx4NWm9gw7j83g8dZv2osiHt2lnSZXG8yUVBEnR1h99Fjs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QLjXVbP0; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=WzRoi8Ek; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QLjXVbP0"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="WzRoi8Ek" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778592162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fGSZiTHuZJ9sQ24k4PVV7Pvk4Nit0MnWWd13gX9epo4=; b=QLjXVbP0EIQpDWoVleYsUTO2XSNvJUwrr/Xsh8+WynzSxuStwAL0hRZiVAlYKRpt7t2niE A4hQy9eW+0kC2GRxAdvZhaJ6bPJRW4f5o/qybLMLgByYlXPTTLgpdl+8Cz5ddwcvDc/GPr 4XTKJi/bxO7lb82b5ZEHSNg0x+KpAWA= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-96-zRKT5hxUPP-p0UYEbyJfpA-1; Tue, 12 May 2026 09:22:41 -0400 X-MC-Unique: zRKT5hxUPP-p0UYEbyJfpA-1 X-Mimecast-MFC-AGG-ID: zRKT5hxUPP-p0UYEbyJfpA_1778592160 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-43d7a5b9678so3702796f8f.2 for ; Tue, 12 May 2026 06:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1778592159; x=1779196959; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fGSZiTHuZJ9sQ24k4PVV7Pvk4Nit0MnWWd13gX9epo4=; b=WzRoi8EkBty8Ci9/pA3FEqM01XDCl4Jhb3NiaZXMUMzEoJEiw4fXbm8LRy97gGRGY/ wnPrYZz0HqXw8sWmTv/D023Mq75Jlonpefuj/gHqtjC5ujzLIo/Pb6aUVcGeDXys6pX/ A+SmqP9isRFAAw8c140IPiRjYqk6UqOmht7JX+GpsJBKVaZdZQqJMSJb0m8yCP7YM76C UvxVj+nO9VizZfa1cbd2KUZScK9kyXjQ2plC0XFJwUYjPdOXHfXJhNuhD6HG9g1ZF/eR 979Cu/cpb87eU4ihlpIvz46pzimj5w8NzNnYMtProZr5xOTN2mfdw7VSMSN4xuDCDM2V GkPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778592159; x=1779196959; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fGSZiTHuZJ9sQ24k4PVV7Pvk4Nit0MnWWd13gX9epo4=; b=G/nA5uFu8XX42jA7FPQIqHYVIbPCAQbxGPthq6RewPJ1iI2Bt/eyGuxefcUkp6SfCp nU9C1A1EXZviodNqekUCC4N0uOlbJcu/3uXRlMlD3EwCXr05VDxqNklmIzjtUw96dQjo kxAlHWxWcT6v0bmcuzIyRj4hhDUMh77cip60R+DUbra4Sec0UFwKkiX+RB9T1WSLsoGg M7bL1mFwyI6H+XUAIEMM6VB18i5Tim9TIJ2wRZc9W9dvUMTnm3RiqV/rlaGIMSWKHfKo av1gYNxB8guYMtClQ518hS3W77VfOCe5ismZR3gSys7gzAt4ew0YoJoOCmEOh60OBoIS TnBA== X-Gm-Message-State: AOJu0YzSRDR0tSN+rCkCqjmrEXPqrXbb7r+vZM1cLoxoH1x4vATHG+91 aClK9jIQaLQHsdnj33sq6ci09n7nbXs1rlFMl3A0DiqY1nwQxoZ0WupqPuAUM1U3zfiNMVTqACN LthuBmjdq4I38TfpG2oB+T6aH4Cmu4ZqVZTU4dqKKYcLU0bWzHSTjkWsA328i0GIWVDlXSZ1/zm KxX2VungVTP/s9YZwxM3o4rXqyjkh+vBMyUp2hwmD67x0SSx1Hvs8= X-Gm-Gg: Acq92OEPhiltociqSiWmQ21mFyYLFPwuqEqc54J9U/xpx0t8o19ExefK00TlJuEBN8F Lz/T4MOt/A8NL1n3CamGB13/44TfqsLYoDf5SpTl+GjJNzORs3AEJVhYZKbE+w+ZN+ldXJBDSUI ot3n2MV4rs8S8GjdFPxp5V7J0fFVK5dKD0wRND3yc387fLeHkPCrsq3OSEWqRZY+5rqfcAQFu4O y8OcWE80LGNcaJ7h7o5bHFAZJxOLJ/6X8jwZ1G2KDBzuMFsgD7eLLCjNjsjgJ8SxGyfubhjHIhx VcMwOrneWqI1h1PC7sPIn96wMXaLHb+mQIKduihB+cOoATYLnQDEL6Yn5zMZJQSmH3VI1aD/k5b KmzppflUp9DDeofgnwZuT7Ub6v3U1cX4pgXCi2WfN+hceuH4= X-Received: by 2002:a05:6000:2902:b0:43f:dbbf:6d93 with SMTP id ffacd0b85a97d-4568c19b2b1mr20613826f8f.27.1778592159293; Tue, 12 May 2026 06:22:39 -0700 (PDT) X-Received: by 2002:a05:6000:2902:b0:43f:dbbf:6d93 with SMTP id ffacd0b85a97d-4568c19b2b1mr20613761f8f.27.1778592158716; Tue, 12 May 2026 06:22:38 -0700 (PDT) Received: from localhost (62-151-111-63.jazzfree.ya.com. [62.151.111.63]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45491da03a7sm33155548f8f.33.2026.05.12.06.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2026 06:22:37 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Andrzej Hajda , David Airlie , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Neil Armstrong , Phong LE , Robert Foss , Simona Vetter , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: [PATCH v3 0/2] drm/bridge: it66121: Fix display output on DVI monitors Date: Tue, 12 May 2026 15:22:14 +0200 Message-ID: <20260512132232.333654-1-javierm@redhat.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Display output does not work when connecting a AM625 BeaglePlay board to a DVI monitor, because the it66121 bridge driver assumes that the sink type is always HDMI. This patch series fixes the issue. Patch #1 moves the transmission mode and AVI infoframes enablement to the .atomic_enable handler, because currently this logic is in the .mode_set handler but that is called before .atomic_enable that is where the query of the connector is done (that contains the display sink type). Patch #2 then queries the display information to determine whether HDMI or DVI mode should be set. This is a v3 of the series, that addresses issues pointed out by Maxime. Changes in v3: - Move the HDMI/DVI mode set to the .atomic_enable handler (Maxime Ripard). Changes in v2: - Don't store the sink type in a per-commit bridge state (Maxime Ripard). Javier Martinez Canillas (2): drm/bridge: ite-it66121: Set TX mode in the .atomic_enable callback drm/bridge: ite-it66121: Select HDMI or DVI mode based on sink type drivers/gpu/drm/bridge/ite-it66121.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.54.0 base-commit: 19d584a634fe999786acfb0ac5289710cc84a5f6 branch: it66121-fix-dvi-mode-v3