Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp604736imu; Tue, 27 Nov 2018 03:41:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/WQWPULhh58UAjM5hr0YjO08waHRdTIXuqc7EAWb/iN108uj+iuY4Mg07NH4xhBiypkY6Jb X-Received: by 2002:a17:902:7587:: with SMTP id j7mr32256036pll.191.1543318896530; Tue, 27 Nov 2018 03:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543318896; cv=none; d=google.com; s=arc-20160816; b=QA9iX3yDmXjVfrlFESyKlMb1VB/znkCrAzgowwMMrgxE13oW9+2oT+bEr3OXcVWCWn SaCDCqP+Tn4DdgWUHJ3kKVs1hs5TMqlbcHB9Khbw7Gvks3L48yisJpEnw0zKzX/WRovd EShPVL9I/rnXaPwkE5y6T0sqQMpIzq0HfYQv9jYwk3NivrIl005rOS9b5/pV0Zv8WkU/ yz2OYDvPMsXMy2u5wSOQ1byxHNPP7C/MJ9Vr8pZtFLWDBTmqf2yBA09/X4exdemG3QBO 03E80SoV3cxintOZO8LY85E5JdVbXQegYiYPuo+IqwN77/wnKD4iinVTSlKrTcHlUk/g +tOw== 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=2W4FH69RThO3/TDow9lZxY9znQW8dDqEa3FO0zkxEAE=; b=pFCMsrEz7oFQTfsnFYHu5oyGDXIxoOoFPdw4BUn9hSoyuGC8FTDnycJ1X+PoND5QN7 Csqh756A7dxEV3oJ0ET+wyZzXCs0wszYWWohaQDQ4q4b5+RUR/JwXmGNKLtfUzOmKocJ SO/8OfYRhxcDA9l6+zrQaxKSmkk9Qj8KqKHwgwIJFiWRs4jPPlHcKcDxE7B9I6JE06Dx ThmaFqADhbLA/WtxkcDZOoHezmEzXQonChz8v7n+H+q+lj2E3SjvxCMV3CjAWpkkfT4C SnYc57FNHpCE5d+PEI4BHsA95n3PCA/GsIKdVCvMOZECz3XBbS1rnpE/WZqENmhp3h09 4Pzg== 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 f34-v6si3711557ple.218.2018.11.27.03.41.19; Tue, 27 Nov 2018 03:41:36 -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 S1729916AbeK0UBJ (ORCPT + 99 others); Tue, 27 Nov 2018 15:01:09 -0500 Received: from mail.bootlin.com ([62.4.15.54]:58588 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729387AbeK0UBJ (ORCPT ); Tue, 27 Nov 2018 15:01:09 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 0A20420D31; Tue, 27 Nov 2018 10:03:55 +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 CE97E20736; Tue, 27 Nov 2018 10:03:44 +0100 (CET) Date: Tue, 27 Nov 2018 10:03:44 +0100 From: Maxime Ripard To: Brian Starkey Cc: Paul Kocialkowski , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "linux-arm-kernel@lists.infradead.org" , "linux-sunxi@googlegroups.com" , David Airlie , Chen-Yu Tsai , Thomas Petazzoni , Sean Paul , nd Subject: Re: [PATCH v2 31/43] drm/sun4i: Add a dedicated ioctl call for allocating tiled buffers Message-ID: <20181127090344.qlrksisbbmcjm3ac@flea> References: <20181123092515.2511-1-paul.kocialkowski@bootlin.com> <20181123092515.2511-32-paul.kocialkowski@bootlin.com> <20181123113019.43vrzvj42l35el7z@DESKTOP-E1NTVVP.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k5r55qbcww2xy4lm" Content-Disposition: inline In-Reply-To: <20181123113019.43vrzvj42l35el7z@DESKTOP-E1NTVVP.localdomain> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k5r55qbcww2xy4lm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 23, 2018 at 11:30:20AM +0000, Brian Starkey wrote: > Hi Paul, >=20 > On Fri, Nov 23, 2018 at 10:25:03AM +0100, Paul Kocialkowski wrote: > >This introduces a dedicated ioctl for allocating buffers for the VPU > >tiling mode. It allows setting up buffers that comply to the hardware > >alignment requirements, by aligning the stride and height to 32 bytes. > > > >Only YUV semiplanar and planar formats are allowed by the ioctl, as the > >hardware does not support the tiling mode for other formats. >=20 > What's the general feeling about a more generic version of this ioctl? > There doesn't seem to be anything Allwinner-specific in the ioctl > arguments. I'm definitely in favor of having such an ioctl. maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --k5r55qbcww2xy4lm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/0IcAAKCRDj7w1vZxhR xR4QAQC0RFDFjyHktG8EZmqMcMnpA8PxaL72V+Kpkbe8O8e0hAEAxdq2dde2CIY3 rmmp6SYmvHk2zG7yV30A36FXajupLwU= =WOAm -----END PGP SIGNATURE----- --k5r55qbcww2xy4lm--