| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 55 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument 61 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 62 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 63 drm_printf(&p, " placement[%d]=0x%08X (%d)\n", in ttm_bo_mem_space_debug() 64 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 344 hop_placement.placement = hop; in ttm_bo_bounce_temp_buffer() 363 struct ttm_placement placement; in ttm_bo_evict() local 371 placement.num_placement = 0; in ttm_bo_evict() 372 bo->bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict() 374 if (!placement.num_placement) { in ttm_bo_evict() [all …]
|
| /linux/include/drm/ttm/ |
| H A D | ttm_placement.h | 37 * Memory regions for data placement. 42 * placement they need to be able to handle the issues that arise due to the 48 * placement that can handle such scenarios is a good idea. 67 /* Placement is never used during eviction */ 70 /* Placement is only used during eviction */ 94 * @placement: preferred placements 96 * Structure indicating the placement you request for an object. 100 const struct ttm_place *placement; member
|
| H A D | ttm_resource.h | 106 * @place: Placement details. 110 * by @man. Placement details if applicable are given by @place. If 144 * @place: Placement to check against. 160 * @place: Placement to check against. 240 * Structure indicating the bus placement of an object. 255 * @placement: Placement flags. 256 * @bus: Placement on io bus accessible to the CPU 260 * Structure indicating the placement and space resources used by a 267 uint32_t placement; member 398 * used for object placement. [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_bo.c | 78 * vmw_bo_pin_in_placement - Validate a buffer to placement. 82 * @placement: The placement to pin it. 89 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() 271 * vmw_bo_get_guest_ptr - Get the guest ptr representing the current placement 301 struct ttm_placement placement; in vmw_bo_pin_reserved() local [all …]
|
| /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/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 606 - Placement defined by fs driver 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. [all …]
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | cpusets.rst | 47 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, 105 leverages existing CPU and Memory Placement facilities in the Linux 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 [all …]
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm.c | 69 .placement = &sys_placement_flags, 79 * Return: A pointer to a static variable for sys placement. 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() 777 struct ttm_placement *placement) in __i915_ttm_get_pages() argument 788 /* First try only the requested placement. No eviction. */ in __i915_ttm_get_pages() 790 memcpy(&initial_place, placement->placement, sizeof(struct ttm_place)); in __i915_ttm_get_pages() [all …]
|
| H A D | i915_gem_create.c | 150 * @placements: possible placement regions, in priority order 151 * @n_placements: number of possible placement regions 154 * error checking. It is assumed that the set of placement regions has 321 drm_dbg(&i915->drm, "Found duplicate placement %s -> { class: %d, inst: %d } at index = %d\n", in set_placements()
|
| /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/xe/ |
| H A D | xe_bo.c | 61 .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 D | xe_ttm_vram_mgr.c | 152 if (!(vres->base.placement & TTM_PL_FLAG_CONTIGUOUS) && in xe_ttm_vram_mgr_new() 154 vres->base.placement |= TTM_PL_FLAG_CONTIGUOUS; in xe_ttm_vram_mgr_new() 160 if (vres->base.placement & TTM_PL_FLAG_CONTIGUOUS) { in xe_ttm_vram_mgr_new() 351 return __xe_ttm_vram_mgr_init(xe, &vram->ttm, vram->placement, in xe_ttm_vram_mgr_init()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 83 * amdgpu_evict_flags - Compute placement flags 86 * @placement: Possible destination(s) for evicted BO 88 * Fill in placement data when ttm_bo_evict() is called 91 struct ttm_placement *placement) in amdgpu_evict_flags() argument 104 placement->num_placement = 0; in amdgpu_evict_flags() 110 placement->placement = &placements; in amdgpu_evict_flags() 111 placement->num_placement = 1; in amdgpu_evict_flags() 117 placement->num_placement = 0; in amdgpu_evict_flags() 127 placement->num_placement = 0; in amdgpu_evict_flags() 140 * first, but only set GTT as busy placement, so this in amdgpu_evict_flags() [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, &ctx); in radeon_bo_fault_reserve_notify()
|
| 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() 110 * first, but only set GTT as busy placement, so this 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() 157 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit() 168 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
|
| /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() 476 ret = ttm_bo_init_validate(bdev, tbo, bo_type, &lbo->placement, 0, in lsdc_bo_create()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem_vram_helper.c | 145 gbo->placement.placement = gbo->placements; in drm_gem_vram_placement() 157 gbo->placement.num_placement = c; in drm_gem_vram_placement() 225 &gbo->placement, pg_align, false, NULL, NULL, in drm_gem_vram_create() 289 ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx); in drm_gem_vram_pin_locked() 488 *pl = gbo->placement; in drm_gem_vram_bo_driver_evict_flags() 740 struct ttm_placement *placement) in bo_driver_evict_flags() argument 750 drm_gem_vram_bo_driver_evict_flags(gbo, placement); in bo_driver_evict_flags()
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | allocators.rst | 26 the filesystem defers deciding the exact placement on the disk until all 28 particular placement until it's absolutely necessary (the commit timeout
|
| /linux/include/uapi/mtd/ |
| H A D | mtd-abi.h | 163 /* Obsolete ECC byte placement modes (used with obsolete MEMGETOOBSEL) */ 165 #define MTD_NANDECC_PLACE 1 /* Use the given placement in the structure (YAFFS1 legacy mode) */ 166 #define MTD_NANDECC_AUTOPLACE 2 /* Use the default placement scheme */ 167 #define MTD_NANDECC_PLACEONLY 3 /* Use the given placement in the structure (Do not store ecc resul…
|
| /linux/Documentation/scsi/ |
| H A D | cxgb3i.rst | 11 series of products) support iSCSI acceleration and iSCSI Direct Data Placement 23 - Direct Data Placement (DDP)
|
| /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/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
|
| /linux/Documentation/translations/zh_TW/process/ |
| H A D | license-rules.rst | 187 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/include/linux/ceph/ |
| H A D | osdmap.h | 12 * specifies the mapping of objects to placement groups and placement 194 /* the CRUSH map specifies the mapping of placement groups to
|