Lines Matching refs:hws
20 spin->hws = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init()
21 if (IS_ERR(spin->hws)) { in igt_spinner_init()
22 err = PTR_ERR(spin->hws); in igt_spinner_init()
25 i915_gem_object_set_cache_coherency(spin->hws, I915_CACHE_LLC); in igt_spinner_init()
36 i915_gem_object_put(spin->hws); in igt_spinner_init()
89 vaddr = igt_spinner_pin_obj(ce, ww, spin->hws, I915_MAP_WB, &spin->hws_vma); in igt_spinner_pin()
115 static u64 hws_address(const struct i915_vma *hws, in hws_address() argument
118 return hws->node.start + seqno_offset(rq->fence.context); in hws_address()
144 struct i915_vma *hws, *vma; in igt_spinner_create_request() local
160 hws = spin->hws_vma; in igt_spinner_create_request()
171 err = move_to_active(hws, rq, 0); in igt_spinner_create_request()
179 *batch++ = lower_32_bits(hws_address(hws, rq)); in igt_spinner_create_request()
180 *batch++ = upper_32_bits(hws_address(hws, rq)); in igt_spinner_create_request()
184 *batch++ = hws_address(hws, rq); in igt_spinner_create_request()
188 *batch++ = hws_address(hws, rq); in igt_spinner_create_request()
191 *batch++ = hws_address(hws, rq); in igt_spinner_create_request()
260 i915_gem_object_unpin_map(spin->hws); in igt_spinner_fini()
262 i915_gem_object_put(spin->hws); in igt_spinner_fini()