/drivers/staging/lustre/lustre/lmv/ |
H A D | lmv_obd.c | 1192 enum placement_policy placement) 1194 switch (placement) { 1206 CERROR("Unsupported placement policy %x\n", placement); 1212 * This is _inode_ placement policy function (not name).
|
H A D | lproc_lmv.c | 72 static const char *placement_policy2name(enum placement_policy placement) argument 74 LASSERT(placement < PLACEMENT_MAX_POLICY); 75 return placement_name[placement]; 119 CERROR("Invalid placement policy \"%s\"!\n", dummy); 204 { "placement", &lmv_placement_fops, NULL, 0 },
|
/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.h | 224 struct ttm_placement placement; member in struct:mgag200_bo
|
H A D | mgag200_ttm.c | 146 *pl = mgabo->placement; 298 bo->placement.placement = bo->placements; 299 bo->placement.busy_placement = bo->placements; 306 bo->placement.num_placement = c; 307 bo->placement.num_busy_placement = c; 340 ttm_bo_type_device, &mgabo->placement, 367 for (i = 0; i < bo->placement.num_placement; i++) 369 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); 390 for (i = 0; i < bo->placement [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 231 type, &nvbo->placement, 279 for (i = 0; i < nvbo->placement.num_placement; ++i) { 283 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { 293 struct ttm_placement *pl = &nvbo->placement; 297 pl->placement = nvbo->placements; 365 nouveau_bo_placement_set(nvbo, bo->mem.placement, 0); 413 ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, 569 *pl = nvbo->placement; 1059 struct ttm_placement placement; local 1063 placement 1095 struct ttm_placement placement; local [all...] |
H A D | nouveau_bo.h | 12 struct ttm_placement placement; member in struct:nouveau_bo
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.h | 106 struct ttm_placement placement; member in struct:qxl_bo
|
H A D | qxl_ioctl.c | 340 ret = ttm_bo_validate(&qobj->tbo, &qobj->placement,
|
H A D | qxl_object.c | 59 qbo->placement.placement = qbo->placements; 60 qbo->placement.busy_placement = qbo->placements; 69 qbo->placement.num_placement = c; 70 qbo->placement.num_busy_placement = c; 112 &bo->placement, 0, !kernel, NULL, size, 239 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); 262 for (i = 0; i < bo->placement.num_placement; i++) 264 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false);
|
H A D | qxl_release.c | 240 ret = ttm_bo_validate(&bo->tbo, &bo->placement,
|
H A D | qxl_ttm.c | 188 struct ttm_placement *placement) 198 placement->placement = &placements; 199 placement->busy_placement = &placements; 200 placement->num_placement = 1; 201 placement->num_busy_placement = 1; 206 *placement = qbo->placement; 187 qxl_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument
|
/drivers/gpu/drm/radeon/ |
H A D | radeon.h | 478 struct ttm_placement placement; member in struct:radeon_bo
|
H A D | radeon_gem.c | 339 r = ttm_bo_validate(&bo->tbo, &bo->placement, true, false); 706 const char *placement; local 711 placement = "VRAM"; 714 placement = " GTT"; 718 placement = " CPU"; 723 placement, (unsigned long)rbo->pid);
|
H A D | radeon_mn.c | 145 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false);
|
H A D | radeon_object.c | 100 rbo->placement.placement = rbo->placements; 101 rbo->placement.busy_placement = rbo->placements; 142 rbo->placement.num_placement = c; 143 rbo->placement.num_busy_placement = c; 227 &bo->placement, page_align, !kernel, NULL, 322 for (i = 0; i < bo->placement.num_placement; i++) { 335 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); 366 for (i = 0; i < bo->placement.num_placement; i++) { 370 r = ttm_bo_validate(&bo->tbo, &bo->placement, fals [all...] |
H A D | radeon_ttm.c | 179 struct ttm_placement *placement) 190 placement->placement = &placements; 191 placement->busy_placement = &placements; 192 placement->num_placement = 1; 193 placement->num_busy_placement = 1; 208 *placement = rbo->placement; 252 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); 263 DRM_ERROR("Unknown placement 178 radeon_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument 293 struct ttm_placement placement; local 339 struct ttm_placement placement; local [all...] |
H A D | radeon_uvd.c | 264 for (i = 0; i < rbo->placement.num_placement; ++i) { 273 /* abort if we already have more than one placement */ 274 if (rbo->placement.num_placement > 1) 281 rbo->placement.num_placement++; 282 rbo->placement.num_busy_placement++;
|
H A D | radeon_vm.c | 409 r = ttm_bo_validate(&bo->tbo, &bo->placement, true, false);
|
/drivers/gpu/drm/ttm/ |
H A D | ttm_agp_backend.c | 56 int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED);
|
H A D | ttm_bo.c | 86 struct ttm_placement *placement) 93 for (i = 0; i < placement->num_placement; i++) { 94 ret = ttm_mem_type_from_place(&placement->placement[i], 98 pr_err(" placement[%d]=0x%08X (%d)\n", 99 i, placement->placement[i].flags, mem_type); 171 if (!(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) { 289 ((mem->placement & bo->mem.placement 85 ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument 664 struct ttm_placement placement; local 862 ttm_bo_mem_space(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_gpu) argument 965 ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu) argument 1003 ttm_bo_mem_compat(struct ttm_placement *placement, struct ttm_mem_reg *mem, uint32_t *new_flags) argument 1038 ttm_bo_validate(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu) argument 1075 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct file *persistent_swap_storage, size_t acc_size, struct sg_table *sg, struct reservation_object *resv, void (*destroy) (struct ttm_buffer_object *)) argument 1208 ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct file *persistent_swap_storage, struct ttm_buffer_object **p_bo) argument [all...] |
H A D | ttm_bo_util.c | 58 ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM, 63 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); 208 if (mem->placement & TTM_PL_FLAG_WC) 384 pgprot_t prot = ttm_io_prot(old_mem->placement, 389 pgprot_t prot = ttm_io_prot(new_mem->placement, 434 * holding the data of @bo with the old placement. 439 * it can be destroyed, releasing the space of the old placement. 518 if (mem->placement & TTM_PL_FLAG_WC) 545 if (num_pages == 1 && (mem->placement & TTM_PL_FLAG_CACHED)) { 559 prot = ttm_io_prot(mem->placement, PAGE_KERNE [all...] |
H A D | ttm_bo_vm.c | 196 cvma.vm_page_prot = ttm_io_prot(bo->mem.placement, 200 cvma.vm_page_prot = ttm_io_prot(bo->mem.placement,
|
H A D | ttm_tt.c | 152 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) argument 156 if (placement & TTM_PL_FLAG_WC) 158 else if (placement & TTM_PL_FLAG_UNCACHED)
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_buffer.c | 77 .placement = &vram_placement_flags, 108 .placement = vram_gmr_placement_flags, 129 .placement = vram_gmr_ne_placement_flags, 136 .placement = &vram_placement_flags, 143 .placement = &vram_ne_placement_flags, 150 .placement = &sys_placement_flags, 157 .placement = &sys_ne_placement_flags, 184 .placement = evictable_placement_flags, 192 .placement = &gmr_placement_flags, 199 .placement 753 vmw_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) argument [all...] |
H A D | vmwgfx_dmabuf.c | 35 * vmw_dmabuf_to_placement - Validate a buffer to placement. 52 struct ttm_placement *placement, 68 ret = ttm_bo_validate(bo, placement, interruptible, false); 98 struct ttm_placement *placement; local 120 placement = &vmw_vram_gmr_ne_placement; 122 placement = &vmw_vram_gmr_placement; 124 ret = ttm_bo_validate(bo, placement, interruptible, false); 135 placement = &vmw_vram_ne_placement; 137 placement = &vmw_vram_placement; 139 ret = ttm_bo_validate(bo, placement, interruptibl 50 vmw_dmabuf_to_placement(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, struct ttm_placement *placement, bool interruptible) argument 167 struct ttm_placement *placement; local 200 struct ttm_placement placement; local 303 struct ttm_placement placement; local [all...] |