From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH 3/8] dri/intel: Add explicit size parameter to intel_region_alloc_for_fd Date: Tue, 05 Nov 2013 16:52:28 -0800 Message-ID: <86eh6u5p2r.fsf@miki.keithp.com> References: <1383618208-21310-1-git-send-email-keithp@keithp.com> <1383618208-21310-4-git-send-email-keithp@keithp.com> <20131105222300.GA5220@tokamak.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2072866195==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id BC556FB1BF for ; Tue, 5 Nov 2013 16:52:32 -0800 (PST) In-Reply-To: <20131105222300.GA5220@tokamak.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: Kristian =?utf-8?Q?H=C3=B8gsberg?= Cc: mesa3d-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2072866195== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Kristian H=C3=B8gsberg writes: > The 3.12 kernel let's you get the bo size from lseek on the dma_buf > fd. I added libdrm support for getting the size that, and if that > works, it overrides the user provided size: Yeah, I'm happy just sending the size and not trusting that the kernel will have the new API; back-porting happens... > Regardless, this patchs looks good. > > Reviewed-by: Kristian H=C3=B8gsberg Thanks! =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIVAwUBUnmSzNsiGmkAAAARAQi97A/7BUX+aWFj3TcHDkVVOd/jK/EFdVCZyRpg HSURJfxM2o65YeUL+YbQawWzA8f1o7Uj3IX4qLLUhqyXLdjr6XlYwSW6Fi140uww LOap8wjLqz5COZAR0/gowiSj4Itzg/vlQNDKJENfUF/HmLaTsXoCMHL0C7Z+zjMV u42MNG0DkCk3r5wm5gXdyETYTgmIR40REsF8IJ9P+vruAPqkbO8OjMQ5CDUzWMbV ry77tKvnEahKCClG/xp4h3DqlxyXmFVY1SgmORG1YiyUr1u0X0HfHXE5eF+r1aMW P/vHUMbGZCruZhJkU+Gkgexui1S28LKk7rKHtTJgiR40QVMBfUvl5eBXbhxbTcJe ieUr1+Tta2GDbqS3SUNrs/+SM8lq+AkOvyBSxrdVaq+HbVBBmMbd4LwgQbKDU7hT 3yFjp9S4k1GTWmFSAUyKmNR38duIcP/kiB8aHQ0qFFKJ7CGZ+cdCcdOKHLN0OV3k M6KCnelfH+M7oblDovs2U7ioA2a4zgywo/sG+HwYu77L8h7WO0Yx9T2DoyFnzgYU 4mvcc/BifoOOaitC5uh05DU4h6KVJd2lNXR1VF18LsjWzfsCBaHdIDN7gB7746Ux Us6ypBJCGPAFD3pPk/1cZ+aj/syeUCfaZdyjb33CWHehanWpxecxmjjLiUZRkcH1 depo7+kvDyQ= =QvWk -----END PGP SIGNATURE----- --=-=-=-- --===============2072866195== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2072866195==--