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()
893 bool (*op)(u32 hwsp, u32 seqno)) in check_watcher() argument
956 u32 seqno = rq->fence.seqno; in wrap_timeline() local
958 while (tl->seqno >= seqno) { /* Cause a wrap */ in wrap_timeline()
1057 tl->seqno = -12u + 2 * (count & 3); in live_hwsp_read()
1082 rq->fence.seqno, hwsp, in live_hwsp_read()
1096 rq->fence.seqno, hwsp, in live_hwsp_read()
1196 tl->seqno = -2u; in live_hwsp_rollover_kernel()
1197 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_kernel()
1210 lower_32_bits(this->fence.seqno)); in live_hwsp_rollover_kernel()
1219 GEM_BUG_ON(rq[2]->fence.seqno > rq[0]->fence.seqno); in live_hwsp_rollover_kernel()
1283 tl->seqno = -4u; in live_hwsp_rollover_user()
1284 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_user()
1297 lower_32_bits(this->fence.seqno)); in live_hwsp_rollover_user()
1306 GEM_BUG_ON(rq[2]->fence.seqno > rq[0]->fence.seqno); in live_hwsp_rollover_user()