[PATCH 3/8] dri/intel: Add explicit size parameter to intel_region_alloc_for_fd

Keith Packard keithp at keithp.com
Tue Nov 5 16:52:28 PST 2013


Kristian Høgsberg <hoegsberg at gmail.com> 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øgsberg <krh at bitplanet.net>

Thanks!

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131105/1bfb99a4/attachment.pgp>


More information about the dri-devel mailing list