[Intel-gfx] [RFC 0/3] Add new ioctl to resize gem object for deferred allocation

Chris Wilson chris at chris-wilson.co.uk
Thu Mar 27 23:23:14 CET 2014


On Thu, Mar 27, 2014 at 03:28:26PM +0000, arun.siluvery at linux.intel.com wrote:
> From: "Siluvery, Arun" <arun.siluvery at intel.com>
> 
> This patch series adds a new ioctl to resize a gem object.

I'm tired, but off the top of my head, I think you can do away with the
magic extension to create_ioctl. If we allow any one to fallocate()
ranges of any object, the user can create a large object, populate it
all with a scratch page, then later populate regions as required. This
looks quite a reasonable and useful feature.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list