Home
last modified time | relevance | path

Searched refs:va_offset (Results 1 – 4 of 4) sorted by relevance

/external/libdrm/amdgpu/
Damdgpu_vamgr.c50 mgr->va_offset = start; in amdgpu_vamgr_init()
127 if (base_required < mgr->va_offset) { in amdgpu_vamgr_find_va()
131 offset = mgr->va_offset; in amdgpu_vamgr_find_va()
132 waste = base_required - mgr->va_offset; in amdgpu_vamgr_find_va()
134 offset = mgr->va_offset; in amdgpu_vamgr_find_va()
152 mgr->va_offset += size + waste; in amdgpu_vamgr_find_va()
168 if ((va + size) == mgr->va_offset) { in amdgpu_vamgr_free_va()
169 mgr->va_offset = va; in amdgpu_vamgr_free_va()
174 mgr->va_offset = hole->offset; in amdgpu_vamgr_free_va()
Damdgpu_internal.h56 uint64_t va_offset; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c123 uint64_t va_offset; member
243 offset = mgr->va_offset; in radeon_bomgr_find_va()
256 mgr->va_offset += size + waste; in radeon_bomgr_find_va()
264 if (va >= mgr->va_offset) { in radeon_bomgr_force_va()
265 if (va > mgr->va_offset) { in radeon_bomgr_force_va()
269 hole->size = va - mgr->va_offset; in radeon_bomgr_force_va()
270 hole->offset = mgr->va_offset; in radeon_bomgr_force_va()
274 mgr->va_offset = va + size; in radeon_bomgr_force_va()
306 if ((va + size) == mgr->va_offset) { in radeon_bomgr_free_va()
307 mgr->va_offset = va; in radeon_bomgr_free_va()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c2285 uint64_t va_offset; in si_set_constant_buffer() local
2301 va_offset = r600_resource_va(ctx->screen, (void*)rbuffer); in si_set_constant_buffer()
2302 va_offset += offset; in si_set_constant_buffer()
2308 si_pm4_set_reg(pm4, R_00B130_SPI_SHADER_USER_DATA_VS_0, va_offset); in si_set_constant_buffer()
2309 si_pm4_set_reg(pm4, R_00B134_SPI_SHADER_USER_DATA_VS_1, va_offset >> 32); in si_set_constant_buffer()
2314 si_pm4_set_reg(pm4, R_00B030_SPI_SHADER_USER_DATA_PS_0, va_offset); in si_set_constant_buffer()
2315 si_pm4_set_reg(pm4, R_00B034_SPI_SHADER_USER_DATA_PS_1, va_offset >> 32); in si_set_constant_buffer()