Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1089582pxb; Wed, 29 Sep 2021 17:01:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMz4Hn6nV46ywlvysq/5tQUhbfq9tXhrlBU1r1nLjdKNwxLae7mjOaBo9Cl4Z+QDyKm+aO X-Received: by 2002:a62:7a11:0:b0:443:937:9fd1 with SMTP id v17-20020a627a11000000b0044309379fd1mr1252553pfc.47.1632960074891; Wed, 29 Sep 2021 17:01:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632960074; cv=none; d=google.com; s=arc-20160816; b=YaFIqDhDEHYNQ19qn577VBVwgv6esNffRUzmVG4tt2ElikhQ5YAbk2WcZ7x3aDypOv XfFPzayfahKLegK26HECx3ypGdiSASQfDWmsFXxEqDVZdCYz+7ensNtZNwnLo3W2ey5v yoMP/LWkcPT3LDmLVF/+9AUYqPP7BBVhrVI5pwniOavWvcOQ2c3zIhmffZ6wyu5U3In/ Xk90BVqA0SI1Zc6P9sb0kM+M0ptWzrmhFzhRYdlpNLYud2A0bf+lZvVluHPSlo1ZA4m+ m5rjLLopEC/KS0bmAEIUN+zRQVZR3LQoXfE9b/AnCiRW44Wpp/nk2Aehirk2y8FDEtpz DrEw== 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=Iudu1NuMMrBKlVbFNDhSrHphI49VjbXq5YXusn6JK4g=; b=tyg56rLswiX7NzmHrl8ZZwgBmxRkR0KWpuu4udAJVnUwhGRp1poMZ5aGnRZ+DsucG9 tfaljfcAcxTKQs6JF11j8POzLKerH0uqIpgtKbN2BrgHj7AWhlw7nKdZm7HJQl3XPVFf wKX0TD+EDF+YfOXKwKkwlDZfGTfJsU+ZDvAKG/St+RFowNLVvDaOb7qevxdM/j9o2hrf nWaDNE5Fs+vwADFF6wStuBqrwdD9miwDPiyPxVXapJxY9ERzONvGgYnXz+kP/QlERw/J xYdacFuK8Ml9/kpWSJ7KFttP35JwGz3CEA4owfKlxun/lUB+Gg9VlqfOHguMJ9FS7vup afGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WX5TKUFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c84si1570970pfb.156.2021.09.29.17.01.01; Wed, 29 Sep 2021 17:01:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WX5TKUFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343734AbhI2X1E (ORCPT + 99 others); Wed, 29 Sep 2021 19:27:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245025AbhI2X1D (ORCPT ); Wed, 29 Sep 2021 19:27:03 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96FD6C06161C for ; Wed, 29 Sep 2021 16:25:21 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id x27so17557647lfu.5 for ; Wed, 29 Sep 2021 16:25:21 -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=Iudu1NuMMrBKlVbFNDhSrHphI49VjbXq5YXusn6JK4g=; b=WX5TKUFXXv+Fdy6tPXiPKfQZTjSwoKn7odf4rCT9Qlg0s8WjFFFdYja4MipzQmgFmw uR0pcTCAzcpEjBI3C27HAlDzIvRNU/sTfGLfoftKa7qSm4pR5XIpTwRHAXoX1PErTMsc yohx44i/ZIKON4aM+13vLJKCKBlJU9wRNspYRuExmjpneqt5fUBWx7hLYZCKm7wRaAJ5 X/EbXZgGfBx8eCr9ZLxyWudx5QTp/077VcnjOwe123XapRub1qlN3NHXGLG9KpOHmM9E QASMxjVVEhrDqgl8vRFN9a9s2QYAkNKjJHPueqYZfTF8NqsEP4f0vjan8s+RyCnNOBsw 2bYA== 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=Iudu1NuMMrBKlVbFNDhSrHphI49VjbXq5YXusn6JK4g=; b=bRq4ob7lcTgVfNVgm7PGLf6aybFOnQlSPK0et6DSl+TmP8pyR9/v1jv+NLAUKl3ysw s2+UFXEOfpnoR5QwIHq1cBo3aSpBkXNd9Rw+d6QQaBqdUK5tv1/446f1F5lbnZgcJg79 I5+9nZ0Yfg1IQPzxgQtggPZnAFRh+461ytN+lMbMev8fRUQhsHs+ESj1ZaqKE13QTynb So2Fm4C8nBzDEkZrjx8ozNjVF1iGxXmvHMa35hsLL4KHZRQSwE2xKMBlNXggr1hjB/KL gB0i9GK1BXkW5YvnyfVGsAVZAp+pKk2igEMmbfMCHO/s2CH1qnqy49kO0so9kx+/alvX Lv+w== X-Gm-Message-State: AOAM531DWLxuqlh/M3Aez0r2QXPhVJaSmxrxYg+lRr710G8sIt0TOy8l Ir67E94n+cOg3AauD3jnVeYrXCyy1WPFlL6/fyaamg== X-Received: by 2002:a05:6512:1189:: with SMTP id g9mr2335815lfr.661.1632957919857; Wed, 29 Sep 2021 16:25:19 -0700 (PDT) MIME-Version: 1.0 References: <20210910101218.1632297-1-maxime@cerno.tech> In-Reply-To: From: John Stultz Date: Wed, 29 Sep 2021 16:25:07 -0700 Message-ID: Subject: Re: [PATCH v4 00/24] drm/bridge: Make panel and bridge probe order consistent To: Rob Clark Cc: Maxime Ripard , Andrzej Hajda , Sam Ravnborg , Daniel Vetter , David Airlie , Jonas Karlman , Laurent Pinchart , Thierry Reding , Maarten Lankhorst , Thomas Zimmermann , Neil Armstrong , Robert Foss , Jernej Skrabec , Sean Paul , "open list:DRM DRIVER FOR MSM ADRENO GPU" , Kyungmin Park , lkml , Xinliang Liu , Seung-Woo Kim , Tian Tao , Inki Dae , Linux Samsung SOC , linux-arm-msm , dri-devel , Chen Feng , Xinwei Kong , Joonyoung Shim , Amit Pundir , Caleb Connolly Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 4:20 PM Rob Clark wrote: > On Wed, Sep 29, 2021 at 2:51 PM John Stultz wrote: > > On Wed, Sep 29, 2021 at 2:32 PM John Stultz wrote: > > > On Wed, Sep 29, 2021 at 2:27 PM John Stultz wrote: > > > > On Fri, Sep 10, 2021 at 3:12 AM Maxime Ripard wrote: > > > > > The best practice to avoid those issues is to register its functions only after > > > > > all its dependencies are live. We also shouldn't wait any longer than we should > > > > > to play nice with the other components that are waiting for us, so in our case > > > > > that would mean moving the DSI device registration to the bridge probe. > > > > > > > > > > I also had a look at all the DSI hosts, and it seems that exynos, kirin and msm > > > > > would be affected by this and wouldn't probe anymore after those changes. > > > > > Exynos and kirin seems to be simple enough for a mechanical change (that still > > > > > requires to be tested), but the changes in msm seemed to be far more important > > > > > and I wasn't confortable doing them. > > > > > > > > > > > > Hey Maxime, > > > > Sorry for taking so long to get to this, but now that plumbers is > > > > over I've had a chance to check it out on kirin > > > > > > > > Rob Clark pointed me to his branch with some fixups here: > > > > https://gitlab.freedesktop.org/robclark/msm/-/commits/for-mripard/bridge-rework > > > > > > > > But trying to boot hikey with that, I see the following loop indefinitely: > > > > [ 4.632132] adv7511 2-0039: supply avdd not found, using dummy regulator > > > > [ 4.638961] adv7511 2-0039: supply dvdd not found, using dummy regulator > > > > [ 4.645741] adv7511 2-0039: supply pvdd not found, using dummy regulator > > > > [ 4.652483] adv7511 2-0039: supply a2vdd not found, using dummy regulator > > > > [ 4.659342] adv7511 2-0039: supply v3p3 not found, using dummy regulator > > > > [ 4.666086] adv7511 2-0039: supply v1p2 not found, using dummy regulator > > > > [ 4.681898] adv7511 2-0039: failed to find dsi host > > > > > > I just realized Rob's tree is missing the kirin patch. My apologies! > > > I'll retest and let you know. > > > > Ok, just retested including the kirin patch and unfortunately I'm > > still seeing the same thing. :( > > > > Will dig a bit and let you know when I find more. > > Did you have a chance to test it on anything using drm/msm with DSI > panels? That would at least confirm that I didn't miss anything in > the drm/msm patch to swap the dsi-host vs bridge ordering.. I believe Amit(cc'ed) tried to give it a run on his pocof1, but had some troubles getting it working against a kernel that wasn't suffering other regressions at the moment. Amit/Caleb: Any chance one of you could try again w/ these merged to 5.15-rc3? thanks -john