Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp178535pxv; Thu, 24 Jun 2021 05:41:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznQimM1uWqqdNAB841nTuJqR5/98M3ENbep5UI9OzWUCq2zmVg4N9T2sgbNQOCMiASg1OD X-Received: by 2002:a05:6402:2918:: with SMTP id ee24mr6858318edb.158.1624538509941; Thu, 24 Jun 2021 05:41:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624538509; cv=none; d=google.com; s=arc-20160816; b=Izdza8U83YmSS6NV5td254q9JrE3HsZWPWpVGQqV7CX2+s3lBFF07SDh9qN2NhF6VT 9B3L3jSHWeHgwaU+D5Eq1jk4+ogQZDdYUIpOVk5e7oheJ8M0KOEqe+EXaXRaLBGsQU/Z 3qMGvt0DEOH+v+BTxw6T+vTunM0xAYgb+S+B728JCLjgbl7YH+JUHj/2Yppwwg5kFMsR 9GxxRVw3YNHuQdx0J44c9Wv2EmeKjfPj9cHKfj/rbMnyYxVsqWrArDdB09OfaL7H2krB on+m0LYOm9NMih+q20Fjrubgx83hKeLk/fKT+i6Dg/TnIXGSLIo9j6ayOk8kESWSmVHb LRIg== 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=C38GYrWeEqn9ryL7zps8yOxhcW8ssLvsptRrONqKIew=; b=1DnR1i6mFn8QWRmYkQbGm3RCDeT4EvIUx1v2MPFHbnZbgPiOj3YfIDlgDjPGECi9dU WIu12woReoJKxTTjT7yuLHpFcBRhHE1cbq2RzQyBDzR0deh+o9TpsXCBgXPLifV1NXyz uycMDsEXRiNrHll0t60AoCOwCJZXPClU+bp7fJjOl9foik7o+CpXQOAO6wpH8sypNonA OY8qISdmPn5ER0iw+taHHIjRMM9eXRt8PGstDjxAqBVJor56p679KoqqoVlg2FlsCrNZ 6SGhCXmUeQj7JX2+kJeTMUvtSnjH9zKVLerQH6rXS3b6mzKPbsbllWKfMZ3Y1FFSvxlo XEUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oPHof5ah; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si2591122ejd.716.2021.06.24.05.41.24; Thu, 24 Jun 2021 05:41:49 -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=@gmail.com header.s=20161025 header.b=oPHof5ah; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231552AbhFXMmU (ORCPT + 99 others); Thu, 24 Jun 2021 08:42:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231265AbhFXMmT (ORCPT ); Thu, 24 Jun 2021 08:42:19 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FF66C061574 for ; Thu, 24 Jun 2021 05:40:00 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id i6so5076715pfq.1 for ; Thu, 24 Jun 2021 05:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C38GYrWeEqn9ryL7zps8yOxhcW8ssLvsptRrONqKIew=; b=oPHof5ahVU78lKBca6qSqBEQlupAPft1mjL6zU5f5XTLP3hsB+DIYJgVYGTFXO6uv5 zhvPSREczIT7PDEXa3sIyUoWEq/w4ltJZ3MAsDlmuwMPk6LbjaIuIM5Pg6MzJLhQMsgm BnnSvLMro1v1EzB+FOCmPvDuoq22wScXkFU0siaNsM03AqvMIFkiNGhPVhfIyGMemeMp fLQhwZtfI1cc8SePf+M9eV2vm+O+eoRCfCm4lFO3WJrNO4HZL5f7zki+It+g/Zgywz8b TQmklY4V+GYUKWn3gnRQSTp8NZc7w4bFBwqgyOZhJln+mwe/sdL1vWNeLlupJC9JFa8Z cojw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C38GYrWeEqn9ryL7zps8yOxhcW8ssLvsptRrONqKIew=; b=qYr2hxULNTCp2XfXbEiIOrHNQO+OTHUFBKi3j9SE1EHmj+JZg4pLfMQuRSz4Ezap8V urJLNyYMzWMyjSl3xIRZirLkBPOo4KiDQRgsZ2GzC8YEph0bQ5C1gk/XWVgL15fOVaqn 3jeUJMIA2Ai9JhxmlCxZYMn3mZmWMS4iCSsa3x4h1BQCXaqZpR/+XMbqCJlI+vPEM4sG 74Y+DhW1109j5b4FTV2PTO2VFAfWCWDU+I6t+skw0cggWQqsvillA/esaGfBU/shpgCR 1PtC6QrDgXDL4ifW8jxn9D9eI7R10lWbDBgLK+5sJQkcFV3L4C89Cz/KFdxPhlmOm8Yi V/FQ== X-Gm-Message-State: AOAM531dZa3rwzymQkDslrGtkk+IoclDXp6UjOYIRBN4pCPjfY6T+rPG gRWzjNgrMHczuZuAKzyqmrTbK+2pZ5XWVKIIBOA= X-Received: by 2002:a62:b502:0:b029:2ec:a539:e29b with SMTP id y2-20020a62b5020000b02902eca539e29bmr4753939pfe.37.1624538399388; Thu, 24 Jun 2021 05:39:59 -0700 (PDT) MIME-Version: 1.0 References: <20210203091306.140518-1-jagan@amarulasolutions.com> In-Reply-To: From: Jonathan Liu Date: Thu, 24 Jun 2021 22:39:48 +1000 Message-ID: Subject: Re: [PATCH] drm/bridge: dw-mipi-dsi: Move drm_bridge_add into probe To: Jagan Teki Cc: Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Sandy Huang , Heiko Stubner , Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Vincent Abriou , Jernej Skrabec , Jonas Karlman , Sam Ravnborg , linux-kernel , dri-devel , linux-amarula Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jagan, On Thu, 24 Jun 2021 at 22:34, Jagan Teki wrote: > > Hi Jonathan, > > On Fri, Jun 18, 2021 at 6:40 PM Jonathan Liu wrote: > > > > Hi Jagan, > > > > On Wed, 3 Feb 2021 at 09:13, Jagan Teki wrote: > > > @@ -1167,6 +1151,20 @@ __dw_mipi_dsi_probe(struct platform_device *pdev, > > > dw_mipi_dsi_debugfs_init(dsi); > > > pm_runtime_enable(dev); > > > > > > + ret = drm_of_find_panel_or_bridge(dev->of_node, 1, 0, > > > + &panel, &bridge); > > > + if (ret) > > > + return ERR_PTR(ret); > > > > On RK3399 if the error is EPROBE_DEFER, __dw_mipi_dsi_probe can be > > called again and result in the following errors: > > [ 0.717589] debugfs: Directory 'ff960000.mipi' with parent '/' > > already present! > > [ 0.717601] dw-mipi-dsi-rockchip ff960000.mipi: failed to create debugfs root > > [ 0.717606] dw-mipi-dsi-rockchip ff960000.mipi: Unbalanced pm_runtime_enable! > > Is this when you test bridge on rk3399 or panel? MIPI-DSI to LVDS bridge. Regards, Jonathan