• Home
  • Raw
  • Download

Lines Matching refs:radeon_emit

205 		radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0));  in radv_emit_thread_trace_start()
206 radeon_emit(cs, EVENT_TYPE(V_028A90_THREAD_TRACE_START) | EVENT_INDEX(0)); in radv_emit_thread_trace_start()
257 radeon_emit(cs, PKT3(PKT3_COPY_DATA, 4, 0)); in radv_copy_thread_trace_info_regs()
258 radeon_emit(cs, COPY_DATA_SRC_SEL(COPY_DATA_PERF) | in radv_copy_thread_trace_info_regs()
261 radeon_emit(cs, thread_trace_info_regs[i] >> 2); in radv_copy_thread_trace_info_regs()
262 radeon_emit(cs, 0); /* unused */ in radv_copy_thread_trace_info_regs()
263 radeon_emit(cs, (info_va + i * 4)); in radv_copy_thread_trace_info_regs()
264 radeon_emit(cs, (info_va + i * 4) >> 32); in radv_copy_thread_trace_info_regs()
283 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in radv_emit_thread_trace_stop()
284 radeon_emit(cs, EVENT_TYPE(V_028A90_THREAD_TRACE_STOP) | EVENT_INDEX(0)); in radv_emit_thread_trace_stop()
287 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in radv_emit_thread_trace_stop()
288 radeon_emit(cs, EVENT_TYPE(V_028A90_THREAD_TRACE_FINISH) | EVENT_INDEX(0)); in radv_emit_thread_trace_stop()
299 radeon_emit(cs, PKT3(PKT3_WAIT_REG_MEM, 5, 0)); in radv_emit_thread_trace_stop()
300radeon_emit(cs, WAIT_REG_MEM_NOT_EQUAL); /* wait until the register is equal to the reference valu… in radv_emit_thread_trace_stop()
301 radeon_emit(cs, R_008D20_SQ_THREAD_TRACE_STATUS >> 2); /* register */ in radv_emit_thread_trace_stop()
302 radeon_emit(cs, 0); in radv_emit_thread_trace_stop()
303 radeon_emit(cs, 0); /* reference value */ in radv_emit_thread_trace_stop()
304 radeon_emit(cs, S_008D20_FINISH_DONE(1)); /* mask */ in radv_emit_thread_trace_stop()
305 radeon_emit(cs, 4); /* poll interval */ in radv_emit_thread_trace_stop()
312 radeon_emit(cs, PKT3(PKT3_WAIT_REG_MEM, 5, 0)); in radv_emit_thread_trace_stop()
313radeon_emit(cs, WAIT_REG_MEM_EQUAL); /* wait until the register is equal to the reference value */ in radv_emit_thread_trace_stop()
314 radeon_emit(cs, R_008D20_SQ_THREAD_TRACE_STATUS >> 2); /* register */ in radv_emit_thread_trace_stop()
315 radeon_emit(cs, 0); in radv_emit_thread_trace_stop()
316 radeon_emit(cs, 0); /* reference value */ in radv_emit_thread_trace_stop()
317 radeon_emit(cs, S_008D20_BUSY(1)); /* mask */ in radv_emit_thread_trace_stop()
318 radeon_emit(cs, 4); /* poll interval */ in radv_emit_thread_trace_stop()
325 radeon_emit(cs, PKT3(PKT3_WAIT_REG_MEM, 5, 0)); in radv_emit_thread_trace_stop()
326radeon_emit(cs, WAIT_REG_MEM_EQUAL); /* wait until the register is equal to the reference value */ in radv_emit_thread_trace_stop()
327 radeon_emit(cs, R_030CE8_SQ_THREAD_TRACE_STATUS >> 2); /* register */ in radv_emit_thread_trace_stop()
328 radeon_emit(cs, 0); in radv_emit_thread_trace_stop()
329 radeon_emit(cs, 0); /* reference value */ in radv_emit_thread_trace_stop()
330 radeon_emit(cs, S_030CE8_BUSY(1)); /* mask */ in radv_emit_thread_trace_stop()
331 radeon_emit(cs, 4); /* poll interval */ in radv_emit_thread_trace_stop()
421 radeon_emit(device->thread_trace_start_cs[family], PKT3(PKT3_CONTEXT_CONTROL, 1, 0)); in radv_thread_trace_init_cs()
422 radeon_emit(device->thread_trace_start_cs[family], CC0_UPDATE_LOAD_ENABLES(1)); in radv_thread_trace_init_cs()
423 radeon_emit(device->thread_trace_start_cs[family], CC1_UPDATE_SHADOW_ENABLES(1)); in radv_thread_trace_init_cs()
426 radeon_emit(device->thread_trace_start_cs[family], PKT3(PKT3_NOP, 0, 0)); in radv_thread_trace_init_cs()
427 radeon_emit(device->thread_trace_start_cs[family], 0); in radv_thread_trace_init_cs()
461 radeon_emit(device->thread_trace_stop_cs[family], PKT3(PKT3_CONTEXT_CONTROL, 1, 0)); in radv_thread_trace_init_cs()
462 radeon_emit(device->thread_trace_stop_cs[family], CC0_UPDATE_LOAD_ENABLES(1)); in radv_thread_trace_init_cs()
463 radeon_emit(device->thread_trace_stop_cs[family], CC1_UPDATE_SHADOW_ENABLES(1)); in radv_thread_trace_init_cs()
466 radeon_emit(device->thread_trace_stop_cs[family], PKT3(PKT3_NOP, 0, 0)); in radv_thread_trace_init_cs()
467 radeon_emit(device->thread_trace_stop_cs[family], 0); in radv_thread_trace_init_cs()