Lines Matching full:scratch

507 	struct i915_vma *scratch;  in check_dirty_whitelist()  local
513 scratch = __vm_create_scratch_for_read_pinned(ce->vm, sz); in check_dirty_whitelist()
514 if (IS_ERR(scratch)) in check_dirty_whitelist()
515 return PTR_ERR(scratch); in check_dirty_whitelist()
526 u64 addr = scratch->node.start; in check_dirty_whitelist()
544 err = i915_gem_object_lock(scratch->obj, &ww); in check_dirty_whitelist()
558 results = i915_gem_object_pin_map(scratch->obj, I915_MAP_WB); in check_dirty_whitelist()
608 GEM_BUG_ON(idx * sizeof(u32) > scratch->size); in check_dirty_whitelist()
641 err = i915_request_await_object(rq, scratch->obj, true); in check_dirty_whitelist()
643 err = i915_vma_move_to_active(scratch, rq, in check_dirty_whitelist()
738 i915_gem_object_unpin_map(scratch->obj); in check_dirty_whitelist()
760 i915_vma_unpin_and_release(&scratch, 0); in check_dirty_whitelist()
1077 struct i915_vma *scratch[2]; in live_isolated_whitelist() member
1092 client[i].scratch[0] = in live_isolated_whitelist()
1094 if (IS_ERR(client[i].scratch[0])) { in live_isolated_whitelist()
1095 err = PTR_ERR(client[i].scratch[0]); in live_isolated_whitelist()
1099 client[i].scratch[1] = in live_isolated_whitelist()
1101 if (IS_ERR(client[i].scratch[1])) { in live_isolated_whitelist()
1102 err = PTR_ERR(client[i].scratch[1]); in live_isolated_whitelist()
1103 i915_vma_unpin_and_release(&client[i].scratch[0], 0); in live_isolated_whitelist()
1130 err = read_whitelisted_registers(ce[0], client[0].scratch[0]); in live_isolated_whitelist()
1140 err = read_whitelisted_registers(ce[1], client[1].scratch[0]); in live_isolated_whitelist()
1146 client[0].scratch[0], in live_isolated_whitelist()
1147 client[1].scratch[0], in live_isolated_whitelist()
1153 err = read_whitelisted_registers(ce[0], client[0].scratch[1]); in live_isolated_whitelist()
1159 client[0].scratch[0], in live_isolated_whitelist()
1160 client[0].scratch[1], in live_isolated_whitelist()
1171 i915_vma_unpin_and_release(&client[i].scratch[1], 0); in live_isolated_whitelist()
1172 i915_vma_unpin_and_release(&client[i].scratch[0], 0); in live_isolated_whitelist()