Home
last modified time | relevance | path

Searched refs:dma_bo (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_dma.c215 struct radeon_dma_bo *dma_bo = NULL; in radeonRefillCurrentDmaRegion() local
226 dma_bo = CALLOC_STRUCT(radeon_dma_bo); in radeonRefillCurrentDmaRegion()
227 assert(dma_bo); in radeonRefillCurrentDmaRegion()
230 dma_bo->bo = radeon_bo_open(rmesa->radeonScreen->bom, in radeonRefillCurrentDmaRegion()
234 if (!dma_bo->bo) { in radeonRefillCurrentDmaRegion()
238 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
243 dma_bo = last_elem(&rmesa->dma.free); in radeonRefillCurrentDmaRegion()
244 remove_from_list(dma_bo); in radeonRefillCurrentDmaRegion()
245 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
298 struct radeon_dma_bo *dma_bo; in radeonFreeDmaRegions() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_dma.c215 struct radeon_dma_bo *dma_bo = NULL; in radeonRefillCurrentDmaRegion() local
226 dma_bo = CALLOC_STRUCT(radeon_dma_bo); in radeonRefillCurrentDmaRegion()
227 assert(dma_bo); in radeonRefillCurrentDmaRegion()
230 dma_bo->bo = radeon_bo_open(rmesa->radeonScreen->bom, in radeonRefillCurrentDmaRegion()
234 if (!dma_bo->bo) { in radeonRefillCurrentDmaRegion()
238 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
243 dma_bo = last_elem(&rmesa->dma.free); in radeonRefillCurrentDmaRegion()
244 remove_from_list(dma_bo); in radeonRefillCurrentDmaRegion()
245 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
298 struct radeon_dma_bo *dma_bo; in radeonFreeDmaRegions() local
[all …]
Dr200_state.c2141 struct radeon_dma_bo *dma_bo; in r200ValidateBuffers() local
2178 dma_bo = first_elem(&rmesa->radeon.dma.reserved); in r200ValidateBuffers()
2180 …ret = radeon_cs_space_check_with_bo(rmesa->radeon.cmdbuf.cs, dma_bo->bo, RADEON_GEM_DOMAIN_GTT, 0); in r200ValidateBuffers()