Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2389283pxb; Mon, 20 Sep 2021 21:05:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDvS7IwkbnNFtQ4wOHDrhlERI/HJLM1Zp0fLqgtYDksv0bWCkIJbxbYYpPgM1MYQ4iyJfh X-Received: by 2002:a92:d7d0:: with SMTP id g16mr20722649ilq.282.1632197126207; Mon, 20 Sep 2021 21:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632197126; cv=none; d=google.com; s=arc-20160816; b=i/gc9h7GCoHzXJbmO6aIpkZMtXT5RDdYKI6dlpZOUFGKVUdF/B+tVnlB4h699UwScC ti3UeJi0EE2prtNwgCem3sqFt6y/sTFX0EDCaZnSN9f0C2DBkm/J1cDjCZJIjLz5sx3S jn3wK2S0iVAbF7ZhQE/FwRypxikOZgJE5WfGYaxhp/DAfEqT6/uyOOz2vrVt6bCs3G+w 5Nv2VEpTCkJ9m1JT5KHykdwL86QVw9EzvV0vAsLy5UiwlmSje6doDzNvDjIpc7n0Km96 eeEyd7bx/JB4YzYEsuzivBuSzJRZRMJ23tC/fK+P2CauTaR4sEcxXZxzITygOYnsb8R1 XIHQ== 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=y9zwU5sYqKQSmloO/YdgRLqeETN2yQaV2Mq9YoCcAeI=; b=lJSMlrZLbiMWeRUticMuLBz6gntYf/LKdJEIn3KjYhEiVk78DW/n45SQHXjAzZemFx aywFQkDvlSmYMtaRwt+wn0Mg90swRAlUzOgTUqOJ6fKV+v0xuXdAWP22fjZkwcBKRezA WzWhC8aQz6f9eyvVUihQ0q2FplfjWcyNxMAGB65kuMHakY4gLJ2tji32QdPOUjqjOxme ULdf3l0jEkZQbb3TH/IF6L2RGrc1TxAiH9iVe4t9pLa/CiwK0ZNvpZNgKoCO0d3m/b6h QDwsfaTrkgWBYOpSC5+IQXuLWA+q8QO0Fo0+xu+CADdrJ8+zVZjR3SBeWH3G/uQG34P8 dj2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SyirlfFa; 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 v3si17121541jat.11.2021.09.20.21.05.13; Mon, 20 Sep 2021 21:05:26 -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=20210112 header.b=SyirlfFa; 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 S1347283AbhIUCUQ (ORCPT + 99 others); Mon, 20 Sep 2021 22:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343753AbhIUCMK (ORCPT ); Mon, 20 Sep 2021 22:12:10 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD01C08EE15; Mon, 20 Sep 2021 11:27:32 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id u18so30610634wrg.5; Mon, 20 Sep 2021 11:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y9zwU5sYqKQSmloO/YdgRLqeETN2yQaV2Mq9YoCcAeI=; b=SyirlfFaRyUdz9gloQTpR5LDjfVwEkVbGAKz3rA4+raBnbaIk7GgLE3cRNSVmNsJ2T JkAkx5J15BZqvGTnXpSAtMhcW8GIpbkKYz2o/fjKqnI7nvBKVq2Jtz7IbC8Fxfend/aT cCRjbtW6tlCL62XP7oma8j5FxslfQyutluSRo3uL68wvPMjUlYshaafTq0nWn7rc+/K0 X23Cy/6Zd2aJ/yV5Bd1gNBmWM7UE1ZhKunrY3CvgiHOnnJEeBbf3dekuSIuwb6Q/2klJ ROAo5Rgkac0ZG3z2/sAy1GbRbPopzBsEH3+I1VBUbmtoYuVc/qLJlZm084MYYLGUrKoK +CPw== 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=y9zwU5sYqKQSmloO/YdgRLqeETN2yQaV2Mq9YoCcAeI=; b=hpEndldJR5rQZssKX9SmBbm9fU/ZNXnn1LU92u9L9nMxXXl4XyAEi6ld3/st/KtdLH +SnIXcuda0raa1ikpvM6XfrYf6B6jq7ZOeJbC+7gSclCXgbZkVLHXt0Ln1usngmp6RWx gS/+dyvdNHAFVrRZN/AvQ9FHj3fwoe99C9RUmugPP1KYiqGitCapHve0qrDtsXXIdqpJ gSemyPERbkEwOmnFTZZNin68iGRt4eA1Ct5b3TRRg/1gnTm/5xXerN2Sem9nanVu+sYL jWyGfpRVCLT2AjGr6YSu1uIkuqof/HScR7n5Hhq7WoIW94o11FfE5hP5c50XBh29yg2v hgIw== X-Gm-Message-State: AOAM533jqDbm9dBXAYMHQ7Wsyhxwj/ehGUs8lz7SRpxP/Oo3OBWvWBmS ZoX4czQW1PrGAP1UsGdLCCVKrfb4MFzJtJYEXuA= X-Received: by 2002:adf:e5c2:: with SMTP id a2mr29789784wrn.251.1632162450723; Mon, 20 Sep 2021 11:27:30 -0700 (PDT) MIME-Version: 1.0 References: <20210811235253.924867-1-robdclark@gmail.com> <20210811235253.924867-5-robdclark@gmail.com> In-Reply-To: From: Rob Clark Date: Mon, 20 Sep 2021 11:32:02 -0700 Message-ID: Subject: Re: [PATCH 4/4] drm/bridge: ti-sn65dsi86: Add NO_CONNECTOR support To: Doug Anderson Cc: Laurent Pinchart , dri-devel , linux-arm-msm , freedreno , Stephen Boyd , Rob Clark , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 12, 2021 at 1:08 PM Doug Anderson wrote: > > Laurent, > > On Thu, Aug 12, 2021 at 12:26 PM Laurent Pinchart > wrote: > > > > Hi Rob, > > > > Thank you for the patch. > > > > On Wed, Aug 11, 2021 at 04:52:50PM -0700, Rob Clark wrote: > > > From: Rob Clark > > > > > > Slightly awkward to fish out the display_info when we aren't creating > > > own connector. But I don't see an obvious better way. > > > > We need a bit more than this, to support the NO_CONNECTOR case, the > > bridge has to implement a few extra operations, and set the bridge .ops > > field. I've submitted two patches to do so a while ago: > > > > - [RFC PATCH 08/11] drm/bridge: ti-sn65dsi86: Implement bridge connector operations ([1]) > > Rob asked me about this over IRC, so if he left it out and it's needed > then it's my fault. However, I don't believe it's needed until your > series making this bridge chip support full DP. For the the eDP case > the bridge chip driver in ToT no longer queries the EDID itself. It > simply provides an AUX bus to the panel driver and the panel driver > queries the EDID. I think that means we don't need to add > DRM_BRIDGE_OP_EDID, right? > > I was also wondering if in the full DP case we should actually model > the physical DP jack as a drm_bridge and have it work the same way. It > would get probed via the DP AUX bus just like a panel. I seem to > remember Stephen Boyd was talking about modeling the DP connector as a > drm_bridge because it would allow us to handle the fact that some TCPC > chips could only support HBR2 whereas others could support HBR3. Maybe > it would end up being a fairly elegant solution? > > > - [RFC PATCH 09/11] drm/bridge: ti-sn65dsi86: Make connector creation optional ([2]) > > > > The second patch is similar to the first half of this patch, but misses > > the cleanup code. I'll try to rebase this and resubmit, but it may take > > a bit of time. > > Whoops! You're right that Rob's patch won't work at all because we'll > just hit the "Fix bridge driver to make connector optional!" case. I > should have noticed that. :( Yes, indeed.. once I fix that, I get no display.. Not sure if Laurent is still working on his series, otherwise I can try to figure out what bridge ops are missing BR, -R