Lines Matching full:objects
40 struct list_head *objects) in quirk_add() argument
42 /* quirk is only for live tiled objects, use it to declare ownership */ in quirk_add()
45 list_add(&obj->st_link, objects); in quirk_add()
48 static int populate_ggtt(struct i915_ggtt *ggtt, struct list_head *objects) in populate_ggtt() argument
71 quirk_add(obj, objects); in populate_ggtt()
78 pr_err("No objects on the GGTT inactive list!\n"); in populate_ggtt()
111 LIST_HEAD(objects); in igt_evict_something()
114 /* Fill the GGTT with pinned objects and try to evict one. */ in igt_evict_something()
116 err = populate_ggtt(ggtt, &objects); in igt_evict_something()
149 cleanup_objects(ggtt, &objects); in igt_evict_something()
159 LIST_HEAD(objects); in igt_overcommit()
162 /* Fill the GGTT with pinned objects and then try to pin one more. in igt_overcommit()
166 err = populate_ggtt(ggtt, &objects); in igt_overcommit()
176 quirk_add(obj, &objects); in igt_overcommit()
186 cleanup_objects(ggtt, &objects); in igt_overcommit()
198 LIST_HEAD(objects); in igt_evict_for_vma()
201 /* Fill the GGTT with pinned objects and try to evict a range. */ in igt_evict_for_vma()
203 err = populate_ggtt(ggtt, &objects); in igt_evict_for_vma()
230 cleanup_objects(ggtt, &objects); in igt_evict_for_vma()
253 LIST_HEAD(objects); in igt_evict_for_cache_color()
271 quirk_add(obj, &objects); in igt_evict_for_cache_color()
287 quirk_add(obj, &objects); in igt_evict_for_cache_color()
327 cleanup_objects(ggtt, &objects); in igt_evict_for_cache_color()
337 LIST_HEAD(objects); in igt_evict_vm()
340 /* Fill the GGTT with pinned objects and try to evict everything. */ in igt_evict_vm()
342 err = populate_ggtt(ggtt, &objects); in igt_evict_vm()
371 cleanup_objects(ggtt, &objects); in igt_evict_vm()
448 /* Overfill the GGTT with context objects and so try to evict one. */ in igt_evict_contexts()