Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp775605pxb; Tue, 5 Apr 2022 22:50:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEPAFUBH4aYAoH1OcDugAuTpZEGGKxQbzxZnHf2X1RFwrKyjso9yzL08lVwr35RGFF9Ldm X-Received: by 2002:a63:b748:0:b0:374:408a:eb69 with SMTP id w8-20020a63b748000000b00374408aeb69mr5911724pgt.103.1649224212674; Tue, 05 Apr 2022 22:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649224212; cv=none; d=google.com; s=arc-20160816; b=LcWho1HYJJXbppvo8sn3fRSIy7tBJRKHU7FAqKeP2ntrctBCmS+0ISx97czQ5TEW38 6SazuT5u1GLOujyEuu8Ynn8gvpAkzEzlyLgw+6rBvTAp7fh5Kni8tdwtg8toF/+i+p2j MUKkKBcMhiqhuiT3Zldm4Mku75lSXL7wbHlNAhs7i8+W9Tl7VBTyfA/TGJ47h2ZbDe40 iRCIoMpLacPwlqWGLSJdX16TV1olDQFXdN/j+82YmHz80RMs4aOcwrpDq5punCTAEKk/ KNdzAe6F6z0kEBxAPZTwjT9DPng2nQYSKsT84NB85pPdqlxLp7Hd2STkhPwvP/yiSh+q +qJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=05ESTLKuRKureM3diZOwIcKgKT6b+0avzQkzpMlIWl0=; b=DmMcP6Uo5uTeZ4+zUDiPl3F0mhU01EI0obFFh+kJH8AaFKbXr1IU/PyOHNCVVohJGY nb4wHTdb8fPVqKuxcwxE5ZbSQ29mH4vcVpd+3rcQwv6joDyChrmKarTmyqQqNd4+uYVC 05NrVp/V3BmJ9OmUqNkpBETW2F9pQ4d+L/855FP0PvmpcoYL7DeoGA53GB+k3hx6J98n 08psFG1RAuAboXy+sSrra3niXpvEunKt2pLvPCUzkpEYqDXWRqmhwT46lrGcTqKd3U3Y cdbQ1wKsOysMIeFvLsBOxjNe41ACyytCNWNOCY0uiGYQrVnTZI2U6yqXFZZHCLj6T0gm fCNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F4+e721t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z2-20020a170903018200b00153b2d1651bsi15517251plg.291.2022.04.05.22.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 22:50:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F4+e721t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E1D804A2970; Tue, 5 Apr 2022 22:23:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1849249AbiDFCeQ (ORCPT + 99 others); Tue, 5 Apr 2022 22:34:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1449299AbiDEWYk (ORCPT ); Tue, 5 Apr 2022 18:24:40 -0400 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4CC486E1F for ; Tue, 5 Apr 2022 14:21:20 -0700 (PDT) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-2e5e9025c20so5913347b3.7 for ; Tue, 05 Apr 2022 14:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=05ESTLKuRKureM3diZOwIcKgKT6b+0avzQkzpMlIWl0=; b=F4+e721tNcbr4VyIH/v5IIZ9tP+O6JaNPcwsW2WnYFsjKwz+f51Jekl18A+rixt41J JOzuclwfSn8f5JdJQKTfJQNWNBFIdf0s995f8zlspLYdTtyXifztXr3SnJ52b5VLUVyc F47A1nlECQW6jmuo8criSUTu4sFzdp6DBZ36wOGQjOX3qBgox8zG3vFmBkWaEq7xRL/J 8AssrUOlC7k5WTeV0oelsqfOT2PekmM12laoDKCx+Sik6VVl9ObsaNZITN/dIW6WZc35 F3UUxaRXpwVu/a0lL7rew3B56UOopKkIXrdSFC/sHS6huWzOU7/u57GZ9ZN9n8CPrK6Y fAhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=05ESTLKuRKureM3diZOwIcKgKT6b+0avzQkzpMlIWl0=; b=zeUSW4UbyXSgpM9K6Chp73xABSlOZbs4iN0FcmkuXdghjiapTOYv7l4XClTYSZ/Wk1 iZewwfP/WJPiU5zdce62xq4h5u9BysPJm3hJbUUeFXgGpcTpQoTb/ZoKWnBsb+XjEWLh d6ojoPUU4g9g/pTWtpO5ETN0AMuo+62+OsVqTChh7f8cI+zUtevysrysgsf2KuXRTOTC NDjU0JjnCbvp4psQzfkfTwHK93CKVNkvvcnBV5FADEwEQR5CE4j9inCqCKCNzZirXN3N tzBZjg+ijpoUzlRQLH36DEm6MZRWd3If9e5v9sZiyum1n2wYP/dKWgZjUCnMWR+lrzkv hqUg== X-Gm-Message-State: AOAM533QrXhRocinLl8cGybSa6itV1KEoZKzwLs+GEV6GMwZRHMof6W4 ILWol9KjhvqKFXTDwx1h/VjmhjW8t58hH9sC2q8qBQ== X-Received: by 2002:a81:d542:0:b0:2e5:c060:a0ac with SMTP id l2-20020a81d542000000b002e5c060a0acmr4410118ywj.118.1649193679956; Tue, 05 Apr 2022 14:21:19 -0700 (PDT) MIME-Version: 1.0 References: <20220329132732.628474-1-paul.kocialkowski@bootlin.com> In-Reply-To: <20220329132732.628474-1-paul.kocialkowski@bootlin.com> From: Linus Walleij Date: Tue, 5 Apr 2022 23:21:08 +0200 Message-ID: Subject: Re: [PATCH v3] drm: of: Properly try all possible cases for bridge/panel detection To: Paul Kocialkowski Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jagan Teki , Thomas Petazzoni Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, Mar 29, 2022 at 3:27 PM Paul Kocialkowski wrote: > While bridge/panel detection was initially relying on the usual > port/ports-based of graph detection, it was recently changed to > perform the lookup on any child node that is not port/ports > instead when such a node is available, with no fallback on the > usual way. > > This results in breaking detection when a child node is present > but does not contain any panel or bridge node, even when the > usual port/ports-based of graph is there. > > In order to support both situations properly, this commit reworks > the logic to try both options and not just one of the two: it will > only return -EPROBE_DEFER when both have failed. > > Signed-off-by: Paul Kocialkowski > Fixes: 80253168dbfd ("drm: of: Lookup if child node has panel or bridge") This patch fixes the problems I have on the Ux500 MCDE with DPI panels such as Janice, so: Tested-by: Linus Walleij Yours, Linus Walleij