Home
last modified time | relevance | path

Searched refs:gtt_offset (Results 1 – 25 of 25) sorted by relevance

/external/igt-gpu-tools/tools/
Dintel_error_decode.c451 uint64_t gtt_offset, in decode() argument
460 (unsigned)(gtt_offset >> 32), in decode()
461 (unsigned)(gtt_offset & 0xffffffff)); in decode()
464 (unsigned)((head_offset + gtt_offset) >> 32), in decode()
465 (unsigned)((head_offset + gtt_offset) & 0xffffffff)); in decode()
469 drm_intel_decode_set_batch_pointer(ctx, data, gtt_offset, in decode()
580 uint64_t gtt_offset = 0; in read_data_file() local
596 gtt_offset, head_offset, in read_data_file()
627 gtt_offset, head_offset, in read_data_file()
629 gtt_offset = 0; in read_data_file()
[all …]
Dintel_dump_decode.c77 uint32_t gtt_offset = 0; in read_data_file() local
115 drm_intel_decode_set_batch_pointer(ctx, data, gtt_offset, count); in read_data_file()
Daubdump.c651 aub_write_trace_block(uint32_t type, void *virtual, uint32_t size, uint64_t gtt_offset) in aub_write_trace_block() argument
664 mem_trace_memory_write_header_out(gtt_offset + offset, in aub_write_trace_block()
673 dword_out(gtt_offset + offset); in aub_write_trace_block()
676 dword_out((gtt_offset + offset) >> 32); in aub_write_trace_block()
/external/igt-gpu-tools/tests/i915/
Di915_hangman.c163 uint64_t gtt_offset; in check_error_state() local
170 gtt_offset = gtt_offset_upper; in check_error_state()
172 gtt_offset <<= 32; in check_error_state()
173 gtt_offset |= gtt_offset_lower; in check_error_state()
176 igt_assert_eq_u64(gtt_offset, expected_offset); in check_error_state()
/external/mesa3d/src/gallium/drivers/iris/
Diris_binder.c80 next_address = binder->bo->gtt_offset + IRIS_BINDER_SIZE; in binder_realloc()
90 binder->bo->gtt_offset = next_address; in binder_realloc()
189 binder->bo->gtt_offset + offset, sizes[stage]); in iris_binder_reserve_3d()
Diris_bufmgr.c398 if (match_zone && memzone != iris_memzone_for_address(cur->gtt_offset)) in alloc_bo_from_cache()
432 gen_aux_map_unmap_range(bo->bufmgr->aux_map_ctx, bo->gtt_offset, in alloc_bo_from_cache()
440 if (memzone != iris_memzone_for_address(bo->gtt_offset) || in alloc_bo_from_cache()
441 bo->gtt_offset % alignment != 0) { in alloc_bo_from_cache()
442 vma_free(bufmgr, bo->gtt_offset, bo->size); in alloc_bo_from_cache()
443 bo->gtt_offset = 0ull; in alloc_bo_from_cache()
545 if (bo->gtt_offset == 0ull) { in bo_alloc_internal()
547 bo->gtt_offset = vma_alloc(bufmgr, memzone, bo->size, alignment); in bo_alloc_internal()
550 if (bo->gtt_offset == 0ull) in bo_alloc_internal()
647 bo->gtt_offset = vma_alloc(bufmgr, memzone, size, 1); in iris_bo_create_userptr()
[all …]
Diris_bufmgr.h146 uint64_t gtt_offset; member
432 assert(bo->gtt_offset < IRIS_MEMZONE_OTHER_START); in iris_bo_offset_from_base_address()
433 return bo->gtt_offset; in iris_bo_offset_from_base_address()
Diris_blorp.c65 bo->gtt_offset + *out_offset, size); in stream_state()
99 return bo->gtt_offset + addr.offset; in combine_and_pin_address()
162 bt_map[i] = surface_offsets[i] - (uint32_t) binder->bo->gtt_offset; in blorp_alloc_binding_table()
210 uint16_t high_bits = bo->gtt_offset >> 32u; in blorp_vf_invalidate_for_vb_48b_transitions()
Diris_batch.c132 uint64_t bo_address = bo->gtt_offset & (~0ull >> 16); in decode_get_bo()
167 batch->exec_bos[0]->gtt_offset, false); in decode_batch()
340 .offset = bo->gtt_offset, in iris_use_pinned_bo()
491 *addr = batch->bo->gtt_offset; in iris_chain_to_new_batch()
511 .offset = bo->gtt_offset, in add_aux_map_bos_to_batch()
Diris_state.c345 bo->gtt_offset + *out_offset, size); in stream_state()
2069 bo->gtt_offset + shs->sampler_table.offset, size); in iris_upload_sampler_states()
2182 .address = res->bo->gtt_offset + res->offset + offset, in fill_buffer_surface_state()
2248 if (surf_state->bo_address == bo->gtt_offset) in update_surface_state_addrs()
2260 *ss_addr = *ss_addr - surf_state->bo_address + bo->gtt_offset; in update_surface_state_addrs()
2267 surf_state->bo_address = bo->gtt_offset; in update_surface_state_addrs()
2347 .address = res->bo->gtt_offset + res->offset + extra_main_offset, in fill_surface_state()
2357 f.aux_address = res->aux.bo->gtt_offset + res->aux.offset; in fill_surface_state()
2364 f.clear_address = clear_bo->gtt_offset + clear_offset; in fill_surface_state()
2409 isv->surface_state.bo_address = isv->res->bo->gtt_offset; in iris_create_sampler_view()
[all …]
Diris_genx_macros.h58 result += addr.bo->gtt_offset; in __gen_combine_address()
Diris_program_cache.c233 uint64_t shader_data_addr = res->bo->gtt_offset + in iris_upload_shader()
Diris_draw.c331 .address = grid_ref->offset + grid_bo->gtt_offset, in iris_update_grid_size_resource()
Diris_resource.c458 gen_aux_map_add_mapping(aux_map_ctx, res->bo->gtt_offset + res->offset, in map_aux_addresses()
459 res->aux.bo->gtt_offset + aux_offset, in map_aux_addresses()
461 res->bo->aux_map_address = res->aux.bo->gtt_offset; in map_aux_addresses()
1337 iris_memzone_for_address(old_bo->gtt_offset)); in iris_invalidate_resource()
Diris_program.c177 .address = res->bo->gtt_offset + res->offset + in iris_upload_ubo_ssbo_surf_state()
/external/mesa3d/src/intel/tools/
Daubinator_error_decode.c288 uint64_t gtt_offset; member
400 if (sections[s].gtt_offset <= address && in get_gen_batch_bo()
401 address < sections[s].gtt_offset + sections[s].dword_count * 4) { in get_gen_batch_bo()
403 .addr = sections[s].gtt_offset, in get_gen_batch_bo()
489 sections[num_sections].gtt_offset = ((uint64_t) hi) << 32 | lo; in read_data_file()
675 (unsigned) (sections[s].gtt_offset >> 32), in read_data_file()
676 (unsigned) sections[s].gtt_offset); in read_data_file()
686 uint64_t batch_addr = sections[s].gtt_offset + sections[s].data_offset; in read_data_file()
Daub_write.h132 uint32_t size, uint64_t gtt_offset);
Daub_write.c681 uint32_t size, uint64_t gtt_offset) in aub_write_trace_block() argument
693 ppgtt_lookup(aub, gtt_offset + offset), in aub_write_trace_block()
703 dword_out(aub, gtt_offset + offset); in aub_write_trace_block()
706 dword_out(aub, (gtt_offset + offset) >> 32); in aub_write_trace_block()
Daubinator_viewer.cpp257 uint64_t gtt_offset; member
469 return *((const uint8_t *) window->gtt_bo.map + window->gtt_offset + off); in read_edit_window()
476 uint8_t *gtt = (uint8_t *) window->gtt_bo.map + window->gtt_offset + off; in write_edit_window()
491 window->gtt_bo.size - window->gtt_offset, in display_edit_window()
546 window->gtt_offset = address - window->gtt_bo.addr; in new_edit_window()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c92 uint64_t bo_address = bo->gtt_offset & (~0ull >> 16); in decode_get_bo()
211 .offset = bo->gtt_offset, in add_exec_bo()
448 new_bo->gtt_offset = bo->gtt_offset; in grow_buffer()
742 if (batch->validation_list[i].offset != bo->gtt_offset) { in execbuffer()
744 bo->gem_handle, bo->gtt_offset, in execbuffer()
747 bo->gtt_offset = batch->validation_list[i].offset; in execbuffer()
836 batch->batch.bo->gtt_offset, false); in submit_batch()
948 return gen_canonical_address(target->gtt_offset + target_offset); in emit_reloc()
1003 assert(entry->offset == bo->gtt_offset); in brw_use_pinned_bo()
Dbrw_bufmgr.c621 memzone != memzone_for_address(bo->gtt_offset)) { in bo_alloc_internal()
622 vma_free(bufmgr, bo->gtt_offset, bo->size); in bo_alloc_internal()
623 bo->gtt_offset = 0ull; in bo_alloc_internal()
676 if ((bo->kflags & EXEC_OBJECT_PINNED) && bo->gtt_offset == 0ull) { in bo_alloc_internal()
677 bo->gtt_offset = vma_alloc(bufmgr, memzone, bo->size, 1); in bo_alloc_internal()
679 if (bo->gtt_offset == 0ull) in bo_alloc_internal()
809 bo->gtt_offset = 0; in brw_bo_gem_create_from_name()
819 bo->gtt_offset = vma_alloc(bufmgr, BRW_MEMZONE_OTHER, bo->size, 1); in brw_bo_gem_create_from_name()
885 vma_free(bo->bufmgr, bo->gtt_offset, bo->size); in bo_free()
1520 bo->gtt_offset = vma_alloc(bufmgr, BRW_MEMZONE_OTHER, bo->size, 1); in brw_bo_gem_create_from_prime_internal()
Dbrw_bufmgr.h131 uint64_t gtt_offset; member
DgenX_blorp_exec.c220 bo && (bo->kflags & EXEC_OBJECT_PINNED) ? bo->gtt_offset >> 32u : 0; in blorp_vf_invalidate_for_vb_48b_transitions()
DgenX_state_upload.c385 return (bo->kflags & EXEC_OBJECT_PINNED) ? bo->gtt_offset >> 32ull : 0; in pinned_bo_high_bits()
/external/mesa3d/docs/relnotes/
D20.1.0.rst3364 - iris: remove useless bo->gtt_offset assignment