Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1223083ybh; Thu, 23 Jul 2020 03:42:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynTtAIMVEChQYmj6Zm1vAehcLRYabHeajeg0tYSUCB3n7xYBApvrl5aFfwR9u1Jymcrm4y X-Received: by 2002:a17:907:42cb:: with SMTP id nz19mr3652964ejb.447.1595500966804; Thu, 23 Jul 2020 03:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595500966; cv=none; d=google.com; s=arc-20160816; b=Rx64tV6wLPzBbbvDz5nn0+54PRirGVYorHCfeTL+1s/ifzAfsIlKe9fzwqryxXAoGs aETO67DA5fbDvPAu/ifnBHLZybWoA4kF+k902OBw4MmYhllct+zcx2t78iPfObYL7+/w ZLsjVuJT5eI/auYIQKEpugJpeUK1tI2vI0Nc6aNl5pCpxB54yb3U0LP52z8Qw7SbtPtv BFae0LIW6QquXIRsxMJovLVArEgo2XW6cvv5l3l9Y0Ych/RVvVcpo3uYrXe3pkyBDyfL eT4da+Y3oYxhWhBroNIR2l/RFzmAEVSqEOopILLvaNpz91vd7/at4tAy1iaDumGioXVM aAvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=19+iIqbf49KfQJrZJqinwGNr0ZUxeKssYrTevLo22+M=; b=K/OSet5JRiz3zx0/c9vZDMK/zwU17S2gWwBBXaxjLoZsNI8Wuee9t5R0sW3j8L0F6P y3XZ1a4NeEKh6AB9h1tdXsbVEQpDMkDtRZrnuQLjAca88aPOBeEwhSOVPD3wO2EH7yaV u8S5z/dG/9v1KJ9U7lHxd5idpdf11FltVY31pNPo+hpZ146VWMfiu24p4hUBkJY99caw v8rOiuxsvZxtPDKZ5Pcm2hZx23+uUQYdv6GJYewTFa8l0VTSXD2063RBUvE9Eebl6F7U /lsIpwlb1uMVf9Om/szfrVyYQz2s78ALLwuEDQA6xCO4swwTBZFuuohABJCcwjHJq5xV u1zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x3jt3fdU; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si1650485edm.441.2020.07.23.03.42.23; Thu, 23 Jul 2020 03:42:46 -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=@kernel.org header.s=default header.b=x3jt3fdU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728407AbgGWKl4 (ORCPT + 99 others); Thu, 23 Jul 2020 06:41:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728222AbgGWKl4 (ORCPT ); Thu, 23 Jul 2020 06:41:56 -0400 Received: from localhost (unknown [122.171.202.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ECE3520737; Thu, 23 Jul 2020 10:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595500915; bh=gJWA9QXauNyAZw+WmtrtvY1UtXytOLKm4um7aDhSYsU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x3jt3fdUDgL+XmznfiwVnxiC4s/rRRpzGanzbRt4pFxjdSHJXn31dl0XGsZYWLXzX xhEmPujcs+W7mS0wYOazMC4tHxWBiQfmnV1EVcnnW2vNCBy0LLPruLxD3qbuMZBHiI udT2ehqf/iMPD5fDTRz/DlJ4BQRqwS2ih4poHKOo= Date: Thu, 23 Jul 2020 16:11:51 +0530 From: Vinod Koul To: Laurent Pinchart , Sam Ravnborg Cc: Daniel Vetter , David Airlie , Rob Clark , linux-arm-msm@vger.kernel.org, Bjorn Andersson , Andrzej Hajda , Neil Armstrong , Jonas Karlman , Jernej Skrabec , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Emil Velikov , Srinivas Kandagatla , John Stultz Subject: Re: [PATCH v5 3/4] drm/bridge: Introduce LT9611 DSI to HDMI bridge Message-ID: <20200723104151.GY12965@vkoul-mobl> References: <20200708103559.132300-1-vkoul@kernel.org> <20200708103559.132300-4-vkoul@kernel.org> <20200719171806.GA55541@ravnborg.org> <20200722131430.GJ5833@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722131430.GJ5833@pendragon.ideasonboard.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, Laurent, On 22-07-20, 16:14, Laurent Pinchart wrote: > > > +static int lt9611_bridge_attach(struct drm_bridge *bridge, > > > + enum drm_bridge_attach_flags flags) > > > +{ > > > + struct lt9611 *lt9611 = bridge_to_lt9611(bridge); > > > + int ret; > > > + > > > + if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR)) { > > > + dev_err(lt9611->dev, "Fix bridge driver to make connector optional!"); > > > + return -EINVAL; > > > + } > > > > This should say that the display driver should be fixed. > > If a display driver expects this bridge to create the connector > > it would not work. > > Actually, for new bridge drivers, connector creation should be optional > from the start. We don't want a failure in that case, the feature should > be implemented. Yes this is causing issues for me now !. The patch 4/4 adds support in msm/dsi but causes regression on qualcomm laptops with ti-sn65dsi86 eDP bridge. I tried to fix that up with changes like Laurent has done for adv7511, but it hasnt worked yet for me (remote debug of this is bit painful) So I am going to drop patch 4 from this series and add support for both DRM_BRIDGE_ATTACH_NO_CONNECTOR set and cleared (like we have in adv7511) so that it can work in both cases, while I fix all bridge uses of msm/dsi and then we can drop these. Does that sound okay to you folks? -- ~Vinod