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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 85571C433EF for ; Sat, 2 Apr 2022 03:19:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D2C0D10E093; Sat, 2 Apr 2022 03:19:57 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D2C310E093 for ; Sat, 2 Apr 2022 03:19:56 +0000 (UTC) Received: from pendragon.ideasonboard.com (unknown [95.214.66.65]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F3BE92E4; Sat, 2 Apr 2022 05:19:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648869594; bh=4zp1Gj103TcKmZzWzc8uz1vshlZ8498Aw6Uu2ezDuLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZEv/g9MI0BZj/QmElPbbQV1npdC9nfCKdfG08oyO1PNynODg7LILUFB54uN5O1tS6 bBlvSBtevONCyoeHlB4JXfd5SrdokvgwTfnuBPxuyv3vX2kPDEcdJxrDXZuGtUn+YS bkK9g0wn9OPByAr/Vx23biRvh06PvXAzrceEDP+M= Date: Sat, 2 Apr 2022 06:19:51 +0300 From: Laurent Pinchart To: Marek Vasut Subject: Re: [RFC][PATCH 2/3] drm/modes: Make width-mm/height-mm mandatory in of_get_drm_panel_display_mode() Message-ID: References: <20220401163755.302548-1-marex@denx.de> <20220401163755.302548-2-marex@denx.de> 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: , Cc: Christoph Niedermaier , devicetree@vger.kernel.org, Daniel Vetter , robert.foss@linaro.org, Rob Herring , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , dri-devel@lists.freedesktop.org, Thomas Zimmermann , Dmitry Osipenko , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Apr 01, 2022 at 10:36:24PM +0200, Marek Vasut wrote: > On 4/1/22 20:46, Laurent Pinchart wrote: > > On Fri, Apr 01, 2022 at 06:37:54PM +0200, Marek Vasut wrote: > >> Make the width-mm/height-mm panel properties mandatory in > >> of_get_drm_panel_display_mode(), print error message and > >> return -ve in case these DT properties are not present. > >> This is needed to correctly report panel dimensions. > > > > Can we guarantee this won't cause a regression ? > > For the upstream DTs, I think we can. > For downstream DTs, we cannot know. Are there users of this function whose DT bindings don't require the width-mm and height-mm properties ? -- Regards, Laurent Pinchart