On Tue, 4 Sep 2012 21:02:54 +0100 Chris Wilson <[email protected]> wrote:
> We need to refcount our pages in order to prevent reaping them at > inopportune times, such as when they currently vmapped or exported to > another driver. However, we also wish to keep the lazy deallocation of > our pages so we need to take a pin/unpinned approach rather than a > simple refcount. > > Signed-off-by: Chris Wilson <[email protected]> > --- Why do we need the pages pinned if the object is vmapped? Shouldn't we only pin if a vmapped object is currently being used by the GPU or mapped through the GTT? Or is that what you meant? Assuming that's correct: Reviewed-by: Jesse Barnes <[email protected]> -- Jesse Barnes, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
