Lines Matching defs:objects

199 	 * of our domain changes in execbuffers (which clears objects'
276 /* we've already hold a reference to all valid objects */
458 struct list_head *objects)
478 list_for_each_entry(obj, objects, exec_list) {
538 struct list_head *objects)
548 while (!list_empty(objects)) {
552 obj = list_first_entry(objects,
572 list_splice(&ordered_objects, objects);
577 * 1a. Unbind all objects that do not match the GTT constraints for
579 * 1b. Increment pin count for already bound objects and obtain
581 * 2. Bind new objects.
584 * This avoid unnecessary unbinding of later objects in order to makr
585 * room for the earlier objects *unless* we need to defragment.
591 /* Unbind any ill-fitting objects or pin. */
592 list_for_each_entry(obj, objects, exec_list) {
615 /* Bind fresh objects */
616 list_for_each_entry(obj, objects, exec_list) {
638 /* Decrement pin count for bound objects */
639 list_for_each_entry(obj, objects, exec_list) {
676 list_for_each_entry_continue_reverse(obj, objects, exec_list) {
697 struct list_head *objects, struct eb_objects *eb,
706 while (!list_empty(objects)) {
707 obj = list_first_entry(objects,
746 /* reacquire the objects */
760 list_add_tail(&obj->exec_list, objects);
766 ret = i915_gem_execbuffer_reserve(ring, file, objects);
770 list_for_each_entry(obj, objects, exec_list) {
908 struct list_head *objects)
915 list_for_each_entry(obj, objects, exec_list)
939 list_for_each_entry(obj, objects, exec_list) {
997 i915_gem_execbuffer_move_to_active(struct list_head *objects,
1004 list_for_each_entry(obj, objects, exec_list) {
1127 struct list_head objects;
1260 INIT_LIST_HEAD(&objects);
1280 list_add_tail(&obj->exec_list, &objects);
1287 batch_obj = list_entry(objects.prev,
1291 /* Move the objects en-masse into the GTT, evicting if necessary. */
1292 ret = i915_gem_execbuffer_reserve(ring, file, &objects);
1296 /* The objects are in their final locations, apply the relocations. */
1297 ret = i915_gem_execbuffer_relocate(dev, eb, &objects);
1301 &objects, eb, exec, args->buffer_count);
1316 ret = i915_gem_execbuffer_move_to_gpu(ring, &objects);
1389 i915_gem_execbuffer_move_to_active(&objects, ring, seqno);
1394 while (!list_empty(&objects)) {
1397 obj = list_first_entry(&objects, struct drm_i915_gem_object,