Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp503067ybh; Sat, 18 Jul 2020 10:36:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgOea/oCaYk8LFxhzSV5Ft81cbpE5GoM+mVPJALXKPIJSp/R8bdc89vIMTdOCM+m493fZd X-Received: by 2002:a17:906:fac1:: with SMTP id lu1mr14357999ejb.427.1595093766046; Sat, 18 Jul 2020 10:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595093766; cv=none; d=google.com; s=arc-20160816; b=G/cDu3n4sSvl3tffl0Qd5l5Ns8qVDpLfks7zyB/YiFq8xeBOeZK4dO3bvdSIHM+2cs z9B+TIHXOQl9h3NAHEEMKZlxPRT5JFxTq7L4kGRMODNDVvzP4Wm4o03gsCEGjCWj+CrA iBcMNdEKFtBv5PcIu6am2mspHZnJEPzugtfvf5iu/sDQCpXey6o+yNKLvG8IWgtRwWg4 qASIBn7lklf1HAGVvzJ3xJN0dcln9OSdgBO72qpsihrsp0Cd2dHCfg4NFHkUDWEOweEW wu5YjHmtKMH3knZW5iHiPDL6lAbiPd4HDzRsmi/kpOr2XG2BDrhjYzgdTJq95W3Vxka6 dhPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cCuq0OFqY6ajsUIldn9AFAY6jqvGRWLDvSJ3vtKZXbM=; b=eHvLhDfAc5R8/SHyVer0wTMHbTflxrgyZ1mqNFXluuL4BmFUZxea8LWkxsoDMpRWcd 3GJQCFkgo/U/k188kpzKld62kQf7hpZF+uyPxT81ol5HOnGBLELwNdEKzNkjylUB/Kf1 vPDTwx/vCTSxr4poMXl+sMgjJ0by4zsB6LKJSb3A7Nw/yWOBpIBIfSpIbND7BZDM9KM+ pMdlbL+nY947uOZTGjv1JPOgynvcwlQryqw9thBccCPbG1Ito1Qmjx3nHxU4zui1LHjd rl7MEGheZUqRcjuYr7DAM1f0QQvNtxaGSQRsul+nHAz+bmwt65k8SlYR46Y3rwloB3ry bHWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si7505899eju.177.2020.07.18.10.35.43; Sat, 18 Jul 2020 10:36:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbgGRROP (ORCPT + 99 others); Sat, 18 Jul 2020 13:14:15 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:45172 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbgGRROO (ORCPT ); Sat, 18 Jul 2020 13:14:14 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 5B64DFB03; Sat, 18 Jul 2020 19:14:09 +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 yZrIF0sHGSa6; Sat, 18 Jul 2020 19:14:08 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id BF41542576; Sat, 18 Jul 2020 19:14:07 +0200 (CEST) Date: Sat, 18 Jul 2020 19:14:07 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Lucas Stach Cc: Marek Vasut , Stefan Agner , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/mxsfb: Make supported modifiers explicit Message-ID: <20200718171407.GA72952@bogon.m.sigxcpu.org> References: <26877532e272c12a74c33188e2a72abafc9a2e1c.1584973664.git.agx@sigxcpu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?nther: > > 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?nther > > Reviewed-by: Lucas Stach Can i do anything to get this applied? Cheers, -- Guido > > > --- > > 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/mxsfb/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[] = { > > DRM_FORMAT_RGB565 > > }; > > > > +static const uint64_t mxsfb_modifiers[] = { > > + 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, unsigned long flags) > > } > > > > ret = drm_simple_display_pipe_init(drm, &mxsfb->pipe, &mxsfb_funcs, > > - 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; >