From nobody Thu Apr 9 23:23:12 2026 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 484433CF661 for ; Thu, 5 Mar 2026 16:11:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772727067; cv=none; b=HH833O0iFKOZbI+DrThuhN9eeEqpQlScPrQ34yyEXms+tlzUlZCnuaCQz3FyeePjdIrrRTeFB0HA+e4TiSDgaWBFyqbszOmxYRgVReThMNlWyF43vLXLZkqnmwfk2MQ8laTHk+IoEj5LDwtGV/D2xR2eC1UPh+E3iGgHCo8pRTU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772727067; c=relaxed/simple; bh=OzG43Idqbxi1ORnEPr1z+IJWMjZLaY1zNTO9se1MEao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FqSSzmlUabF1Y9sTSVSMe13WNpkdSGOABoBHBCVJ8zwJwDhR1DNFxfHribkRc/JJAd0xH/gQmbQaWVe+nZ7i8ysNqpvsr+Lda6mu1n45a4cXKGQO0ii4U3afFIc2eDYf06y5Tyu5ZOfFFt/BfBqbGVnpN9+8MapZfewsCwGe/PU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aBe504Xs; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aBe504Xs" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-439b8a3f2bcso3716594f8f.3 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=vger.kernel.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=aBe504Xsbu8iHnHNKNCs4eBEkc0kB2vrBnmihyKK/6J3qTybxFKNWvYT7gUI4dMuGh dk4Ng8amczAdZ06xvopXqugkzr//cdPOe77pOEAe7DzTi5zfLtMSnAVh4BUUwnYblSa7 Q7oACL2AHL7MHNy55M7LZExPIPRGHNZpA+qrd4J2QA71sFHqYwyXakAEa3lTIsyOTWAd 7lXuUjUKKaPtn8yhBKa2IvWY2zznPoUut/GIzguh95HWoj5ViLa/n+pnRq0ADXLCXjS6 aSSRQPHwGxPANjF2o+/jBfUzvwC0xoczMH1jJLYPERrAPseoxsiGOBER64YfpZIlHK6W /Grg== 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=dPdjM50W/IYsxiCu2idOaWCiVEttVyMLNZ9tQLzjTo2g1WEiFVW1DuSjv/LXKoAKFq xTqcZ+Sn/1meoR767T+oS35ylxCHU2++cKfTI6PHNpihcKawnfOK8tcL9fsjB1+et3Gr 092EEALmQZnRsv9Vu4qjiQ2Z817SLyttBty4rJRZ0dS3ZifkTjmPQ6ETRNQu5uMMHUew 8WfHz7qQJvXMBDrrfRGGOubvimkjnMte5vjyucgks3bDZ9HzhiGNaeLxTTrxFCx981JH BlN5Rye2id2eDnK7I7RvYHGISzcNcW2rBN2w1fqJzT3Fd5+iJzJT2UgdvJRrwZ2tk33S D2/A== X-Forwarded-Encrypted: i=1; AJvYcCUIKH8jHdU8oNK/OuFNQNJpFroUkmpJIOnTcDILNpoyA+o/JvsFlW+0Y2o0F2EQ8D66jFnu6yklvEtCq3E=@vger.kernel.org X-Gm-Message-State: AOJu0YwJcM4Jr78kHsEhT2U4uwahRkDpFayfQGI0W/TO+n7LJjIkXXiz y1RQuK9Kzr8IrlCrrVaRYgrkVBUO1f5B4sAUkzWh8RE7tZAE3O/Gmvfz X-Gm-Gg: ATEYQzzT8AESEp8b1V5xcblJZUUnwqyf7WrCkvT87ELFPGnPhMq8WdnZTU6OHBRyDZ+ d85Mc2y71pWR60v5TEDlrxFJR5YjOvZ8aQ+upmdV0tQdtLxATEI1ALRuDCr3q9Q5900qJ2g6eZm VBKzvlf4lpBzIdz7CWv7d34Tu7v0ZbL/2H9AOTFJSF1Yy9t2/z1YJr7fRYlpJvAc5Yu+EtpQYK8 X82430t0e0RxPHXB5/mHREIGdVtzNHqgY+tOQnptGv5vRN7CTiO/eudo1y6qrxw/lhfqwNfr7zs LpJ27WutQ9lAaYecsuBwLPu1+bk3y0CjN/0lk8dztohD6WL2dZlbVbYMLa2jFAsoHeX9RB+dAgY hFHfVwMtTblKmy72ZyLbkCxQEUcirekSZKh4Ov4QypT1xWhAo5/BpHpU5u1K7FI+ngA4CqTUAFa opagQ/gKJB/kkF 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 *p= dev) if (err < 0) return err; =20 - err =3D tegra_output_probe(&dsi->output); - if (err < 0) - return err; - dsi->output.connector.polled =3D DRM_CONNECTOR_POLL_HPD; =20 /* --=20 2.51.0