Lines Matching refs:batch

38 	u32 *batch;  member
81 h->batch = vaddr; in hang_init()
128 u32 *batch; in hang_create_request() local
148 h->batch = vaddr; in hang_create_request()
186 batch = h->batch; in hang_create_request()
188 *batch++ = MI_STORE_DWORD_IMM_GEN4; in hang_create_request()
189 *batch++ = lower_32_bits(hws_address(hws, rq)); in hang_create_request()
190 *batch++ = upper_32_bits(hws_address(hws, rq)); in hang_create_request()
191 *batch++ = rq->fence.seqno; in hang_create_request()
192 *batch++ = MI_NOOP; in hang_create_request()
194 memset(batch, 0, 1024); in hang_create_request()
195 batch += 1024 / sizeof(*batch); in hang_create_request()
197 *batch++ = MI_NOOP; in hang_create_request()
198 *batch++ = MI_BATCH_BUFFER_START | 1 << 8 | 1; in hang_create_request()
199 *batch++ = lower_32_bits(vma->node.start); in hang_create_request()
200 *batch++ = upper_32_bits(vma->node.start); in hang_create_request()
202 *batch++ = MI_STORE_DWORD_IMM_GEN4; in hang_create_request()
203 *batch++ = 0; in hang_create_request()
204 *batch++ = lower_32_bits(hws_address(hws, rq)); in hang_create_request()
205 *batch++ = rq->fence.seqno; in hang_create_request()
206 *batch++ = MI_NOOP; in hang_create_request()
208 memset(batch, 0, 1024); in hang_create_request()
209 batch += 1024 / sizeof(*batch); in hang_create_request()
211 *batch++ = MI_NOOP; in hang_create_request()
212 *batch++ = MI_BATCH_BUFFER_START | 1 << 8; in hang_create_request()
213 *batch++ = lower_32_bits(vma->node.start); in hang_create_request()
215 *batch++ = MI_STORE_DWORD_IMM_GEN4 | MI_USE_GGTT; in hang_create_request()
216 *batch++ = 0; in hang_create_request()
217 *batch++ = lower_32_bits(hws_address(hws, rq)); in hang_create_request()
218 *batch++ = rq->fence.seqno; in hang_create_request()
219 *batch++ = MI_NOOP; in hang_create_request()
221 memset(batch, 0, 1024); in hang_create_request()
222 batch += 1024 / sizeof(*batch); in hang_create_request()
224 *batch++ = MI_NOOP; in hang_create_request()
225 *batch++ = MI_BATCH_BUFFER_START | 2 << 6; in hang_create_request()
226 *batch++ = lower_32_bits(vma->node.start); in hang_create_request()
228 *batch++ = MI_STORE_DWORD_IMM | MI_MEM_VIRTUAL; in hang_create_request()
229 *batch++ = lower_32_bits(hws_address(hws, rq)); in hang_create_request()
230 *batch++ = rq->fence.seqno; in hang_create_request()
231 *batch++ = MI_NOOP; in hang_create_request()
233 memset(batch, 0, 1024); in hang_create_request()
234 batch += 1024 / sizeof(*batch); in hang_create_request()
236 *batch++ = MI_NOOP; in hang_create_request()
237 *batch++ = MI_BATCH_BUFFER_START | 2 << 6; in hang_create_request()
238 *batch++ = lower_32_bits(vma->node.start); in hang_create_request()
240 *batch++ = MI_BATCH_BUFFER_END; /* not reached */ in hang_create_request()
275 *h->batch = MI_BATCH_BUFFER_END; in hang_fini()
331 *h.batch = MI_BATCH_BUFFER_END; in igt_hang_sanitycheck()
1786 *h.batch = MI_BATCH_BUFFER_END; in igt_reset_queue()