Lines Matching defs:address

354 iris_memzone_for_address(uint64_t address)
363 if (address >= IRIS_MEMZONE_OTHER_START)
366 if (address == IRIS_BORDER_COLOR_POOL_ADDRESS)
369 if (address > IRIS_MEMZONE_DYNAMIC_START)
372 if (address >= IRIS_MEMZONE_SURFACE_START)
375 if (address >= IRIS_MEMZONE_BINDLESS_START)
378 if (address >= IRIS_MEMZONE_BINDER_START)
385 * Allocate a section of virtual memory for a buffer, assigning an address.
416 uint64_t address,
421 if (address == IRIS_BORDER_COLOR_POOL_ADDRESS)
424 /* Un-canonicalize the address. */
425 address = intel_48b_address(address);
427 if (address == 0ull)
430 enum iris_memory_zone memzone = iris_memzone_for_address(address);
434 util_vma_heap_free(&bufmgr->vma_allocator[memzone], address, size);
634 intel_aux_map_unmap_range(aux_map_ctx, bo->address, bo->size);
701 * size to get faster address translation.
738 bo->address = slab->bo->address + i * entry_size;
840 intel_aux_map_unmap_range(bo->bufmgr->aux_map_ctx, bo->address,
891 if (match_zone && memzone != iris_memzone_for_address(cur->address))
925 intel_aux_map_unmap_range(bo->bufmgr->aux_map_ctx, bo->address,
931 * isn't sufficient, free the old memory and assign it a new address.
933 if (memzone != iris_memzone_for_address(bo->address) ||
934 bo->address % alignment != 0) {
935 vma_free(bufmgr, bo->address, bo->size);
936 bo->address = 0ull;
1118 if (bo->address == 0ull) {
1120 bo->address = vma_alloc(bufmgr, memzone, bo->size, alignment);
1123 if (bo->address == 0ull)
1209 bo->address = vma_alloc(bufmgr, memzone, size, 1);
1212 if (bo->address == 0ull)
1288 bo->address = vma_alloc(bufmgr, IRIS_MEMZONE_OTHER, bo->size, 1);
1290 if (bo->address == 0ull) {
1346 intel_aux_map_unmap_range(bo->bufmgr->aux_map_ctx, bo->address,
1351 vma_free(bo->bufmgr, bo->address, bo->size);
1635 uint64_t offset = bo->address - real->address;
1920 * The base address for the surface has to be 64K page aligned and the
1928 bo->address = vma_alloc(bufmgr, IRIS_MEMZONE_OTHER, bo->size, 64 * 1024);
1930 if (bo->address == 0ull) {
2294 bo->address = vma_alloc(bufmgr, IRIS_MEMZONE_OTHER, bo->size, 64 * 1024);
2295 if (bo->address == 0ull) {
2313 buf->gpu = bo->address;
2454 * base address + size can overflow 48 bits.