Lines Matching refs:results
192 print_results(const struct intel_engine_cs *engine, const u32 *results) in print_results() argument
198 u32 actual = results[i]; in print_results()
208 struct drm_i915_gem_object *results; in check_whitelist() local
214 results = read_nonprivs(ce); in check_whitelist()
215 if (IS_ERR(results)) in check_whitelist()
216 return PTR_ERR(results); in check_whitelist()
219 i915_gem_object_lock(results, NULL); in check_whitelist()
221 err = i915_gem_object_set_to_cpu_domain(results, false); in check_whitelist()
228 vaddr = i915_gem_object_pin_map(results, I915_MAP_WB); in check_whitelist()
248 i915_gem_object_unpin_map(results); in check_whitelist()
250 i915_gem_object_unlock(results); in check_whitelist()
251 i915_gem_object_put(results); in check_whitelist()
510 u32 *cs, *results; in check_dirty_whitelist() local
558 results = i915_gem_object_pin_map(scratch->obj, I915_MAP_WB); in check_dirty_whitelist()
559 if (IS_ERR(results)) { in check_dirty_whitelist()
560 err = PTR_ERR(results); in check_dirty_whitelist()
666 rsvd = results[ARRAY_SIZE(values)]; in check_dirty_whitelist()
677 expect = results[0]; in check_dirty_whitelist()
681 expect = results[0]; in check_dirty_whitelist()
685 if (results[idx] != expect) in check_dirty_whitelist()
691 expect = results[0]; in check_dirty_whitelist()
695 if (results[idx] != expect) in check_dirty_whitelist()
705 engine->name, reg, results[0]); in check_dirty_whitelist()
708 engine->name, reg, results[0], rsvd); in check_dirty_whitelist()
710 expect = results[0]; in check_dirty_whitelist()
716 expect = results[0]; in check_dirty_whitelist()
720 w, results[idx], expect); in check_dirty_whitelist()
727 expect = results[0]; in check_dirty_whitelist()
731 w, results[idx], expect); in check_dirty_whitelist()
851 struct i915_vma *results) in read_whitelisted_registers() argument
862 i915_vma_lock(results); in read_whitelisted_registers()
863 err = i915_request_await_object(rq, results->obj, true); in read_whitelisted_registers()
865 err = i915_vma_move_to_active(results, rq, EXEC_OBJECT_WRITE); in read_whitelisted_registers()
866 i915_vma_unlock(results); in read_whitelisted_registers()
881 u64 offset = results->node.start + sizeof(u32) * i; in read_whitelisted_registers()