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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79006EB64D7 for ; Fri, 23 Jun 2023 15:53:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232213AbjFWPxV (ORCPT ); Fri, 23 Jun 2023 11:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232111AbjFWPxS (ORCPT ); Fri, 23 Jun 2023 11:53:18 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 088A32123; Fri, 23 Jun 2023 08:53:17 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8EF9C838; Fri, 23 Jun 2023 17:52:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1687535558; bh=2BeHCYMx6ELN64dN+qHx+B2q1EuIWFZMQRAyVaTmU+0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u7tQAf5dx+djV3xgF88HyEcJdpSAY2XeTCnr7R2uQWztOkxlFU+SDbfgcVzPvTGrP pqOxRAzDGa2k6IirOhh7fXFWyq0/cvmKpxc3/IujeW2lsCtHseR8pYQg5gcyfT4X0h izWRbVeZJwdAh4tPd66iNqsPK6FEGiDf5ntfujxE= Date: Fri, 23 Jun 2023 18:53:14 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 21/39] drm: renesas: shmobile: Use struct videomode in platform data Message-ID: <20230623155314.GY2112@pendragon.ideasonboard.com> References: 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-kernel@vger.kernel.org Hi Geert, Thank you for the patch. On Thu, Jun 22, 2023 at 11:21:33AM +0200, Geert Uytterhoeven wrote: > From: Laurent Pinchart > > Replace the drm_mode_modeinfo field with videomode that includes more > signal polarity flags. This simplifies driver handling of panel modes > and prepares for DT support. > > Signed-off-by: Laurent Pinchart > [geert: Simplify] > Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart > --- > Changes compared to Laurent's original: > - Rebase, > - Fix build, > - Remove unneeded {width,height}_mm intermediaries from > shmob_drm_connector, > - Replace embedded videomode by a const pointer to pdata. > --- > .../gpu/drm/renesas/shmobile/shmob_drm_crtc.c | 35 ++++++++----------- > .../gpu/drm/renesas/shmobile/shmob_drm_crtc.h | 3 ++ > include/linux/platform_data/shmob_drm.h | 11 ++---- > 3 files changed, 19 insertions(+), 30 deletions(-) > > diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c > index 291b3a5014c24f08..5328910ebe09c832 100644 > --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c > +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c > @@ -23,6 +23,8 @@ > #include > #include > > +#include