Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/gpu/drm/ttm/
Dttm_bo.c54 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument
63 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug()
64 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug()
66 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug()
501 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer()
521 struct ttm_placement placement; in ttm_bo_evict() local
529 placement.num_placement = 0; in ttm_bo_evict()
530 placement.num_busy_placement = 0; in ttm_bo_evict()
531 bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict()
533 if (!placement.num_placement && !placement.num_busy_placement) { in ttm_bo_evict()
[all …]
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c91 struct ttm_placement *placement, in vmw_bo_pin_in_placement() argument
106 ret = ttm_bo_mem_compat(placement, bo->resource, in vmw_bo_pin_in_placement()
109 ret = ttm_bo_validate(bo, placement, &ctx); in vmw_bo_pin_in_placement()
208 struct ttm_placement placement; in vmw_bo_pin_in_start_of_vram() local
213 place = vmw_vram_placement.placement[0]; in vmw_bo_pin_in_start_of_vram()
215 placement.num_placement = 1; in vmw_bo_pin_in_start_of_vram()
216 placement.placement = &place; in vmw_bo_pin_in_start_of_vram()
217 placement.num_busy_placement = 1; in vmw_bo_pin_in_start_of_vram()
218 placement.busy_placement = &place; in vmw_bo_pin_in_start_of_vram()
239 ret = ttm_bo_mem_compat(&placement, bo->resource, in vmw_bo_pin_in_start_of_vram()
[all …]
Dvmwgfx_ttm_buffer.c62 .placement = &vram_placement_flags,
97 .placement = vram_gmr_placement_flags,
104 .placement = &vram_placement_flags,
111 .placement = &sys_placement_flags,
161 .placement = evictable_placement_flags,
169 .placement = &gmr_placement_flags,
176 .placement = &mob_placement_flags,
182 .placement = nonfixed_placement_flags,
620 struct ttm_placement *placement) in vmw_evict_flags() argument
622 *placement = vmw_sys_placement; in vmw_evict_flags()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c62 .placement = &sys_placement_flags,
146 struct ttm_placement *placement) in i915_ttm_placement_from_obj() argument
152 placement->num_placement = 1; in i915_ttm_placement_from_obj()
157 placement->num_busy_placement = num_allowed; in i915_ttm_placement_from_obj()
158 for (i = 0; i < placement->num_busy_placement; ++i) in i915_ttm_placement_from_obj()
163 placement->num_busy_placement = 1; in i915_ttm_placement_from_obj()
166 placement->placement = requested; in i915_ttm_placement_from_obj()
167 placement->busy_placement = busy; in i915_ttm_placement_from_obj()
232 struct ttm_placement *placement) in i915_ttm_evict_flags() argument
234 *placement = i915_sys_placement; in i915_ttm_evict_flags()
[all …]
/Linux-v5.15/drivers/gpu/drm/qxl/
Dqxl_ttm.c51 struct ttm_placement *placement) in qxl_evict_flags() argument
62 placement->placement = &placements; in qxl_evict_flags()
63 placement->busy_placement = &placements; in qxl_evict_flags()
64 placement->num_placement = 1; in qxl_evict_flags()
65 placement->num_busy_placement = 1; in qxl_evict_flags()
70 *placement = qbo->placement; in qxl_evict_flags()
Dqxl_object.c68 qbo->placement.placement = qbo->placements; in qxl_ttm_placement_from_domain()
69 qbo->placement.busy_placement = qbo->placements; in qxl_ttm_placement_from_domain()
88 qbo->placement.num_placement = c; in qxl_ttm_placement_from_domain()
89 qbo->placement.num_busy_placement = c; in qxl_ttm_placement_from_domain()
145 &bo->placement, 0, &ctx, NULL, NULL, in qxl_bo_create()
305 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in __qxl_bo_pin()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c126 struct ttm_placement *placement = &abo->placement; in amdgpu_bo_placement_from_domain() local
201 placement->num_placement = c; in amdgpu_bo_placement_from_domain()
202 placement->placement = places; in amdgpu_bo_placement_from_domain()
204 placement->num_busy_placement = c; in amdgpu_bo_placement_from_domain()
205 placement->busy_placement = places; in amdgpu_bo_placement_from_domain()
385 for (i = 0; i < (*bo_ptr)->placement.num_placement; ++i) { in amdgpu_bo_create_kernel_at()
389 r = ttm_bo_mem_space(&(*bo_ptr)->tbo, &(*bo_ptr)->placement, in amdgpu_bo_create_kernel_at()
590 &bo->placement, page_align, &ctx, NULL, in amdgpu_bo_create()
722 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_bo_validate()
925 uint32_t mem_flags = bo->tbo.resource->placement; in amdgpu_bo_pin_restricted()
[all …]
Damdgpu_ttm.c87 struct ttm_placement *placement) in amdgpu_evict_flags() argument
100 placement->num_placement = 0; in amdgpu_evict_flags()
101 placement->num_busy_placement = 0; in amdgpu_evict_flags()
107 placement->placement = &placements; in amdgpu_evict_flags()
108 placement->busy_placement = &placements; in amdgpu_evict_flags()
109 placement->num_placement = 1; in amdgpu_evict_flags()
110 placement->num_busy_placement = 1; in amdgpu_evict_flags()
124 placement->num_placement = 0; in amdgpu_evict_flags()
125 placement->num_busy_placement = 0; in amdgpu_evict_flags()
134 placement->num_placement = 0; in amdgpu_evict_flags()
[all …]
Damdgpu_dma_buf.c174 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_dma_buf_map()
271 ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_dma_buf_begin_cpu_access()
383 struct ttm_placement placement = {}; in amdgpu_dma_buf_move_notify() local
390 r = ttm_bo_validate(&bo->tbo, &placement, &ctx); in amdgpu_dma_buf_move_notify()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_gem_vram_helper.c147 gbo->placement.placement = gbo->placements; in drm_gem_vram_placement()
148 gbo->placement.busy_placement = gbo->placements; in drm_gem_vram_placement()
160 gbo->placement.num_placement = c; in drm_gem_vram_placement()
161 gbo->placement.num_busy_placement = c; in drm_gem_vram_placement()
229 &gbo->placement, pg_align, false, NULL, NULL, in drm_gem_vram_create()
292 ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx); in drm_gem_vram_pin_locked()
558 *pl = gbo->placement; in drm_gem_vram_bo_driver_evict_flags()
880 struct ttm_placement *placement) in bo_driver_evict_flags() argument
890 drm_gem_vram_bo_driver_evict_flags(gbo, placement); in bo_driver_evict_flags()
Ddrm_gem_ttm_helper.c43 drm_print_bits(p, bo->resource->placement, plname, ARRAY_SIZE(plname)); in drm_gem_ttm_print_info()
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_object.c101 rbo->placement.placement = rbo->placements; in radeon_ttm_placement_from_domain()
102 rbo->placement.busy_placement = rbo->placements; in radeon_ttm_placement_from_domain()
137 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain()
138 rbo->placement.num_busy_placement = c; in radeon_ttm_placement_from_domain()
227 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create()
325 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted()
336 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_pin_restricted()
530 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_list_validate()
773 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_bo_fault_reserve_notify()
779 r = ttm_bo_validate(bo, &rbo->placement, &ctx); in radeon_bo_fault_reserve_notify()
[all …]
Dradeon_ttm.c83 struct ttm_placement *placement) in radeon_evict_flags() argument
95 placement->placement = &placements; in radeon_evict_flags()
96 placement->busy_placement = &placements; in radeon_evict_flags()
97 placement->num_placement = 1; in radeon_evict_flags()
98 placement->num_busy_placement = 1; in radeon_evict_flags()
118 rbo->placement.num_busy_placement = 0; in radeon_evict_flags()
119 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags()
124 rbo->placement.busy_placement = in radeon_evict_flags()
126 rbo->placement.num_busy_placement = 1; in radeon_evict_flags()
136 *placement = rbo->placement; in radeon_evict_flags()
Dradeon_gem.c424 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_gem_userptr_ioctl()
861 const char *placement; in radeon_debugfs_gem_info_show() local
866 placement = "VRAM"; in radeon_debugfs_gem_info_show()
869 placement = " GTT"; in radeon_debugfs_gem_info_show()
873 placement = " CPU"; in radeon_debugfs_gem_info_show()
878 placement, (unsigned long)rbo->pid); in radeon_debugfs_gem_info_show()
Dradeon_mn.c75 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_mn_invalidate()
/Linux-v5.15/include/drm/ttm/
Dttm_bo_api.h276 bool ttm_bo_mem_compat(struct ttm_placement *placement, struct ttm_resource *mem,
295 struct ttm_placement *placement,
396 struct ttm_placement *placement,
440 struct ttm_placement *placement,
Dttm_placement.h84 const struct ttm_place *placement; member
/Linux-v5.15/drivers/mtd/nand/
Decc.c363 enum nand_ecc_placement placement; in of_get_nand_ecc_placement() local
369 for (placement = NAND_ECC_PLACEMENT_OOB; in of_get_nand_ecc_placement()
370 placement < ARRAY_SIZE(nand_ecc_placement); placement++) { in of_get_nand_ecc_placement()
371 if (!strcasecmp(pm, nand_ecc_placement[placement])) in of_get_nand_ecc_placement()
372 return placement; in of_get_nand_ecc_placement()
429 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()
/Linux-v5.15/Documentation/driver-api/
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-v5.15/Documentation/admin-guide/cgroup-v1/
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
616 does not support one task updating the memory placement of another
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_bo.c311 &nvbo->placement, align >> PAGE_SHIFT, false, sg, in nouveau_bo_init()
391 for (i = 0; i < nvbo->placement.num_placement; ++i) { in set_placement_range()
395 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { in set_placement_range()
406 struct ttm_placement *pl = &nvbo->placement; in nouveau_bo_placement_set()
408 pl->placement = nvbo->placements; in nouveau_bo_placement_set()
647 ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, &ctx); in nouveau_bo_validate()
757 *pl = nvbo->placement; in nouveau_bo_evict_flags()
1223 for (i = 0; i < nvbo->placement.num_placement; ++i) { in nouveau_ttm_fault_reserve_notify()
1228 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { in nouveau_ttm_fault_reserve_notify()
/Linux-v5.15/Documentation/translations/zh_CN/process/
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-v5.15/Documentation/translations/zh_TW/process/
Dlicense-rules.rst189 tag/value pairs into a comment according to the placement
204 tag/value pair into a comment according to the placement
244 tag/value pair into a comment according to the placement
/Linux-v5.15/arch/arm/boot/dts/
Dbcm2711-rpi.dtsi60 * its placement information.
/Linux-v5.15/include/drm/
Ddrm_gem_vram_helper.h65 struct ttm_placement placement; member

12345