[Intel-gfx] [PATCH] libdrm/intel: add drm_intel_bo_disable_reuse api

Eric Anholt eric at anholt.net
Tue May 12 23:42:34 CEST 2009


On Mon, 2009-05-11 at 13:51 -0700, Keith Packard wrote:
> Scanout buffers need to be freed through the kernel as it holds a reference
> to them; exposing this API allows applications allocating scanout buffers to
> flag them as not reusable.
> 
> Signed-off-by: Keith Packard <keithp at keithp.com>

I like it.  Just a couple of things:

Bump the configure.ac patch version so the 2D driver can depend on the
version.

Maybe have flink (setting global_name) call disable_reuse so we don't
have to check both name and !reuse for whether to not reuse

Slide the new char field down next to the other char boolean so it packs
into what is pad space today.

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090512/ed241366/attachment.sig>


More information about the Intel-gfx mailing list