Lines Matching refs:seqno
621 u32 seqno) in i915_gem_has_seqno_wrapped() argument
624 return dev_priv->last_seqno < seqno; in i915_gem_has_seqno_wrapped()
637 u32 seqno) in gen6_ring_sync() argument
648 seqno -= 1; in gen6_ring_sync()
658 if (likely(!i915_gem_has_seqno_wrapped(waiter->dev, seqno))) { in gen6_ring_sync()
662 intel_ring_emit(waiter, seqno); in gen6_ring_sync()
752 ring_set_seqno(struct intel_ring_buffer *ring, u32 seqno) in ring_set_seqno() argument
754 intel_write_status_page(ring, I915_GEM_HWS_INDEX, seqno); in ring_set_seqno()
765 pc_render_set_seqno(struct intel_ring_buffer *ring, u32 seqno) in pc_render_set_seqno() argument
768 pc->cpu_page[0] = seqno; in pc_render_set_seqno()
1285 static int intel_ring_wait_seqno(struct intel_ring_buffer *ring, u32 seqno) in intel_ring_wait_seqno() argument
1289 ret = i915_wait_seqno(ring, seqno); in intel_ring_wait_seqno()
1299 u32 seqno = 0; in intel_ring_wait_request() local
1322 seqno = request->seqno; in intel_ring_wait_request()
1334 if (seqno == 0) in intel_ring_wait_request()
1337 ret = intel_ring_wait_seqno(ring, seqno); in intel_ring_wait_request()
1421 u32 seqno; in intel_ring_idle() local
1435 seqno = list_entry(ring->request_list.prev, in intel_ring_idle()
1437 list)->seqno; in intel_ring_idle()
1439 return i915_wait_seqno(ring, seqno); in intel_ring_idle()
1491 void intel_ring_init_seqno(struct intel_ring_buffer *ring, u32 seqno) in intel_ring_init_seqno() argument
1502 ring->set_seqno(ring, seqno); in intel_ring_init_seqno()