Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp677068imu; Tue, 27 Nov 2018 04:51:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/UcWJjwoux9Vxp4dwkPTQihsXThOBddAuHl+YIeBHYGavESUEBcPUOhIAcQSVdH0Npnjjh3 X-Received: by 2002:a63:6ac5:: with SMTP id f188mr29408877pgc.165.1543323077193; Tue, 27 Nov 2018 04:51:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543323077; cv=none; d=google.com; s=arc-20160816; b=WqFkcgVVattn7EY36+SJorB7HyzBCJJkpqhFplh/4q9qCh+u25rlcTkefw2xDTqlVB Cxh/URDMyaL95dZTPgHEFNK/6XQm7Ehz27lEryGeC4PKhzgvfcLvGbKYcFVzxnCnwyuu NjHzepeeQ7XuUG6HhZnDglf8KoZ+3EKSe6VbP3LdPWA4ZurM4lPS2zSNfO5ezanUcQqD OWa/j/vjl9zWK2JodM6yeUvY4KgAdEeAiUdGTsXDUM177j5hVfGNoHIpJIf75oOcQUxZ hABWvf50fieHGUBZ0ZR9rq9MWiOwfpKcB/PFAKoFaZsKoYy36P5zbEX4RXCzkFSTMPbr 8d3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eLa4L6OEJipSiUWycWslpUdKEQRHT1jbAz+lxpZAyt0=; b=IfzqYk2OyJL56YsOx4EnZM+W9LOl6Sb4OMzvC1aF7QpbxP0DjGRhGDP4urSrvK08nA bHPZytbGQWMLlqSdFssK+MElV/YJhglU+HewodYwjLaWjYVP/GMijoQ1XbXr/goMaCSB sXhmwPqmp818tzFjjIIKNDHy+c8sfB2TTewx91hYRR7AJo7w7sCoe9dxN4EWa2tR+D2t L65sHHIj1SS2SliZ2HGtaACRQTmhrplPBBjKcHtk3OTp/mlNRcXxqFYzP0Qta3Ijh+rx 3X2Ex9RZn3SAmpl6IL/VYPzjRHsxsFjSpnmkyyFOZQVxuNvtgbEDCVEi7+R82614WdAn HqZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si3785493pll.58.2018.11.27.04.51.01; Tue, 27 Nov 2018 04:51:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729784AbeK0T7Z (ORCPT + 99 others); Tue, 27 Nov 2018 14:59:25 -0500 Received: from mail.bootlin.com ([62.4.15.54]:58385 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729387AbeK0T7Z (ORCPT ); Tue, 27 Nov 2018 14:59:25 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 4263720DBE; Tue, 27 Nov 2018 10:02:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 0AF4920DB0; Tue, 27 Nov 2018 10:02:02 +0100 (CET) Date: Tue, 27 Nov 2018 10:02:02 +0100 From: Maxime Ripard To: Paul Kocialkowski Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Maarten Lankhorst , Sean Paul , David Airlie , Chen-Yu Tsai , Thomas Petazzoni , linux-sunxi@googlegroups.com, Daniel Vetter Subject: Re: [PATCH v2 29/43] drm/sun4i: Make pitch even for GEM dumb alloc as per hardware constraint Message-ID: <20181127090202.ksywle3ttojjbyms@flea> References: <20181123092515.2511-1-paul.kocialkowski@bootlin.com> <20181123092515.2511-30-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vhjhemzdjqyhuzrz" Content-Disposition: inline In-Reply-To: <20181123092515.2511-30-paul.kocialkowski@bootlin.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vhjhemzdjqyhuzrz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 23, 2018 at 10:25:01AM +0100, Paul Kocialkowski wrote: > Our hardware requires the pitch to be an even number when using YUV > formats with the frontend. Implement a driver-specific callback for GEM > dumb allocation that sets the pitch accordingly. >=20 > Since only the bpp is passed (and not the format), we cannot really > distinguish if this alignment is really required. Since it doesn't hurt > to align the pitch anyway, always do it. >=20 > Signed-off-by: Paul Kocialkowski Applied, thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --vhjhemzdjqyhuzrz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/0ICQAKCRDj7w1vZxhR xQ9VAP0Zh8VJ0Jo6IvWzXN8iz7bE6elpKR9LFcZfbPlA+0WWvgEA7OaG2h/HXczk JMUWjxGXME7wLllhwIG+kwGd5UmYUQU= =mCal -----END PGP SIGNATURE----- --vhjhemzdjqyhuzrz--