From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 31/43] drm/sun4i: Add a dedicated ioctl call for allocating tiled buffers Date: Tue, 27 Nov 2018 10:03:44 +0100 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/mixed; boundary="===============1560884329==" Return-path: Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 18F126E07B for ; Tue, 27 Nov 2018 09:03:56 +0000 (UTC) In-Reply-To: <20181123113019.43vrzvj42l35el7z@DESKTOP-E1NTVVP.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Brian Starkey Cc: nd , David Airlie , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Paul Kocialkowski , "linux-sunxi@googlegroups.com" , Thomas Petazzoni , Chen-Yu Tsai , Sean Paul , "linux-arm-kernel@lists.infradead.org" List-Id: dri-devel@lists.freedesktop.org --===============1560884329== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k5r55qbcww2xy4lm" Content-Disposition: inline --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-- --===============1560884329== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1560884329==--