Lines Matching refs:watcher

986 	struct hwsp_watcher watcher[2] = {};  in live_hwsp_read()  local
1013 for (i = 0; i < ARRAY_SIZE(watcher); i++) { in live_hwsp_read()
1014 err = setup_watcher(&watcher[i], gt, tl); in live_hwsp_read()
1025 err = create_watcher(&watcher[1], engine, SZ_512K); in live_hwsp_read()
1040 err = create_watcher(&watcher[0], engine, SZ_4K); in live_hwsp_read()
1075 &watcher[0].rq->fence, 0, in live_hwsp_read()
1084 switch_tl_lock(rq, watcher[0].rq); in live_hwsp_read()
1085 err = intel_timeline_read_hwsp(rq, watcher[0].rq, &hwsp); in live_hwsp_read()
1087 err = emit_read_hwsp(watcher[0].rq, /* before */ in live_hwsp_read()
1089 &watcher[0].addr); in live_hwsp_read()
1090 switch_tl_lock(watcher[0].rq, rq); in live_hwsp_read()
1098 switch_tl_lock(rq, watcher[1].rq); in live_hwsp_read()
1099 err = intel_timeline_read_hwsp(rq, watcher[1].rq, &hwsp); in live_hwsp_read()
1101 err = emit_read_hwsp(watcher[1].rq, /* after */ in live_hwsp_read()
1103 &watcher[1].addr); in live_hwsp_read()
1104 switch_tl_lock(watcher[1].rq, rq); in live_hwsp_read()
1123 err = i915_sw_fence_await_dma_fence(&watcher[1].rq->submit, in live_hwsp_read()
1131 err = check_watcher(&watcher[0], "before", cmp_lt); in live_hwsp_read()
1152 if (8 * watcher[1].rq->ring->emit > in live_hwsp_read()
1153 3 * watcher[1].rq->ring->size) in live_hwsp_read()
1160 err = check_watcher(&watcher[1], "after", cmp_gte); in live_hwsp_read()
1166 for (i = 0; i < ARRAY_SIZE(watcher); i++) in live_hwsp_read()
1167 cleanup_watcher(&watcher[i]); in live_hwsp_read()