[Intel-gfx] [PATCH] intel: Mark cached bo as purgeable

Chris Wilson chris at chris-wilson.co.uk
Fri Jun 19 09:33:08 CEST 2009


On Fri, 2009-06-19 at 09:50 +0800, Shaohua Li wrote:
> we need to unmap the object like my reference patch. Truncate page will
> unmap the object. And if libdrm thinks the object->virtual is still valid,
> then things will get wrong.

My fault, I forgot about that addition to the libdrm patch. Without the
unmap, we won't actually drop the page reference count so the backing
pages will never even be purged (and no space reclaimed for that
object.)
-ickle




More information about the Intel-gfx mailing list