Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2557898pxb; Mon, 18 Apr 2022 03:22:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWuR2VhMTT6Rw4MbGuO9c912PYbP2NcDcdB+1a1hcNr8X2+C8YbT7y0HHF1iUJ3qOBAyNx X-Received: by 2002:a63:5f06:0:b0:3a2:8b3d:a844 with SMTP id t6-20020a635f06000000b003a28b3da844mr9342242pgb.554.1650277350451; Mon, 18 Apr 2022 03:22:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650277350; cv=none; d=google.com; s=arc-20160816; b=uPEpcSPAN1FUFYu7v7mrqdfYOJ7OZ8f1dG7P3P7/40x5+0xkUyzu3T1duH8tw4NU/t CabQyRlvYZnimBN+LJiZT6urq6zxPgsU7MgVlE4/p6P3+5Lofpq9ZS/bGR6vWtuD3BIk pAKo0LcYqS6fLedIlUOH9oczM+T4AiOqK5FFyhINnxTP8gh9GcbIGJSASg2FB4sG113W rU5NuBAslZM2oUYwnziReP20FRNRdcclBqF6yWLFrnq2tpHBlQFiCqfhrjagsfvmoPvX Emo2SO7+ZbjS10tkQ8Fl+pnVWAQuUyUQVlKcts3AwKHP9JpQDrBT/aK5FqdKQ1u4wo+D 2bFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c/WEy9igLdMF6qXHZ2Fu05qwd1kA31Bd9CuNUZh2kOA=; b=AF/vsNpQM50f599xcKCEZ+K9KOLGAqmok3VgQLuXCKxPo5cjbqTOF9FL7yxs/l9Ojc 7jvnZ6WwWcYtUqGVbL0QlSYN9xOu3y7aDrEJTLsVzZbBom2BWxjG1e3sFtim/29H5TDM rSkZDbaLsJXQamkEBRVVWhwztjwlveV6D4KnOibPp5fOf6A5hXgNxqLXxPgssWYeAzri J7HoQNPor999Z3Rnr6iLgja2nYanAUpUOyHinGDq6zRGL4v3BnMDsolgGQnKMJe/oKHJ z4/utefzbWVZ7hYitrhVYPaDZXdVceNjK8Nt2KQJDBSGmcc9f6gNn0MNwFunpkWPxaO8 xbew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=D6u9xReU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a17090322c200b0015884706ccasi4129677plg.6.2022.04.18.03.22.15; Mon, 18 Apr 2022 03:22:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=D6u9xReU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbiDPWYY (ORCPT + 99 others); Sat, 16 Apr 2022 18:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbiDPWYX (ORCPT ); Sat, 16 Apr 2022 18:24:23 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E47C919030 for ; Sat, 16 Apr 2022 15:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1650147707; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c/WEy9igLdMF6qXHZ2Fu05qwd1kA31Bd9CuNUZh2kOA=; b=D6u9xReUm4GM9kw5rMxGs2ezpzAEIk90Li/60w5xPTaOquVxS1ZHIBuE+16ohgASdF+ZLH LbeN5P6T8LFemxN2dzREfB3hBq20bLwm/QnkI5IpkfpTWuWNWmb4RRQ4dtUT7weApqN5zf N+0Uu23laIyhyki9BSMILsbVWdUhlXk= From: Paul Cercueil To: paul.kocialkowski@bootlin.com Cc: airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, jagan@amarulasolutions.com, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, thomas.petazzoni@bootlin.com, tzimmermann@suse.de Subject: Re: [PATCH v3] drm: of: Properly try all possible cases for bridge/panel detection Date: Sat, 16 Apr 2022 23:21:41 +0100 Message-Id: <20220416222141.72321-1-paul@crapouillou.net> In-Reply-To: <20220329132732.628474-1-paul.kocialkowski@bootlin.com> References: <20220329132732.628474-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, This patch breaks the ingenic-drm driver. It calls drm_of_find_panel_or_bridge(np, 0, i, ...) starting for i=0, until -ENODEV is returned, which does not happen anymore. The idea is to probe all the connected panels/bridges, should it be done differently now? Cheers, -Paul