On Tue, Nov 12, 2013 at 11:58:08PM +0000, Chris Wilson wrote: > On Tue, Nov 12, 2013 at 02:53:08PM -0800, Jesse Barnes wrote: > > Preallocated, stolen objects will already be added to this list when we > > first create them. > > That had me scratching my head a bit trying to work out where and why > stolen objects were explicitly adding themselves to the obj->vma_list. > > "Preallocated objects will already have been added to the vma_list when > creating their ggtt vma entry, and coincidentally also marked as holding > a ggtt mapping. Repeating the vma_list manipulation when setting up the > ggtt after preallocation is a recipe for an unhappy kernel." Agreed. > > > > > Signed-off-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> > Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx