/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_bo.c | 192 struct ttm_placement placement; in vmw_bo_pin_in_start_of_vram() local 198 placement.num_placement = 1; in vmw_bo_pin_in_start_of_vram() 199 placement.placement = &place; in vmw_bo_pin_in_start_of_vram() 200 placement.num_busy_placement = 1; in vmw_bo_pin_in_start_of_vram() 201 placement.busy_placement = &place; in vmw_bo_pin_in_start_of_vram() 300 struct ttm_placement placement; in vmw_bo_pin_reserved() local 313 pl.flags = bo->resource->placement; in vmw_bo_pin_reserved() 315 memset(&placement, 0, sizeof(placement)); in vmw_bo_pin_reserved() 316 placement.num_placement = 1; in vmw_bo_pin_reserved() 317 placement.placement = &pl; in vmw_bo_pin_reserved() [all …]
|
A D | vmwgfx_gem.c | 191 const char *placement; in vmw_bo_print_info() local 196 placement = " CPU"; in vmw_bo_print_info() 199 placement = " GMR"; in vmw_bo_print_info() 202 placement = " MOB"; in vmw_bo_print_info() 205 placement = "VCPU"; in vmw_bo_print_info() 208 placement = "VRAM"; in vmw_bo_print_info() 211 placement = "None"; in vmw_bo_print_info() 231 id, bo->base.base.size, placement, type); in vmw_bo_print_info()
|
A D | vmwgfx_ttm_buffer.c | 61 .placement = &vram_placement_flags, 103 .placement = vram_gmr_placement_flags, 110 .placement = &vram_placement_flags, 117 .placement = &sys_placement_flags, 124 .placement = &vmw_sys_placement_flags, 151 .placement = &gmr_placement_flags, 158 .placement = &mob_placement_flags, 164 .placement = nonfixed_placement_flags, 530 struct ttm_placement *placement) in vmw_evict_flags() argument 532 *placement = vmw_sys_placement; in vmw_evict_flags()
|
/linux-6.3-rc2/drivers/gpu/drm/ttm/ |
A D | ttm_bo.c | 50 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument 57 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 59 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 429 struct ttm_placement placement; in ttm_bo_evict() local 437 placement.num_placement = 0; in ttm_bo_evict() 438 placement.num_busy_placement = 0; in ttm_bo_evict() 441 if (!placement.num_placement && !placement.num_busy_placement) { in ttm_bo_evict() 765 struct ttm_placement *placement, in ttm_bo_mem_space() argument 778 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space() 884 struct ttm_placement *placement, in ttm_bo_validate() argument [all …]
|
A D | ttm_resource.c | 183 res->placement = place->flags; in ttm_resource_init() 324 if (res->placement & TTM_PL_FLAG_TEMPORARY) in ttm_resource_places_compat() 335 (res->placement & TTM_PL_FLAG_CONTIGUOUS))) in ttm_resource_places_compat() 350 struct ttm_placement *placement) in ttm_resource_compat() argument 352 if (ttm_resource_places_compat(res, placement->placement, in ttm_resource_compat() 353 placement->num_placement)) in ttm_resource_compat() 356 if ((placement->busy_placement != placement->placement || in ttm_resource_compat() 357 placement->num_busy_placement > placement->num_placement) && in ttm_resource_compat() 358 ttm_resource_places_compat(res, placement->busy_placement, in ttm_resource_compat() 359 placement->num_busy_placement)) in ttm_resource_compat()
|
/linux-6.3-rc2/drivers/gpu/drm/qxl/ |
A D | qxl_ttm.c | 51 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()
|
A D | qxl_object.c | 68 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() 306 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in __qxl_bo_pin()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.c | 67 .placement = &sys_placement_flags, 168 placement->num_placement = 1; in i915_ttm_placement_from_obj() 181 placement->num_busy_placement = 1; in i915_ttm_placement_from_obj() 184 placement->placement = requested; in i915_ttm_placement_from_obj() 185 placement->busy_placement = busy; in i915_ttm_placement_from_obj() 387 *placement = i915_sys_placement; in i915_ttm_evict_flags() 837 struct ttm_placement placement; in i915_ttm_get_pages() local 870 struct ttm_placement placement; in __i915_ttm_migrate() local 875 placement.num_placement = 1; in __i915_ttm_migrate() 876 placement.num_busy_placement = 1; in __i915_ttm_migrate() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_object.c | 127 struct ttm_placement *placement = &abo->placement; in amdgpu_bo_placement_from_domain() local 202 placement->num_placement = c; in amdgpu_bo_placement_from_domain() 203 placement->placement = places; in amdgpu_bo_placement_from_domain() 205 placement->num_busy_placement = c; in amdgpu_bo_placement_from_domain() 206 placement->busy_placement = places; in amdgpu_bo_placement_from_domain() 1372 abo->placement.num_busy_placement = 1; in amdgpu_bo_fault_reserve_notify() 1547 const char *placement; in amdgpu_bo_print_info() local 1554 placement = "VRAM"; in amdgpu_bo_print_info() 1557 placement = " GTT"; in amdgpu_bo_print_info() 1561 placement = " CPU"; in amdgpu_bo_print_info() [all …]
|
A D | amdgpu_ttm.c | 93 struct ttm_placement *placement) in amdgpu_evict_flags() argument 106 placement->num_placement = 0; in amdgpu_evict_flags() 107 placement->num_busy_placement = 0; in amdgpu_evict_flags() 113 placement->placement = &placements; in amdgpu_evict_flags() 115 placement->num_placement = 1; in amdgpu_evict_flags() 122 placement->num_placement = 0; in amdgpu_evict_flags() 131 placement->num_placement = 0; in amdgpu_evict_flags() 167 *placement = abo->placement; in amdgpu_evict_flags() 919 struct ttm_placement placement; in amdgpu_ttm_alloc_gart() local 935 placement.num_placement = 1; in amdgpu_ttm_alloc_gart() [all …]
|
A D | amdgpu_dma_buf.c | 160 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_dma_buf_map() 257 ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in amdgpu_dma_buf_begin_cpu_access() 371 struct ttm_placement placement = {}; in amdgpu_dma_buf_move_notify() local 378 r = ttm_bo_validate(&bo->tbo, &placement, &ctx); in amdgpu_dma_buf_move_notify()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_object.c | 80 rbo->placement.placement = rbo->placements; in radeon_ttm_placement_from_domain() 81 rbo->placement.busy_placement = rbo->placements; in radeon_ttm_placement_from_domain() 116 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain() 117 rbo->placement.num_busy_placement = c; in radeon_ttm_placement_from_domain() 206 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create() 309 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted() 320 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_pin_restricted() 516 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_list_validate() 752 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_bo_fault_reserve_notify() 758 r = ttm_bo_validate(bo, &rbo->placement, &ctx); in radeon_bo_fault_reserve_notify() [all …]
|
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->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()
|
A D | radeon_gem.c | 427 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_gem_userptr_ioctl() 865 const char *placement; in radeon_debugfs_gem_info_show() local 870 placement = "VRAM"; in radeon_debugfs_gem_info_show() 873 placement = " GTT"; in radeon_debugfs_gem_info_show() 877 placement = " CPU"; in radeon_debugfs_gem_info_show() 882 placement, (unsigned long)rbo->pid); in radeon_debugfs_gem_info_show()
|
A D | radeon_mn.c | 75 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_mn_invalidate()
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_gem_vram_helper.c | 149 gbo->placement.placement = gbo->placements; in drm_gem_vram_placement() 150 gbo->placement.busy_placement = gbo->placements; in drm_gem_vram_placement() 162 gbo->placement.num_placement = c; in drm_gem_vram_placement() 163 gbo->placement.num_busy_placement = c; in drm_gem_vram_placement() 231 &gbo->placement, pg_align, false, NULL, NULL, in drm_gem_vram_create() 294 ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx); in drm_gem_vram_pin_locked() 549 *pl = gbo->placement; in drm_gem_vram_bo_driver_evict_flags() 885 struct ttm_placement *placement) in bo_driver_evict_flags() argument 895 drm_gem_vram_bo_driver_evict_flags(gbo, placement); in bo_driver_evict_flags()
|
/linux-6.3-rc2/drivers/mtd/nand/ |
A D | ecc.c | 369 enum nand_ecc_placement placement; in of_get_nand_ecc_placement() local 375 for (placement = NAND_ECC_PLACEMENT_OOB; in of_get_nand_ecc_placement() 376 placement < ARRAY_SIZE(nand_ecc_placement); placement++) { in of_get_nand_ecc_placement() 377 if (!strcasecmp(pm, nand_ecc_placement[placement])) in of_get_nand_ecc_placement() 378 return placement; in of_get_nand_ecc_placement() 435 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()
|
/linux-6.3-rc2/include/drm/ttm/ |
A D | ttm_bo.h | 353 struct ttm_placement *placement, 363 enum ttm_bo_type type, struct ttm_placement *placement, 368 enum ttm_bo_type type, struct ttm_placement *placement, 400 struct ttm_placement *placement,
|
A D | ttm_placement.h | 96 const struct ttm_place *placement; member
|
A D | ttm_resource.h | 213 uint32_t placement; member 373 struct ttm_placement *placement);
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | mtdnand.rst | 502 - Automatic placement at the end of the chip 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 613 the board driver can provide a own placement scheme. 615 File system drivers can provide a own placement scheme which is used 616 instead of the default placement scheme. 636 MTD_NANDECC_PLACE selects caller defined placement, 637 MTD_NANDECC_AUTOPLACE selects automatic placement. [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/cgroup-v1/ |
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, 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 618 or Memory Node placement, or of changing to which cpuset a task 647 and the processor placement is updated immediately. [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_bo.c | 314 &nvbo->placement, align >> PAGE_SHIFT, false, in nouveau_bo_init() 394 for (i = 0; i < nvbo->placement.num_placement; ++i) { in set_placement_range() 398 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { in set_placement_range() 409 struct ttm_placement *pl = &nvbo->placement; in nouveau_bo_placement_set() 411 pl->placement = nvbo->placements; in nouveau_bo_placement_set() 650 ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, &ctx); in nouveau_bo_validate() 760 *pl = nvbo->placement; in nouveau_bo_evict_flags() 1250 for (i = 0; i < nvbo->placement.num_placement; ++i) { in nouveau_ttm_fault_reserve_notify() 1255 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { in nouveau_ttm_fault_reserve_notify()
|
/linux-6.3-rc2/Documentation/translations/zh_CN/process/ |
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-6.3-rc2/Documentation/translations/zh_TW/process/ |
A D | license-rules.rst | 189 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
|