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.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 6C4A2C433E1 for ; Mon, 20 Jul 2020 10:03:54 +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 3EE6921775 for ; Mon, 20 Jul 2020 10:03:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3EE6921775 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sigxcpu.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 82FD389E32; Mon, 20 Jul 2020 10:03:53 +0000 (UTC) Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5BC1F89E32 for ; Mon, 20 Jul 2020 10:03:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 5F922FB03; Mon, 20 Jul 2020 12:03:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kNNEV4rIAbn4; Mon, 20 Jul 2020 12:03:47 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 9643942576; Mon, 20 Jul 2020 12:03:46 +0200 (CEST) Date: Mon, 20 Jul 2020 12:03:46 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Stefan Agner Subject: Re: [PATCH] drm/mxsfb: Make supported modifiers explicit Message-ID: <20200720100346.GA17641@bogon.m.sigxcpu.org> References: <26877532e272c12a74c33188e2a72abafc9a2e1c.1584973664.git.agx@sigxcpu.org> <20200718171407.GA72952@bogon.m.sigxcpu.org> <427ac44d83e9502afb5a809f28544d6c@agner.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <427ac44d83e9502afb5a809f28544d6c@agner.ch> 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: Marek Vasut , Pengutronix Kernel Team , David Airlie , Sascha Hauer , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Shawn Guo , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, On Mon, Jul 20, 2020 at 11:03:04AM +0200, Stefan Agner wrote: > On 2020-07-18 19:14, Guido G=FCnther wrote: > > Hi, > > On Mon, Mar 23, 2020 at 04:51:05PM +0100, Lucas Stach wrote: > >> Am Montag, den 23.03.2020, 15:52 +0100 schrieb Guido G=FCnther: > >> > In contrast to other display controllers on imx like DCSS and ipuv3 > >> > lcdif/mxsfb does not support detiling e.g. vivante tiled layouts. > >> > Since mesa might assume otherwise make it explicit that only > >> > DRM_FORMAT_MOD_LINEAR is supported. > >> > > >> > Signed-off-by: Guido G=FCnther > >> > >> Reviewed-by: Lucas Stach > > = > > Can i do anything to get this applied? > > Cheers, > > -- Guido > = > Sorry about the delay, I was thinking to apply it with another patchset > which is not ready though. > = > Pushed this patch to drm-misc-next just now. Thanks! -- Guido > = > -- > Stefan > = > > = > >> > >> > --- > >> > drivers/gpu/drm/mxsfb/mxsfb_drv.c | 9 +++++++-- > >> > 1 file changed, 7 insertions(+), 2 deletions(-) > >> > > >> > diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drivers/gpu/drm/mxs= fb/mxsfb_drv.c > >> > index 762379530928..fc71e7a7a02e 100644 > >> > --- a/drivers/gpu/drm/mxsfb/mxsfb_drv.c > >> > +++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.c > >> > @@ -73,6 +73,11 @@ static const uint32_t mxsfb_formats[] =3D { > >> > DRM_FORMAT_RGB565 > >> > }; > >> > > >> > +static const uint64_t mxsfb_modifiers[] =3D { > >> > + DRM_FORMAT_MOD_LINEAR, > >> > + DRM_FORMAT_MOD_INVALID > >> > +}; > >> > + > >> > static struct mxsfb_drm_private * > >> > drm_pipe_to_mxsfb_drm_private(struct drm_simple_display_pipe *pipe) > >> > { > >> > @@ -334,8 +339,8 @@ static int mxsfb_load(struct drm_device *drm, un= signed long flags) > >> > } > >> > > >> > ret =3D drm_simple_display_pipe_init(drm, &mxsfb->pipe, &mxsfb_fun= cs, > >> > - mxsfb_formats, ARRAY_SIZE(mxsfb_formats), NULL, > >> > - mxsfb->connector); > >> > + mxsfb_formats, ARRAY_SIZE(mxsfb_formats), > >> > + mxsfb_modifiers, mxsfb->connector); > >> > if (ret < 0) { > >> > dev_err(drm->dev, "Cannot setup simple display pipe\n"); > >> > goto err_vblank; > >> > = _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel