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.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT 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 28FA9C43441 for ; Tue, 27 Nov 2018 09:02:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F1A82208E4 for ; Tue, 27 Nov 2018 09:02:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1A82208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729917AbeK0T7Z (ORCPT ); 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) 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--