[Intel-gfx] [PATCH] drm/i915: Mark pinned objects as busy.
Chris Wilson
chris at chris-wilson.co.uk
Fri Feb 20 21:20:20 CET 2009
On Fri, 2009-02-20 at 12:00 -0800, Eric Anholt wrote:
> How would a pinned object end up in the BO cache?
>
> Seems like either you freed it while pinned (shouldn't be doing that),
> or you named the object and somebody else pinned it and then you
> unreffed, in which case it's named and shouldn't end up in the BO cache.
In this case the page_flip ioctl takes an unnamed buffer and pins it for
use as the scan out. Similarly, the MODE_ADDFB takes an unnamed buffer.
-ickle
More information about the Intel-gfx
mailing list