Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c56 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()
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.num_placement = 0; in ttm_bo_evict()
371 bo->bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict()
373 if (!placement.num_placement) { in ttm_bo_evict()
385 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c89 struct ttm_placement *placement, in vmw_bo_pin_in_placement() argument
102 ret = ttm_bo_validate(bo, placement, &ctx); in vmw_bo_pin_in_placement()
141 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr()
148 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr()
219 (void)ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram()
226 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram()
301 struct ttm_placement placement; in vmw_bo_pin_reserved() local
314 pl.flags = bo->resource->placement; in vmw_bo_pin_reserved()
316 memset(&placement, 0, sizeof(placement)); in vmw_bo_pin_reserved()
317 placement.num_placement = 1; in vmw_bo_pin_reserved()
[all …]
H A Dvmwgfx_ttm_buffer.c48 .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 Dttm_kunit_helpers.c35 .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/qxl/
H A Dqxl_ttm.c52 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 Dqxl_object.c65 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/radeon/
H A Dradeon_object.c80 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, &ctx); in radeon_bo_fault_reserve_notify()
H A Dradeon_ttm.c83 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 Dradeon_mn.c75 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_mn_invalidate()
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c61 .placement = &sys_placement_flags,
83 .placement = tt_placement_flags,
127 return bo->placement.num_placement == 1; in xe_bo_has_single_placement()
238 return xe->tiles[tile_id].mem.kernel_vram->placement; in bo_vram_flags_to_vram_placement()
240 return xe->tiles[tile_id].mem.vram->placement; in bo_vram_flags_to_vram_placement()
313 bo->placement = (struct ttm_placement) { in __xe_bo_placement_for_flags()
315 .placement = bo->placements, in __xe_bo_placement_for_flags()
329 struct ttm_placement *placement) in xe_evict_flags() argument
338 placement->num_placement = 0; in xe_evict_flags()
342 *placement = device_unplugged ? purge_placement : sys_placement; in xe_evict_flags()
[all …]
H A Dxe_bo_types.h48 struct ttm_placement placement; member
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c57 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()
476 ret = ttm_bo_init_validate(bdev, tbo, bo_type, &lbo->placement, 0, in lsdc_bo_create()
H A Dlsdc_ttm.h43 struct ttm_placement placement; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c94 struct ttm_placement *placement) in amdgpu_evict_flags() argument
107 placement->num_placement = 0; in amdgpu_evict_flags()
113 placement->placement = &placements; in amdgpu_evict_flags()
114 placement->num_placement = 1; in amdgpu_evict_flags()
120 placement->num_placement = 0; in amdgpu_evict_flags()
130 placement->num_placement = 0; in amdgpu_evict_flags()
165 *placement = abo->placement; in amdgpu_evict_flags()
495 !(mem->placement & TTM_PL_FLAG_CONTIGUOUS)) in amdgpu_res_copyable()
637 mem->placement & TTM_PL_FLAG_CONTIGUOUS) in amdgpu_ttm_io_mem_reserve()
975 struct ttm_placement placement; in amdgpu_ttm_alloc_gart() local
[all …]
/linux/Documentation/driver-api/
H A Dmtdnand.rst502 - 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/admin-guide/cgroup-v1/
H A Dcpusets.rst47 Cpusets constrain the CPU and Memory placement of tasks to only
51 job placement on large systems.
78 the efficient scheduling and memory placement of processes.
85 memory placement to reduce memory access times and contention,
177 - cpuset.cpu_exclusive flag: is cpu placement exclusive?
178 - cpuset.mem_exclusive flag: is memory placement exclusive?
206 the detailed placement done on individual tasks and memory regions
378 This memory placement policy is also known (in other contexts) as
395 tasks to itself, within the constraints of such placement mechanisms
621 does not support one task updating the memory placement of another
[all …]
/linux/include/drm/ttm/
H A Dttm_placement.h100 const struct ttm_place *placement; member
H A Dttm_resource.h267 uint32_t placement; member
469 struct ttm_placement *placement,
/linux/Documentation/translations/zh_CN/process/
H A Dlicense-rules.rst186 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 Dlicense-rules.rst187 tag/value pairs into a comment according to the placement
202 tag/value pair into a comment according to the placement
242 tag/value pair into a comment according to the placement
/linux/Documentation/arch/x86/
H A Dintel-hfi.rst16 the HFI to influence task placement decisions.
38 task placement decisions. For instance, if either the performance or energy
/linux/Documentation/filesystems/ext4/
H A Dallocators.rst26 the filesystem defers deciding the exact placement on the disk until all
28 particular placement until it's absolutely necessary (the commit timeout
/linux/LICENSES/deprecated/
H A DISC5 comment according to the placement guidelines in the licensing rules
H A D0BSD5 pair into a comment according to the placement guidelines in the
H A DZlib5 comment according to the placement guidelines in the licensing rules

1234