Home
last modified time | relevance | path

Searched refs:placement (Results 1 – 17 of 17) sorted by relevance

/hardware/intel/common/libwsbm/src/
Dwsbm_manager.c76 uint32_t placement; member
431 return storage->pool->placement(storage); in wsbmBOPlacementHint()
486 struct _WsbmBufferPool *newPool, uint32_t placement) in wsbmBOData() argument
512 if (!placement) in wsbmBOData()
513 placement = buf->placement; in wsbmBOData()
523 buf->placement = placement; in wsbmBOData()
529 newPool->create(newPool, size, placement, buf->alignment); in wsbmBOData()
535 buf->placement = placement; in wsbmBOData()
549 curPool->create(curPool, size, placement, buf->alignment); in wsbmBOData()
554 buf->placement = placement; in wsbmBOData()
[all …]
Dwsbm_userpool.c190 vBuf->kBuf.placement = WSBM_PL_FLAG_SYSTEM; in evict_lru()
205 unsigned long size, uint32_t placement, unsigned alignment) in pool_create() argument
215 vBuf->proposedPlacement = placement; in pool_create()
223 if (placement & WSBM_PL_FLAG_TT) { in pool_create()
229 vBuf->kBuf.placement = WSBM_PL_FLAG_TT; in pool_create()
237 if (placement & WSBM_PL_FLAG_VRAM) { in pool_create()
243 vBuf->kBuf.placement = WSBM_PL_FLAG_VRAM; in pool_create()
251 if ((placement & WSBM_PL_FLAG_NO_EVICT) in pool_create()
252 && !(placement & WSBM_PL_FLAG_SYSTEM)) { in pool_create()
258 vBuf->kBuf.placement = WSBM_PL_FLAG_SYSTEM; in pool_create()
[all …]
Dwsbm_ttmpool.c111 unsigned long size, uint32_t placement, unsigned alignment) in pool_create() argument
135 arg.req.placement = placement; in pool_create()
148 dBuf->kBuf.placement = arg.rep.placement; in pool_create()
192 dBuf->kBuf.placement = arg.rep.placement; in pool_reference()
414 return dBuf->kBuf.placement; in pool_placement()
482 dBuf->kBuf.placement = rep->placement; in pool_setStatus()
517 pool->placement = &pool_placement; in wsbmTTMPoolInit()
532 ttm_pool_ub_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned a… in ttm_pool_ub_create() argument
556 arg.req.placement = placement; in ttm_pool_ub_create()
570 dBuf->kBuf.placement = arg.rep.placement; in ttm_pool_ub_create()
Dwsbm_manager.h94 struct _WsbmBufferPool *pool, uint32_t placement);
98 uint32_t placement, const unsigned long *user_ptr, int fd);
121 unsigned alignment, uint32_t placement);
125 uint32_t placement,
183 uint32_t placement, uint32_t fence_flags);
Dwsbm_pool.h65 uint32_t(*placement) (struct _WsbmBufStorage * buf); member
70 uint32_t placement,
137 uint32_t placement,
Dwsbm_mallocpool.c57 unsigned long size, uint32_t placement, unsigned alignment __attribute__ ((unused))) in pool_create() argument
67 if ((placement & WSBM_PL_MASK_MEM) != WSBM_PL_FLAG_SYSTEM) in pool_create()
178 pool->placement = &pool_placement; in wsbmMallocPoolInit()
Dwsbm_priv.h41 uint32_t placement; member
Dwsbm_slabpool.c295 if (kbo->kBuf.placement & TTM_PL_FLAG_CACHED) in wsbmSetKernelBOFree()
379 kbo->kBuf.placement = rep->placement; in wsbmAllocKernelBO()
404 arg.req.placement = slabPool->proposedPlacement; in wsbmAllocKernelBO()
414 kbo->kBuf.placement = arg.rep.placement; in wsbmAllocKernelBO()
698 uint32_t placement, unsigned alignment) in pool_create() argument
753 arg.req.placement = placement; in pool_create()
764 sBuf->kBuf.placement = arg.rep.placement; in pool_create()
1140 uint32_t placement, in wsbmSlabPoolInit() argument
1168 slabPool->proposedPlacement = placement; in wsbmSlabPoolInit()
/hardware/intel/img/psb_video/src/
Dpsb_buffer.c72 uint32_t placement; in psb_buffer_create() local
86 placement = DRM_PSB_FLAG_MEM_MMU; in psb_buffer_create()
90 placement = DRM_PSB_FLAG_MEM_MMU | WSBM_PL_FLAG_SHARED; in psb_buffer_create()
94 placement = DRM_PSB_FLAG_MEM_MMU | WSBM_PL_FLAG_SHARED; in psb_buffer_create()
96 placement |= WSBM_PL_FLAG_CACHED; in psb_buffer_create()
100 placement = WSBM_PL_FLAG_TT | WSBM_PL_FLAG_NO_EVICT | WSBM_PL_FLAG_SHARED; in psb_buffer_create()
105 placement = WSBM_PL_FLAG_TT | WSBM_PL_FLAG_SHARED; in psb_buffer_create()
109 placement = DRM_PSB_FLAG_MEM_MMU_TILING | WSBM_PL_FLAG_SHARED; in psb_buffer_create()
115 placement = DRM_PSB_FLAG_MEM_MMU | WSBM_PL_FLAG_CACHED; in psb_buffer_create()
119 placement = DRM_PSB_FLAG_MEM_MMU; in psb_buffer_create()
[all …]
Dpsb_buffer_dm.c176 uint32_t placement; in psb_buffer_create_camera_from_ub() local
186placement = DRM_PSB_FLAG_MEM_MMU | WSBM_PL_FLAG_TT | WSBM_PL_FLAG_CACHED | WSBM_PL_FLAG_SHARED ; in psb_buffer_create_camera_from_ub()
195 allignment, placement); in psb_buffer_create_camera_from_ub()
213 buf->pl_flags = placement; in psb_buffer_create_camera_from_ub()
Dpsb_texture.h140 unsigned int placement);
147 unsigned int placement, int wrap_dst);
Dvsp_cmdbuf.c359 rep->gpu_offset, rep->placement, rep->fence_type_mask); in vspDRMCmdBuf()
Dpnw_cmdbuf.c467 rep->gpu_offset, rep->placement, rep->fence_type_mask); in pnwDRMCmdBuf()
Dtng_cmdbuf.c630 rep->gpu_offset, rep->placement, rep->fence_type_mask); in ptgDRMCmdBuf()
Dpsb_texture.c529 unsigned int placement, int wrap_dst)
Dpsb_cmdbuf.c537 rep->gpu_offset, rep->placement, rep->fence_type_mask); in psbDRMCmdBuf()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c414 rep->gpu_offset, rep->placement, rep->fence_type_mask); in lncDRMCmdBuf()