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

Keith Packard keithp at keithp.com
Wed May 13 00:34:25 CEST 2009


On Tue, 2009-05-12 at 14:42 -0700, Eric Anholt wrote:
> 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.

2.4.10?

> 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

Uh, I did that.

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

Yeah, ok.

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


More information about the Intel-gfx mailing list