Lines Matching refs:seqno

199 	u32 seqno;  member
211 if (__intel_timeline_sync_is_later(tl, ctx, p->seqno) != p->expected) { in __igt_sync()
213 name, p->name, ctx, p->seqno, str_yes_no(p->expected)); in __igt_sync()
218 ret = __intel_timeline_sync_set(tl, ctx, p->seqno); in __igt_sync()
396 u32 seqno = prandom_u32_state(&prng); in bench_sync() local
398 if (!__intel_timeline_sync_is_later(&tl, id, seqno)) in bench_sync()
399 __intel_timeline_sync_set(&tl, id, seqno); in bench_sync()
496 if (READ_ONCE(*tl->hwsp_seqno) != tl->seqno) { in checked_tl_write()
498 *tl->hwsp_seqno, tl->seqno); in checked_tl_write()
697 u32 seqno[2]; in live_hwsp_wrap() local
708 tl->seqno = -4u; in live_hwsp_wrap()
711 err = intel_timeline_get_seqno(tl, rq, &seqno[0]); in live_hwsp_wrap()
718 seqno[0], tl->hwsp_offset); in live_hwsp_wrap()
720 err = emit_ggtt_store_dw(rq, tl->hwsp_offset, seqno[0]); in live_hwsp_wrap()
728 err = intel_timeline_get_seqno(tl, rq, &seqno[1]); in live_hwsp_wrap()
735 seqno[1], tl->hwsp_offset); in live_hwsp_wrap()
737 err = emit_ggtt_store_dw(rq, tl->hwsp_offset, seqno[1]); in live_hwsp_wrap()
745 GEM_BUG_ON(seqno[1] >= seqno[0]); in live_hwsp_wrap()
756 if (READ_ONCE(*hwsp_seqno[0]) != seqno[0] || in live_hwsp_wrap()
757 READ_ONCE(*hwsp_seqno[1]) != seqno[1]) { in live_hwsp_wrap()
760 seqno[0], seqno[1]); in live_hwsp_wrap()
779 u32 seqno, u32 hwsp, in emit_read_hwsp() argument
792 *cs++ = seqno; in emit_read_hwsp()
897 bool (*op)(u32 hwsp, u32 seqno)) in check_watcher() argument
960 u32 seqno = rq->fence.seqno; in wrap_timeline() local
962 while (tl->seqno >= seqno) { /* Cause a wrap */ in wrap_timeline()
1063 tl->seqno = -12u + 2 * (count & 3); in live_hwsp_read()
1088 rq->fence.seqno, hwsp, in live_hwsp_read()
1102 rq->fence.seqno, hwsp, in live_hwsp_read()
1204 tl->seqno = -2u; in live_hwsp_rollover_kernel()
1205 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_kernel()
1218 lower_32_bits(this->fence.seqno)); in live_hwsp_rollover_kernel()
1227 GEM_BUG_ON(rq[2]->fence.seqno > rq[0]->fence.seqno); in live_hwsp_rollover_kernel()
1291 tl->seqno = -4u; in live_hwsp_rollover_user()
1292 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_user()
1305 lower_32_bits(this->fence.seqno)); in live_hwsp_rollover_user()
1314 GEM_BUG_ON(rq[2]->fence.seqno > rq[0]->fence.seqno); in live_hwsp_rollover_user()