| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 56 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument 62 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 63 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 64 drm_printf(&p, " placement[%d]=0x%08X (%d)\n", in ttm_bo_mem_space_debug() 65 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 343 hop_placement.placement = hop; in ttm_bo_bounce_temp_buffer() 362 struct ttm_placement placement; in ttm_bo_evict() local 370 placement in ttm_bo_evict() 963 ttm_bo_alloc_resource(struct ttm_buffer_object * bo,struct ttm_placement * placement,struct ttm_operation_ctx * ctx,bool force_space,struct ttm_resource ** res) ttm_bo_alloc_resource() argument 1042 ttm_bo_mem_space(struct ttm_buffer_object * bo,struct ttm_placement * placement,struct ttm_resource ** res,struct ttm_operation_ctx * ctx) ttm_bo_mem_space() argument 1075 ttm_bo_validate(struct ttm_buffer_object * bo,struct ttm_placement * placement,struct ttm_operation_ctx * ctx) ttm_bo_validate() argument 1186 ttm_bo_init_reserved(struct ttm_device * bdev,struct ttm_buffer_object * bo,enum ttm_bo_type type,struct ttm_placement * placement,uint32_t alignment,struct ttm_operation_ctx * ctx,struct sg_table * sg,struct dma_resv * resv,void (* destroy)(struct ttm_buffer_object *)) ttm_bo_init_reserved() argument 1279 ttm_bo_init_validate(struct ttm_device * bdev,struct ttm_buffer_object * bo,enum ttm_bo_type type,struct ttm_placement * placement,uint32_t alignment,bool interruptible,struct sg_table * sg,struct dma_resv * resv,void (* destroy)(struct ttm_buffer_object *)) ttm_bo_init_validate() argument [all...] |
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_bo.c | 81 * vmw_bo_pin_in_placement - Validate a buffer to placement. 85 * @placement: The placement to pin it. 92 struct ttm_placement *placement, in vmw_bo_pin_in_placement() 105 ret = ttm_bo_validate(bo, placement, &ctx); in vmw_bo_pin_in_placement() 144 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr() 151 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr() 222 (void)ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram() 229 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram() 274 * vmw_bo_get_guest_ptr - Get the guest ptr representing the current placement 89 vmw_bo_pin_in_placement(struct vmw_private * dev_priv,struct vmw_bo * buf,struct ttm_placement * placement,bool interruptible) vmw_bo_pin_in_placement() argument 301 struct ttm_placement placement; vmw_bo_pin_reserved() local [all...] |
| H A D | vmwgfx_ttm_buffer.c | 48 .placement = &vram_placement_flags, 53 .placement = &sys_placement_flags, 433 struct ttm_placement *placement) in vmw_evict_flags() argument 435 *placement = vmw_sys_placement; in vmw_evict_flags()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_kunit_helpers.c | 35 .placement = &sys_place, 40 .placement = &mock1_place, 45 .placement = &mock2_place, 96 struct ttm_placement *placement) in mock_evict_flags() argument 101 *placement = sys_placement; in mock_evict_flags() 104 *placement = mock_placement; in mock_evict_flags() 113 struct ttm_placement *placement) in bad_evict_flags() argument 115 *placement = bad_placement; in bad_evict_flags()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_object.c | 105 * amdgpu_bo_placement_from_domain - set buffer's placement 106 * @abo: &amdgpu_bo buffer object whose placement is to be set 109 * Sets buffer's placement according to requested domain and the buffer's 115 struct ttm_placement *placement = &abo->placement; in amdgpu_bo_placement_from_domain() local 225 placement->num_placement = c; 226 placement->placement = places; 480 for (i = 0; i < (*bo_ptr)->placement.num_placement; ++i) { in amdgpu_bo_create_kernel_at() 484 r = ttm_bo_mem_space(&(*bo_ptr)->tbo, &(*bo_ptr)->placement, in amdgpu_bo_create_kernel_at() 1630 const char *placement; amdgpu_bo_print_info() local [all...] |
| H A D | amdgpu_ttm.c | 88 * amdgpu_evict_flags - Compute placement flags 91 * @placement: Possible destination(s) for evicted BO 93 * Fill in placement data when ttm_bo_evict() is called 96 struct ttm_placement *placement) in amdgpu_evict_flags() 109 placement->num_placement = 0; in amdgpu_evict_flags() 115 placement->placement = &placements; in amdgpu_evict_flags() 116 placement->num_placement = 1; in amdgpu_evict_flags() 122 placement->num_placement = 0; in amdgpu_evict_flags() 133 placement in amdgpu_evict_flags() 95 amdgpu_evict_flags(struct ttm_buffer_object * bo,struct ttm_placement * placement) amdgpu_evict_flags() argument 1003 struct ttm_placement placement; amdgpu_ttm_alloc_gart() local 1968 struct ttm_placement placement; amdgpu_ttm_alloc_mmio_remap_bo() local [all...] |
| H A D | amdgpu_dma_buf.c | 239 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_dma_buf_map() 354 ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_dma_buf_begin_cpu_access() 520 struct ttm_placement placement = {}; in amdgpu_dma_buf_move_notify() 531 r = ttm_bo_validate(&bo->tbo, &placement, &ctx); in amdgpu_dma_buf_move_notify() 511 struct ttm_placement placement = {}; amdgpu_dma_buf_move_notify() local
|
| H A D | amdgpu_uvd.c | 162 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_uvd_create_msg_bo_helper() 564 bo->placement.num_placement = 1; in amdgpu_uvd_force_into_vcpu_segment() 565 bo->placement.placement = &bo->placements[0]; in amdgpu_uvd_force_into_vcpu_segment() 577 for (i = 0; i < abo->placement.num_placement; ++i) { in amdgpu_uvd_force_into_uvd_segment() 628 r = ttm_bo_validate(&bo->tbo, &bo->placement, &tctx); in amdgpu_uvd_cs_pass1()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_ttm.c | 52 struct ttm_placement *placement) in qxl_evict_flags() argument 63 placement->placement = &placements; in qxl_evict_flags() 64 placement->num_placement = 1; in qxl_evict_flags() 69 *placement = qbo->placement; in qxl_evict_flags()
|
| H A D | qxl_object.c | 65 qbo->placement.placement = qbo->placements; in qxl_ttm_placement_from_domain() 84 qbo->placement.num_placement = c; in qxl_ttm_placement_from_domain() 140 &bo->placement, 0, &ctx, NULL, NULL, in qxl_bo_create() 307 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in qxl_bo_pin_locked()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm.c | 69 .placement = &sys_placement_flags, 161 struct ttm_placement *placement) in i915_ttm_placement_from_obj() argument 179 placement->num_placement = num_allowed + 1; in i915_ttm_placement_from_obj() 180 placement->placement = places; in i915_ttm_placement_from_obj() 381 struct ttm_placement *placement) in i915_ttm_evict_flags() argument 383 *placement = i915_sys_placement; in i915_ttm_evict_flags() 781 struct ttm_placement *placement) in __i915_ttm_get_pages() argument 794 memcpy(&initial_place, placement->placement, sizeof(struct ttm_place)); in __i915_ttm_get_pages() 796 initial_placement.placement = &initial_place; in __i915_ttm_get_pages() 812 ret = ttm_bo_validate(bo, placement, &ctx); in __i915_ttm_get_pages() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_object.c | 80 rbo->placement.placement = rbo->placements; in radeon_ttm_placement_from_domain() 115 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain() 205 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create() 305 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted() 316 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_pin_restricted() 515 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_list_validate() 745 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_bo_fault_reserve_notify() 751 r = ttm_bo_validate(bo, &rbo->placement, &ctx); in radeon_bo_fault_reserve_notify() 754 r = ttm_bo_validate(bo, &rbo->placement, in radeon_bo_fault_reserve_notify() [all...] |
| H A D | radeon_ttm.c | 83 struct ttm_placement *placement) in radeon_evict_flags() argument 95 placement->placement = &placements; in radeon_evict_flags() 96 placement->num_placement = 1; in radeon_evict_flags() 116 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags() 130 *placement = rbo->placement; in radeon_evict_flags()
|
| H A D | radeon_mn.c | 75 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_mn_invalidate()
|
| /linux/drivers/mtd/nand/ |
| H A D | ecc.c | 376 enum nand_ecc_placement placement; in of_get_nand_ecc_placement() local 382 for (placement = NAND_ECC_PLACEMENT_OOB; in of_get_nand_ecc_placement() 383 placement < ARRAY_SIZE(nand_ecc_placement); placement++) { in of_get_nand_ecc_placement() 384 if (!strcasecmp(pm, nand_ecc_placement[placement])) in of_get_nand_ecc_placement() 385 return placement; in of_get_nand_ecc_placement() 442 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_bo.c | 62 .placement = &sys_placement_flags, 84 .placement = tt_placement_flags, 131 return bo->placement.num_placement == 1; 235 return xe->tiles[tile_id].mem.kernel_vram->placement; in add_vram() 237 return xe->tiles[tile_id].mem.vram->placement; in add_vram() 310 bo->placement = (struct ttm_placement) { in xe_bo_placement_for_flags() 312 .placement = bo->placements, in xe_bo_placement_for_flags() 326 struct ttm_placement *placement) in xe_evict_flags() 335 placement->num_placement = 0; in xe_evict_flags() 339 *placement in xe_evict_flags() 316 xe_evict_flags(struct ttm_buffer_object * tbo,struct ttm_placement * placement) xe_evict_flags() argument 2435 struct ttm_placement *placement; xe_bo_init_locked() local 3942 struct ttm_placement placement; xe_bo_migrate() local 3995 struct ttm_placement placement; xe_bo_evict() local [all...] |
| H A D | xe_vram.c | 208 struct xe_vram_region *xe_vram_region_alloc(struct xe_device *xe, u8 id, u32 placement) in xe_vram_region_alloc() argument 221 vram->placement = placement; in xe_vram_region_alloc()
|
| H A D | xe_bo_types.h | 57 /** @placement: current placement for this BO */ 58 struct ttm_placement placement; 50 struct ttm_placement placement; global() member
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_ttm.c | 57 lbo->placement.placement = lbo->placements; in lsdc_bo_set_placement() 79 lbo->placement.num_placement = c; in lsdc_bo_set_placement() 156 *tplacement = lbo->placement; in lsdc_bo_evict_flags() 303 ret = ttm_bo_validate(tbo, &lbo->placement, &ctx); in lsdc_bo_pin() 482 ret = ttm_bo_init_validate(bdev, tbo, bo_type, &lbo->placement, 0, in lsdc_bo_create()
|
| H A D | lsdc_ttm.h | 43 struct ttm_placement placement; member
|
| /linux/Documentation/driver-api/ |
| H A D | mtdnand.rst | 502 - Automatic placement at the end of the chip 593 For automatic placement some blocks must be reserved for bad block 600 Spare area (auto)placement 603 The nand driver implements different possibilities for placement of 608 - Automatic placement 610 The default placement function is automatic placement. The nand driver 611 has built in default placement schemes for the various chiptypes. If due 612 to hardware ECC functionality the default placement does not fit then 613 the board driver can provide a own placement scheme. 615 File system drivers can provide a own placement scheme which is used [all …]
|
| /linux/Documentation/translations/zh_CN/process/ |
| H A D | license-rules.rst | 186 tag/value pairs into a comment according to the placement 201 tag/value pair into a comment according to the placement 241 tag/value pair into a comment according to the placement
|
| /linux/Documentation/translations/zh_TW/process/ |
| H A D | license-rules.rst | 192 tag/value pairs into a comment according to the placement 207 tag/value pair into a comment according to the placement 247 tag/value pair into a comment according to the placement
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bo.c | 360 &nvbo->placement, align >> PAGE_SHIFT, &ctx, in nouveau_bo_init() 504 for (i = 0; i < nvbo->placement.num_placement; ++i) { in set_placement_range() 515 unsigned int *n = &nvbo->placement.num_placement; in nouveau_bo_placement_set() 540 nvbo->placement.placement = nvbo->placements; in nouveau_bo_placement_set() 791 ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, &ctx); in nouveau_bo_validate() 901 *pl = nvbo->placement; in nouveau_bo_evict_flags() 1401 for (i = 0; i < nvbo->placement.num_placement; ++i) { in nouveau_ttm_fault_reserve_notify()
|
| /linux/Documentation/arch/x86/ |
| H A D | intel-hfi.rst | 16 the HFI to influence task placement decisions. 38 task placement decisions. For instance, if either the performance or energy
|