Lines Matching defs:aub

135            "Convert an Intel GPU i915 error state to an aub file.\n"
137 " -o, --output=FILE the output aub file (default FILE.aub)\n",
267 snprintf(out_filename, out_filename_size, "%s.aub", in_filename);
274 fail_if(!aub_file, "Failed to open aub file \"%s\": %m\n", in_filename);
276 struct aub_file aub = {};
308 aub_file_init(&aub, aub_file,
311 aub.verbose_log_file = stdout;
312 default_gtt = active_gtt = aub_use_execlists(&aub) ? PPGTT : GGTT;
445 /* Add all the BOs to the aub file */
451 aub_map_ppgtt(&aub, bo_entry->addr, bo_entry->size);
452 aub_write_trace_block(&aub, AUB_TRACE_TYPE_BATCH,
455 aub_write_ggtt(&aub, bo_entry->addr, bo_entry->size, bo_entry->data);
459 aub_map_ppgtt(&aub, bo_entry->addr, bo_entry->size);
460 aub_write_trace_block(&aub, AUB_TRACE_TYPE_NOTYPE,
463 aub_write_ggtt(&aub, bo_entry->addr, bo_entry->size, bo_entry->data);
468 aub_use_execlists(&aub)) {
488 context[49] = aub.pml4.phys_addr >> 32;
489 context[51] = aub.pml4.phys_addr & 0xffffffff;
500 aub_write_ggtt(&aub, bo_entry->addr, bo_entry->size, bo_entry->data);
505 aub_write_ggtt(&aub, bo_entry->addr, bo_entry->size, bo_entry->data);
509 aub_map_ppgtt(&aub, bo_entry->addr, bo_entry->size);
511 aub_write_trace_block(&aub, AUB_TRACE_TYPE_NOTYPE,
517 aub_write_ggtt(&aub, bo_entry->addr, bo_entry->size, zero_data);
527 if (aub_use_execlists(&aub)) {
529 aub_write_context_execlists(&aub, hwsp_bo->addr + 4096 /* skip GuC page */, hwsp_bo->engine_class);
534 aub_write_exec(&aub, 0, batch_bo->addr, 0, I915_ENGINE_CLASS_RENDER);
549 if(aub.file) {
550 aub_file_finish(&aub);