From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83CA2F3D329 for ; Thu, 5 Mar 2026 16:11:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DB39410EC1F; Thu, 5 Mar 2026 16:11:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="W5HjH40v"; dkim-atps=neutral Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D33310EC1F for ; Thu, 5 Mar 2026 16:11:05 +0000 (UTC) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-439aa2f8ebaso3408747f8f.2 for ; Thu, 05 Mar 2026 08:11:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772727064; x=1773331864; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tJeeuaZ7qx7HAcADjaqwPatptaDaRzMU0Sji/6Pdru8=; b=W5HjH40vAv0maaLSXWxn+7Lw4m5ksZsMNaeJJyGvQ/ENy55FT9hEJdWiqV8yR8tS+T tXD9+qGRbNhJgAGBsaYbBuCD5oTxXKfsFsGjhFkXH5yEcAqE5tCAoxnO79AqIaA4r4KL +3btSdf6xDIFegwUVyMDL3jbyxfEX+UDhJPbzSBo9LdtBL6IbstkSaPkypmVQiAfA4MV pKdTysw1yy4GgzMHWAci/be9izh+TfXoOyQBBJR2IjqOrh0/I301ff24ASzOxqk1otDU NvDQdNM0ZOnHJ6v34HVPUCVPEXnFDNdoXw4idVHIjZobQmOSl1pfgch6b3mBqOd5Ow1h GJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772727064; x=1773331864; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tJeeuaZ7qx7HAcADjaqwPatptaDaRzMU0Sji/6Pdru8=; b=luAkTrNCTnzEWySN0P/tPiTtQ68ETuEcV0/4k3TkWrJoyZI2raRvDJNQu8n5kJ4Ac+ DiCLUifkzr68BNoXlYR4T44Rw6IxJXlZOotLVxQwVi19mdtrnMF5OkGrbJakcyxdtHlM 6qZWBBQwkjA3esoS0OeJeTtu4s2G+11hY965X/LGl0Lg9SIbtGRYFalo55o0jXxoLQd6 n/z8n+cNzPhYWlMEW3oTI/+e51fFsAWbeWP4l2yAPR1FP1/UX68tRQjf94GobH7OLy2U t/GJkWwW/RkZeozyRaulyZZ/CIoueDzribU3yoLchqdoH7XCpzwvACfq7wS9RiAXOfPY 0J3Q== X-Gm-Message-State: AOJu0YzeUxH0X3L0MYrub815cWsI/r51Wg29dSqbMaZ/UtrQrkHvsZED 1ZVl7Df7TzWq2phuI8IgHc9gKw/DG9LSF+dtcwZbhh4TNDAWpmix+8mj X-Gm-Gg: ATEYQzx1jzR2EtB0i5YVhvETglA2t328lkXKHjazNdq1PAaZ6LkwvvGEPfqaE48bh51 OwH8SyI0M0HPs4AQFQLUSfj9seQBmvyTs+W7N2YahE0lDIfZYCIPbWPGSL18WXZQYHP0ywK6bUd JGY18/g+HasUunAWmlDAeP73mpEMLq4s8NuDq7eyDphsAvfqZu6NDVadFQMb51oGTO2nynj/Xf8 m3uCIBCa/ZYxs+3rRKiKp+l5Z/qzSq3nRDyPZSU12xTiTPcsBiM8KAFqC7ABrvsS0bcaJy74CLn 2htAzc9336pBEc3hyq5j4+IBh5JyYeeFY3s2nzvvb5jHvW2kPATfjFwiSXrOqSlxeh0CHvpahKJ jP5V8zDSegG5TfWPgUT02ZLfdTNw7rUl7WWbG+dng0BD2Gx34xxbyQn0V5JGdaJTA6dfxcfSuI8 mVxiG+EYj9pL58 X-Received: by 2002:a5d:5848:0:b0:439:bc31:a05a with SMTP id ffacd0b85a97d-439c800f812mr12087240f8f.43.1772727063494; Thu, 05 Mar 2026 08:11:03 -0800 (PST) Received: from xeon ([188.163.112.72]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439b8807a4esm31426496f8f.4.2026.03.05.08.11.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2026 08:11:03 -0800 (PST) From: Svyatoslav Ryhel To: Thierry Reding , Thierry Reding , Mikko Perttunen , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Hunter , Svyatoslav Ryhel Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] [RFC] drm/tegra: dsi: remove tegra_output_probe use Date: Thu, 5 Mar 2026 18:10:35 +0200 Message-ID: <20260305161035.64548-3-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260305161035.64548-1-clamor95@gmail.com> References: <20260305161035.64548-1-clamor95@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The tegra_output_probe() function parses DC, DSI, HDMI, and SOR nodes for panel phandles, OF graph endpoints, EDID, HPD GPIOs, and DDC buses. However, this function is redundant for DSI controllers that define the panel as a child node. Furthermore, it creates conflicts with modern dual-mode panel bindings that use OF graph links to both DSI controllers. The function incorrectly treats these links as standard panel links and attempts to resolve a panel that should not be handled there. For example, this causes the Mi Pad panel to fail initialization. Testing shows that bypassing this function allows the Mi Pad to work correctly while maintaining compatibility with other Tegra20 and Tegra114 DSI devices. Signed-off-by: Svyatoslav Ryhel --- drivers/gpu/drm/tegra/dsi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index 55259b68c933..5fbce17ea1fa 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/drivers/gpu/drm/tegra/dsi.c @@ -1594,10 +1594,6 @@ static int tegra_dsi_probe(struct platform_device *pdev) if (err < 0) return err; - err = tegra_output_probe(&dsi->output); - if (err < 0) - return err; - dsi->output.connector.polled = DRM_CONNECTOR_POLL_HPD; /* -- 2.51.0