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.c214 struct radeon_dma_bo *dma_bo = NULL; in radeonRefillCurrentDmaRegion() local
225 dma_bo = CALLOC_STRUCT(radeon_dma_bo); in radeonRefillCurrentDmaRegion()
226 assert(dma_bo); in radeonRefillCurrentDmaRegion()
229 dma_bo->bo = radeon_bo_open(rmesa->radeonScreen->bom, in radeonRefillCurrentDmaRegion()
233 if (!dma_bo->bo) { in radeonRefillCurrentDmaRegion()
237 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
242 dma_bo = last_elem(&rmesa->dma.free); in radeonRefillCurrentDmaRegion()
243 remove_from_list(dma_bo); in radeonRefillCurrentDmaRegion()
244 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
297 struct radeon_dma_bo *dma_bo; in radeonFreeDmaRegions() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_dma.c214 struct radeon_dma_bo *dma_bo = NULL; in radeonRefillCurrentDmaRegion() local
225 dma_bo = CALLOC_STRUCT(radeon_dma_bo); in radeonRefillCurrentDmaRegion()
226 assert(dma_bo); in radeonRefillCurrentDmaRegion()
229 dma_bo->bo = radeon_bo_open(rmesa->radeonScreen->bom, in radeonRefillCurrentDmaRegion()
233 if (!dma_bo->bo) { in radeonRefillCurrentDmaRegion()
237 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
242 dma_bo = last_elem(&rmesa->dma.free); in radeonRefillCurrentDmaRegion()
243 remove_from_list(dma_bo); in radeonRefillCurrentDmaRegion()
244 insert_at_head(&rmesa->dma.reserved, dma_bo); in radeonRefillCurrentDmaRegion()
297 struct radeon_dma_bo *dma_bo; in radeonFreeDmaRegions() local
[all …]
Dr200_state.c2162 struct radeon_dma_bo *dma_bo; in r200ValidateBuffers() local
2199 dma_bo = first_elem(&rmesa->radeon.dma.reserved); in r200ValidateBuffers()
2201 …ret = radeon_cs_space_check_with_bo(rmesa->radeon.cmdbuf.cs, dma_bo->bo, RADEON_GEM_DOMAIN_GTT, 0); in r200ValidateBuffers()