Lines Matching refs:watcher
982 struct hwsp_watcher watcher[2] = {}; in live_hwsp_read() local
1007 for (i = 0; i < ARRAY_SIZE(watcher); i++) { in live_hwsp_read()
1008 err = setup_watcher(&watcher[i], gt); in live_hwsp_read()
1019 err = create_watcher(&watcher[1], engine, SZ_512K); in live_hwsp_read()
1034 err = create_watcher(&watcher[0], engine, SZ_4K); in live_hwsp_read()
1069 &watcher[0].rq->fence, 0, in live_hwsp_read()
1078 switch_tl_lock(rq, watcher[0].rq); in live_hwsp_read()
1079 err = intel_timeline_read_hwsp(rq, watcher[0].rq, &hwsp); in live_hwsp_read()
1081 err = emit_read_hwsp(watcher[0].rq, /* before */ in live_hwsp_read()
1083 &watcher[0].addr); in live_hwsp_read()
1084 switch_tl_lock(watcher[0].rq, rq); in live_hwsp_read()
1092 switch_tl_lock(rq, watcher[1].rq); in live_hwsp_read()
1093 err = intel_timeline_read_hwsp(rq, watcher[1].rq, &hwsp); in live_hwsp_read()
1095 err = emit_read_hwsp(watcher[1].rq, /* after */ in live_hwsp_read()
1097 &watcher[1].addr); in live_hwsp_read()
1098 switch_tl_lock(watcher[1].rq, rq); in live_hwsp_read()
1117 err = i915_sw_fence_await_dma_fence(&watcher[1].rq->submit, in live_hwsp_read()
1125 err = check_watcher(&watcher[0], "before", cmp_lt); in live_hwsp_read()
1146 if (8 * watcher[1].rq->ring->emit > in live_hwsp_read()
1147 3 * watcher[1].rq->ring->size) in live_hwsp_read()
1154 err = check_watcher(&watcher[1], "after", cmp_gte); in live_hwsp_read()
1160 for (i = 0; i < ARRAY_SIZE(watcher); i++) in live_hwsp_read()
1161 cleanup_watcher(&watcher[i]); in live_hwsp_read()