Lines Matching defs:objects
259 struct list_head *objects)
264 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list) {
370 struct list_head *objects,
379 batch_obj = list_entry(objects->prev,
384 while (!list_empty(objects)) {
388 obj = list_first_entry(objects,
424 tmp = objects->next;
425 list_splice(&ordered_objects, objects, tmp);
430 * 1a. Unbind all objects that do not match the GTT constraints for
432 * 1b. Increment pin count for already bound objects.
433 * 2. Bind new objects.
436 * This avoid unnecessary unbinding of later objects in order to makr
437 * room for the earlier objects *unless* we need to defragment.
443 /* Unbind any ill-fitting objects or pin. */
444 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list) {
469 /* Bind fresh objects */
470 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list) {
479 err: /* Decrement pin count for bound objects */
480 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list)
498 struct list_head *objects,
510 while (!list_empty(objects)) {
511 obj = list_first_entry(objects,
556 /* reacquire the objects */
568 list_add_tail(&obj->exec_list, objects, (caddr_t)obj);
576 ret = i915_gem_execbuffer_reserve(ring, file, objects, &need_relocs);
580 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list) {
602 struct list_head *objects)
608 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list) {
679 i915_gem_execbuffer_move_to_active(struct list_head *objects,
684 list_for_each_entry(obj, struct drm_i915_gem_object, objects, exec_list) {
748 struct list_head objects;
907 INIT_LIST_HEAD(&objects);
928 list_add_tail(&obj->exec_list, &objects, (caddr_t)obj);
939 batch_obj = list_entry(objects.prev,
943 /* Move the objects en-masse into the GTT, evicting if necessary. */
945 ret = i915_gem_execbuffer_reserve(ring, file, &objects, &need_relocs);
949 /* The objects are in their final locations, apply the relocations. */
951 ret = i915_gem_execbuffer_relocate(dev, eb, &objects);
955 &objects, eb,
979 ret = i915_gem_execbuffer_move_to_gpu(ring, &objects);
1031 i915_gem_execbuffer_move_to_active(&objects, ring);
1036 while (!list_empty(&objects)) {
1039 obj = list_first_entry(&objects,