/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 50 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument 56 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 57 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 58 drm_printf(&p, " placement[%d]=0x%08X (%d)\n", in ttm_bo_mem_space_debug() 59 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 408 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer() 428 struct ttm_placement placement; in ttm_bo_evict() local 436 placement.num_placement = 0; in ttm_bo_evict() 437 placement.num_busy_placement = 0; in ttm_bo_evict() 438 bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict() [all …]
|
H A D | ttm_resource.c | 172 * @place: placement of the resource 186 res->placement = place->flags; in ttm_resource_init() 265 * @place: The placement to test 271 * Returns true if the res placement intersects with @place and @size. 295 * @place: The placement to test 300 * Returns true if the res placement compatible with @place and @size. 327 if (res->placement & TTM_PL_FLAG_TEMPORARY) in ttm_resource_places_compat() 338 (res->placement & TTM_PL_FLAG_CONTIGUOUS))) in ttm_resource_places_compat() 345 * ttm_resource_compat - check if resource is compatible with placement 348 * @placement: the placement to check against [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 59 * vmw_bo_pin_in_placement - Validate a buffer to placement. 63 * @placement: The placement to pin it. 70 struct ttm_placement *placement, in vmw_bo_pin_in_placement() argument 83 ret = ttm_bo_validate(bo, placement, &ctx); in vmw_bo_pin_in_placement() 122 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr() 129 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr() 200 (void)ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram() 208 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram() 253 * vmw_bo_get_guest_ptr - Get the guest ptr representing the current placement 283 struct ttm_placement placement; in vmw_bo_pin_reserved() local [all …]
|
H A D | vmwgfx_gem.c | 217 const char *placement; in vmw_bo_print_info() local 222 placement = " CPU"; in vmw_bo_print_info() 225 placement = " GMR"; in vmw_bo_print_info() 228 placement = " MOB"; in vmw_bo_print_info() 231 placement = "VCPU"; in vmw_bo_print_info() 234 placement = "VRAM"; in vmw_bo_print_info() 237 placement = "None"; in vmw_bo_print_info() 257 id, bo->tbo.base.size, placement, type); in vmw_bo_print_info()
|
H A D | vmwgfx_bo.h | 66 * @placement: The preferred placement for this buffer object 67 * @places: The chosen places for the preferred placement. 68 * @busy_places: Chosen busy places for the preferred placement 82 struct ttm_placement placement; member
|
/openbmc/linux/include/drm/ttm/ |
H A D | ttm_resource.h | 58 * @place: Placement details. 62 * by @man. Placement details if applicable are given by @place. If 96 * @place: Placement to check against. 112 * @place: Placement to check against. 187 * Structure indicating the bus placement of an object. 202 * @placement: Placement flags. 203 * @bus: Placement on io bus accessible to the CPU 206 * Structure indicating the placement and space resources used by a 213 uint32_t placement; member 305 * used for object placement. [all …]
|
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. 88 * @placement: preferred placements 92 * Structure indicating the placement you request for an object. 96 const struct ttm_place *placement; member
|
H A D | ttm_bo.h | 83 * @resource: structure describing current placement. 87 * Base class for TTM buffer object, that deals with data placement and CPU 89 * the driver can usually use the placement offset @offset directly as the 93 * placement and caching for these GPU maps. This makes it possible to use 175 * Context for TTM operations like changing buffer placement or general memory 353 struct ttm_placement *placement, 361 enum ttm_bo_type type, struct ttm_placement *placement, 366 enum ttm_bo_type type, struct ttm_placement *placement, 398 struct ttm_placement *placement,
|
H A D | ttm_device.h | 114 * @place: placement we need room for 117 * for a certain placement. 134 struct ttm_placement *placement); 144 * @hop: placement for driver directed intermediate hop
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H 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()
|
H 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()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm.c | 67 .placement = &sys_placement_flags, 79 * Return: A pointer to a static variable for sys placement. 162 struct ttm_placement *placement) in i915_ttm_placement_from_obj() argument 168 placement->num_placement = 1; in i915_ttm_placement_from_obj() 174 placement->num_busy_placement = num_allowed; in i915_ttm_placement_from_obj() 175 for (i = 0; i < placement->num_busy_placement; ++i) 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() 385 struct ttm_placement *placement) in i915_ttm_evict_flags() argument [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 118 * amdgpu_bo_placement_from_domain - set buffer's placement 119 * @abo: &amdgpu_bo buffer object whose placement is to be set 122 * Sets buffer's placement according to requested domain and the buffer's 128 struct ttm_placement *placement = &abo->placement; in amdgpu_bo_placement_from_domain() local 221 placement->num_placement = c; in amdgpu_bo_placement_from_domain() 222 placement->placement = places; in amdgpu_bo_placement_from_domain() 224 placement->num_busy_placement = c; in amdgpu_bo_placement_from_domain() 225 placement->busy_placement = places; in amdgpu_bo_placement_from_domain() 405 for (i = 0; i < (*bo_ptr)->placement.num_placement; ++i) { in amdgpu_bo_create_kernel_at() 409 r = ttm_bo_mem_space(&(*bo_ptr)->tbo, &(*bo_ptr)->placement, in amdgpu_bo_create_kernel_at() [all …]
|
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() 105 placement->num_busy_placement = 0; in amdgpu_evict_flags() 111 placement->placement = &placements; in amdgpu_evict_flags() 112 placement->busy_placement = &placements; in amdgpu_evict_flags() 113 placement->num_placement = 1; in amdgpu_evict_flags() 114 placement->num_busy_placement = 1; in amdgpu_evict_flags() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 82 struct ttm_placement *placement) in radeon_evict_flags() argument 94 placement->placement = &placements; in radeon_evict_flags() 95 placement->busy_placement = &placements; in radeon_evict_flags() 96 placement->num_placement = 1; in radeon_evict_flags() 97 placement->num_busy_placement = 1; in radeon_evict_flags() 111 * first, but only set GTT as busy placement, so this in radeon_evict_flags() 117 rbo->placement.num_busy_placement = 0; in radeon_evict_flags() 118 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags() 123 rbo->placement.busy_placement = in radeon_evict_flags() 125 rbo->placement.num_busy_placement = 1; in radeon_evict_flags() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 56 lbo->placement.placement = lbo->placements; in lsdc_bo_set_placement() 57 lbo->placement.busy_placement = lbo->placements; in lsdc_bo_set_placement() 79 lbo->placement.num_placement = c; in lsdc_bo_set_placement() 80 lbo->placement.num_busy_placement = c; in lsdc_bo_set_placement() 157 *tplacement = lbo->placement; in lsdc_bo_evict_flags() 304 ret = ttm_bo_validate(tbo, &lbo->placement, &ctx); in lsdc_bo_pin() 481 ret = ttm_bo_init_validate(bdev, tbo, bo_type, &lbo->placement, 0, in lsdc_bo_create()
|
/openbmc/linux/include/drm/ |
H A D | drm_gem_vram_helper.h | 36 * @placement: TTM placement information. Supported placements are \ 38 * @placements: TTM placement information. 65 struct ttm_placement placement; member
|
/openbmc/linux/drivers/mtd/nand/ |
H A D | ecc.c | 162 /* Define default OOB placement schemes for large and small page devices */ 369 enum nand_ecc_placement placement; in of_get_nand_ecc_placement() local 373 err = of_property_read_string(np, "nand-ecc-placement", &pm); in of_get_nand_ecc_placement() 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()
|
/openbmc/qemu/docs/system/devices/ |
H A D | nvme.rst | 222 Flexible Data Placement 225 The device may be configured to support TP4146 ("Flexible Data Placement") by 231 Placement will be supported. Also note that the device emulation deviates 233 the controller if the subsystems is configured for Flexible Data Placement. 235 Enabling Flexible Data Placement on the subsyste enables the following 255 placement handle identifier 0.
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Volume_v1.xml | 391 …<Annotation Term="OData.Description" String="A placement policy where consecutive logical blocks o… 394 …String="A placement policy where consecutive logical blocks of data are uniformly distributed acro… 397 …<Annotation Term="OData.Description" String="A placement policy where each logical block of data i… 400 …String="A placement policy where each logical block of data is stored on more than one independent… 405 …String="A placement policy using parity-based protection where logical bytes of data are uniformly… 408 …String="A placement policy using parity-based protection where logical bytes of data are uniformly… 413 …String="A placement policy using parity-based protection where logical blocks of data are uniforml… 416 …String="A placement policy using parity-based protection where logical blocks of data are uniforml… 421 …String="A placement policy using parity-based protection for storing stripes of 'n' logical blocks… 424 …String="A placement policy using parity-based protection for storing stripes of 'n' logical blocks… [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | bootstrap-3.4.1.js | 1450 placement: 'top', property in Tooltip.DEFAULTS 1623 var placement = typeof this.options.placement == 'function' ? 1624 this.options.placement.call(this, $tip[0], this.$element[0]) : 1625 this.options.placement 1628 var autoPlace = autoToken.test(placement) 1629 if (autoPlace) placement = placement.replace(autoToken, '') || 'top' 1634 .addClass(placement) 1645 var orgPlacement = placement 1648 … placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' : 1649 … placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' : [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H 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()
|