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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FF07C4338F for ; Mon, 23 Aug 2021 14:54:13 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B91D761184 for ; Mon, 23 Aug 2021 14:54:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B91D761184 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B13E89F9F; Mon, 23 Aug 2021 14:54:12 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 47AAB89F9F for ; Mon, 23 Aug 2021 14:54:11 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E68938F; Mon, 23 Aug 2021 16:54:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629730449; bh=NdVNzZz2+MtRmpGXjjC7lYtKYGpXXYjv5gHsl/8dvvY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EKRkYTcJR+6h4clEdABrc96JpoJBoUryd942WBp2J9NTFDIVtoQmokOebwKZQsBbs xFuAocU410Au/r6Is38tp7mv6lv4POCiuDPgjMy44W+AKe0/32LA59KGYRnQBWcr10 z1F4JDx70YydwB+jWJPfUmxUYu8nEB9eA2iOi9ro= Date: Mon, 23 Aug 2021 17:53:59 +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: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Geert, 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. > > 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 :-) -- Regards, Laurent Pinchart