From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85EBFC433EF for ; Sun, 3 Oct 2021 13:53:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 687F5619E9 for ; Sun, 3 Oct 2021 13:53:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbhJCNzN (ORCPT ); Sun, 3 Oct 2021 09:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbhJCNzM (ORCPT ); Sun, 3 Oct 2021 09:55:12 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32517C0613EC for ; Sun, 3 Oct 2021 06:53:25 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9A727A2A; Sun, 3 Oct 2021 15:53:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1633269203; bh=i2COgYweNcWFegEI95TYlq2aE0WKAid8UjmSCsbuI0A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fbpRWJAEnljbkMmQ9PZJJJVeFaY1fIZ9SmXj+/AKXMSku1abWmVAbqgAD0VgV/bxr rMKZHuDTyyjEUkOBsDTXOCSCvkji2sN1RntdD4Ab7Q9lWWqxK/o2Bai73Njni0Hv8h k2GPyzXKvgPxXHkyNMGj0ba5vPFWvOM4aznFAUu0= Date: Sun, 3 Oct 2021 16:53:19 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: DRI Development , Linux-Renesas , Kieran Bingham Subject: Re: [PATCH] drm: rcar-du: Don't create encoder for unconnected LVDS outputs Message-ID: References: <20210822003604.6235-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi Geert, On Tue, Sep 28, 2021 at 10:55:57AM +0200, Geert Uytterhoeven wrote: > On Mon, Aug 23, 2021 at 4:54 PM Laurent Pinchart wrote: > > On Mon, Aug 23, 2021 at 02:25:32PM +0200, Geert Uytterhoeven wrote: > > > On Sun, Aug 22, 2021 at 2:36 AM Laurent Pinchart wrote: > > > > On R-Car D3 and E3, the LVDS encoders provide the pixel clock to the DU, > > > > even when LVDS outputs are not used. For this reason, the rcar-lvds > > > > driver probes successfully on those platforms even if no further bridge > > > > or panel is connected to the LVDS output, in order to provide the > > > > rcar_lvds_clk_enable() and rcar_lvds_clk_disable() functions to the DU > > > > driver. > > > > > > > > If an LVDS output isn't connected, trying to create a DRM connector for > > > > the output will fail. Fix this by skipping connector creation in that > > > > case, and also skip creation of the DRM encoder as there's no point in > > > > an encoder without a connector. > > > > > > > > Fixes: e9e056949c92 ("drm: rcar-du: lvds: Convert to DRM panel bridge helper") > > > > Reported-by: Geert Uytterhoeven > > > > > > Can you please change that to > > > Reported-by: Geert Uytterhoeven > > > ? > > > > Sure thing. > > Thanks! > > > > > Signed-off-by: Laurent Pinchart > > > > > > Thanks, the scary warning on Ebisu-4D is gone, so > > > Tested-by: Geert Uytterhoeven > > > > > > Disclaimer: there are no displays connected to my Ebisu-4D. > > > > That's the best way to ensure the absence of display issues. It works > > great for camera testing too, if you also remove networking and storage > > :-) > > Any chance this fix can make it upstream? > The fix was created before the issue entered upstream in v5.15-rc1. Pull request sent. -- Regards, Laurent Pinchart