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=-6.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 3CB13C4BA24 for ; Wed, 26 Feb 2020 21:25:37 +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 09BF324670 for ; Wed, 26 Feb 2020 21:25:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="dTtxJrao" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09BF324670 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5190C6E127; Wed, 26 Feb 2020 21:25:36 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 281F56E127 for ; Wed, 26 Feb 2020 21:25:35 +0000 (UTC) Received: from earth.universe (unknown [185.62.205.105]) (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 B788C24653; Wed, 26 Feb 2020 21:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582752334; bh=BHlZW2LaeYN+uQPeYvwWRpZv7BtIX13qfY0vxuos7WE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dTtxJraoDswDSDhwLCo4VpZOI07ajEHcVqTgDCB6PKFjox8gPgah6JWenL1E09r9A PSeQY3JeB3INo7pUgOEMwXXhl6c7SvWHV72GenuTRhtdl7AAKKmVxvXv1Q67ivjGh8 KqE3geevEDcdgm66/ekpnMBk/awhhOI2gq+hCSzs= Received: by earth.universe (Postfix, from userid 1000) id 348423C0C83; Wed, 26 Feb 2020 22:25:32 +0100 (CET) Date: Wed, 26 Feb 2020 22:25:32 +0100 From: Sebastian Reichel To: Laurent Pinchart Subject: Re: [PATCHv2 05/56] drm/omap: dsi: use MIPI_DSI_FMT_* instead of OMAP_DSS_DSI_FMT_* Message-ID: <20200226212532.yf7io4wn5q5fvdol@earth.universe> References: <20200224232126.3385250-1-sebastian.reichel@collabora.com> <20200224232126.3385250-6-sebastian.reichel@collabora.com> <20200225135823.GD4764@pendragon.ideasonboard.com> MIME-Version: 1.0 In-Reply-To: <20200225135823.GD4764@pendragon.ideasonboard.com> 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: kernel@collabora.com, Tony Lindgren , "H. Nikolaus Schaller" , Merlijn Wajer , dri-devel@lists.freedesktop.org, Tomi Valkeinen , linux-omap@vger.kernel.org Content-Type: multipart/mixed; boundary="===============1924603756==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --===============1924603756== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d4dks7wygupy7ymw" Content-Disposition: inline --d4dks7wygupy7ymw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Feb 25, 2020 at 03:58:23PM +0200, Laurent Pinchart wrote: > Hi Sebastian, >=20 > Thank you for the patch. >=20 > On Tue, Feb 25, 2020 at 12:20:35AM +0100, Sebastian Reichel wrote: > > This replaces OMAP specific enum for pixel format with > > common implementation. > >=20 > > Signed-off-by: Sebastian Reichel > > --- > > .../gpu/drm/omapdrm/displays/panel-dsi-cm.c | 2 +- > > drivers/gpu/drm/omapdrm/dss/dsi.c | 49 +++++++------------ > > drivers/gpu/drm/omapdrm/dss/omapdss.h | 10 +--- > > 3 files changed, 20 insertions(+), 41 deletions(-) > >=20 > > diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/= gpu/drm/omapdrm/displays/panel-dsi-cm.c > > index e7fe5d702337..e6ebfc35243e 100644 > > --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c > > +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c > > @@ -595,7 +595,7 @@ static int dsicm_power_on(struct panel_drv_data *dd= ata) > > int r; > > struct omap_dss_dsi_config dsi_config =3D { > > .mode =3D OMAP_DSS_DSI_CMD_MODE, > > - .pixel_format =3D OMAP_DSS_DSI_FMT_RGB888, > > + .pixel_format =3D MIPI_DSI_FMT_RGB888, > > .vm =3D &ddata->vm, > > .hs_clk_min =3D 150000000, > > .hs_clk_max =3D 300000000, > > diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdr= m/dss/dsi.c > > index 8c39823a8295..bb2548d091ef 100644 > > --- a/drivers/gpu/drm/omapdrm/dss/dsi.c > > +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c > > @@ -34,6 +34,7 @@ > > #include > > =20 > > #include