/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_ttm_buddy_manager.c | 47 lpfn = place->lpfn; in i915_ttm_buddy_man_alloc() 75 if (place->fpfn + PFN_UP(bman_res->base.size) != place->lpfn && in i915_ttm_buddy_man_alloc() 142 if (place->lpfn - place->fpfn == n_pages) in i915_ttm_buddy_man_alloc() 186 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_intersects() 189 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_intersects() 196 if (!place->fpfn && in i915_ttm_buddy_man_intersects() 207 if (place->fpfn < lpfn && place->lpfn > fpfn) in i915_ttm_buddy_man_intersects() 224 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_compatible() 227 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_compatible() 229 if (!place->fpfn && in i915_ttm_buddy_man_compatible() [all …]
|
A D | intel_region_ttm.c | 203 struct ttm_place place = {}; in intel_region_ttm_resource_alloc() local 209 place.flags |= TTM_PL_FLAG_CONTIGUOUS; in intel_region_ttm_resource_alloc() 211 if (WARN_ON(overflows_type(offset >> PAGE_SHIFT, place.fpfn))) { in intel_region_ttm_resource_alloc() 215 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc() 216 if (WARN_ON(overflows_type(place.fpfn + (size >> PAGE_SHIFT), place.lpfn))) { in intel_region_ttm_resource_alloc() 220 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc() 223 place.flags |= TTM_PL_FLAG_TOPDOWN; in intel_region_ttm_resource_alloc() 225 place.fpfn = 0; in intel_region_ttm_resource_alloc() 226 if (WARN_ON(overflows_type(mem->io_size >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc() 230 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc() [all …]
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | module.c | 85 return val - (u64)place; in do_reloc() 114 *(s16 *)place = sval; in reloc_data() 130 *(s32 *)place = sval; in reloc_data() 146 *(s64 *)place = sval; in reloc_data() 165 u32 insn = le32_to_cpu(*place); in reloc_insn_movw() 193 *place = cpu_to_le32(insn); in reloc_insn_movw() 206 u32 insn = le32_to_cpu(*place); in reloc_insn_imm() 218 *place = cpu_to_le32(insn); in reloc_insn_imm() 237 __le32 *place, u64 val) in reloc_insn_adrp() argument 248 insn = le32_to_cpu(*place); in reloc_insn_adrp() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/ttm/ |
A D | ttm_range_manager.c | 60 const struct ttm_place *place, in ttm_range_man_alloc() argument 70 lpfn = place->lpfn; in ttm_range_man_alloc() 79 if (place->flags & TTM_PL_FLAG_TOPDOWN) in ttm_range_man_alloc() 82 ttm_resource_init(bo, place, &node->base); in ttm_range_man_alloc() 88 place->fpfn, lpfn, mode); in ttm_range_man_alloc() 118 const struct ttm_place *place, in ttm_range_man_intersects() argument 125 if (place->fpfn >= (node->start + num_pages) || in ttm_range_man_intersects() 126 (place->lpfn && place->lpfn <= node->start)) in ttm_range_man_intersects() 134 const struct ttm_place *place, in ttm_range_man_compatible() argument 140 if (node->start < place->fpfn || in ttm_range_man_compatible() [all …]
|
A D | ttm_bo.c | 488 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument 516 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument 535 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable() 584 const struct ttm_place *place, in ttm_mem_evict_first() argument 720 const struct ttm_place *place, in ttm_bo_mem_force_space() argument 732 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space() 786 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_space() 1124 struct ttm_place place; in ttm_bo_swapout() local 1134 memset(&place, 0, sizeof(place)); in ttm_bo_swapout() 1135 place.mem_type = bo->resource->mem_type; in ttm_bo_swapout() [all …]
|
A D | ttm_resource.c | 175 const struct ttm_place *place, in ttm_resource_init() argument 182 res->mem_type = place->mem_type; in ttm_resource_init() 183 res->placement = place->flags; in ttm_resource_init() 190 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init() 224 const struct ttm_place *place, in ttm_resource_alloc() argument 228 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc() 231 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc() 272 const struct ttm_place *place, in ttm_resource_intersects() argument 281 if (!place || !man->func->intersects) in ttm_resource_intersects() 301 const struct ttm_place *place, in ttm_resource_compatible() argument [all …]
|
A D | ttm_sys_manager.c | 12 const struct ttm_place *place, in ttm_sys_man_alloc() argument 19 ttm_resource_init(bo, place, *res); in ttm_sys_man_alloc()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gtt_mgr.c | 115 const struct ttm_place *place, in amdgpu_gtt_mgr_new() argument 127 ttm_resource_init(tbo, place, &node->base); in amdgpu_gtt_mgr_new() 128 if (!(place->flags & TTM_PL_FLAG_TEMPORARY) && in amdgpu_gtt_mgr_new() 134 if (place->lpfn) { in amdgpu_gtt_mgr_new() 138 0, place->fpfn, place->lpfn, in amdgpu_gtt_mgr_new() 219 const struct ttm_place *place, in amdgpu_gtt_mgr_intersects() argument 222 return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res); in amdgpu_gtt_mgr_intersects() 237 const struct ttm_place *place, in amdgpu_gtt_mgr_compatible() argument 240 return !place->lpfn || amdgpu_gtt_mgr_has_gart_addr(res); in amdgpu_gtt_mgr_compatible()
|
A D | amdgpu_vram_mgr.c | 385 const struct ttm_place *place, in amdgpu_vram_mgr_new() argument 398 lpfn = (u64)place->lpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new() 402 fpfn = (u64)place->fpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new() 425 ttm_resource_init(tbo, place, &vres->base); in amdgpu_vram_mgr_new() 435 if (place->flags & TTM_PL_FLAG_TOPDOWN) in amdgpu_vram_mgr_new() 736 const struct ttm_place *place, in amdgpu_vram_mgr_intersects() argument 749 if (place->fpfn < lpfn && in amdgpu_vram_mgr_intersects() 750 (!place->lpfn || place->lpfn > fpfn)) in amdgpu_vram_mgr_intersects() 769 const struct ttm_place *place, in amdgpu_vram_mgr_compatible() argument 782 if (fpfn < place->fpfn || in amdgpu_vram_mgr_compatible() [all …]
|
A D | amdgpu_preempt_mgr.c | 61 const struct ttm_place *place, in amdgpu_preempt_mgr_new() argument 68 ttm_resource_init(tbo, place, *res); in amdgpu_preempt_mgr_new()
|
/linux-6.3-rc2/include/drm/ttm/ |
A D | ttm_resource.h | 76 const struct ttm_place *place, 104 const struct ttm_place *place, 120 const struct ttm_place *place, 355 const struct ttm_place *place, 361 const struct ttm_place *place, 366 const struct ttm_place *place, 370 const struct ttm_place *place,
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_mem.c | 194 const struct ttm_place *place, in nouveau_mem_intersects() argument 200 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects() 201 (place->lpfn && place->lpfn <= res->start)) in nouveau_mem_intersects() 209 const struct ttm_place *place, in nouveau_mem_compatible() argument 214 if (res->start < place->fpfn || in nouveau_mem_compatible() 215 (place->lpfn && (res->start + num_pages) > place->lpfn)) in nouveau_mem_compatible()
|
A D | nouveau_ttm.c | 48 const struct ttm_place *place, in nouveau_manager_intersects() argument 51 return nouveau_mem_intersects(res, place, size); in nouveau_manager_intersects() 57 const struct ttm_place *place, in nouveau_manager_compatible() argument 60 return nouveau_mem_compatible(res, place, size); in nouveau_manager_compatible() 66 const struct ttm_place *place, in nouveau_vram_manager_new() argument 80 ttm_resource_init(bo, place, *res); in nouveau_vram_manager_new() 101 const struct ttm_place *place, in nouveau_gart_manager_new() argument 112 ttm_resource_init(bo, place, *res); in nouveau_gart_manager_new() 127 const struct ttm_place *place, in nv04_gart_manager_new() argument 140 ttm_resource_init(bo, place, *res); in nv04_gart_manager_new()
|
A D | nouveau_mem.h | 29 const struct ttm_place *place, 32 const struct ttm_place *place,
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.c | 129 struct ttm_place *place, in i915_ttm_place_from_region() argument 134 memset(place, 0, sizeof(*place)); in i915_ttm_place_from_region() 141 place->flags |= TTM_PL_FLAG_CONTIGUOUS; in i915_ttm_place_from_region() 144 place->fpfn = offset >> PAGE_SHIFT; in i915_ttm_place_from_region() 145 WARN_ON(overflows_type(place->fpfn + (size >> PAGE_SHIFT), place->lpfn)); in i915_ttm_place_from_region() 146 place->lpfn = place->fpfn + (size >> PAGE_SHIFT); in i915_ttm_place_from_region() 149 place->flags |= TTM_PL_FLAG_TOPDOWN; in i915_ttm_place_from_region() 151 place->fpfn = 0; in i915_ttm_place_from_region() 362 const struct ttm_place *place) in i915_ttm_eviction_valuable() argument 432 struct ttm_placement place = {}; in i915_ttm_purge() local [all …]
|
/linux-6.3-rc2/Documentation/hwmon/ |
A D | k8temp.rst | 36 temp1_input temperature of Core 0 and "place" 0 37 temp2_input temperature of Core 0 and "place" 1 38 temp3_input temperature of Core 1 and "place" 0 39 temp4_input temperature of Core 1 and "place" 1
|
/linux-6.3-rc2/arch/mips/include/asm/mach-ip27/ |
A D | kernel-entry-init.h | 37 dsll t1, NASID_SHFT # Shift text nasid into place 43 dsll t1, 6 # Get pfn into place 44 dsll t2, 6 # Get pfn into place
|
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_system_manager.c | 37 const struct ttm_place *place, in vmw_sys_man_alloc() argument 44 ttm_resource_init(bo, place, *res); in vmw_sys_man_alloc()
|
A D | vmwgfx_bo.c | 193 struct ttm_place place; in vmw_bo_pin_in_start_of_vram() local 196 place = vmw_vram_placement.placement[0]; in vmw_bo_pin_in_start_of_vram() 197 place.lpfn = PFN_UP(bo->resource->size); in vmw_bo_pin_in_start_of_vram() 199 placement.placement = &place; in vmw_bo_pin_in_start_of_vram() 201 placement.busy_placement = &place; in vmw_bo_pin_in_start_of_vram()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | module.h | 53 static inline bool is_forbidden_offset_for_adrp(void *place) in is_forbidden_offset_for_adrp() argument 57 ((u64)place & 0xfff) >= 0xff8; in is_forbidden_offset_for_adrp()
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | k8temp.c | 91 int core, place; in k8temp_read() local 96 place = channel & 1; in k8temp_read() 105 if (place) in k8temp_read()
|
/linux-6.3-rc2/Documentation/trace/rv/ |
A D | monitor_wip.rst | 12 that verifies if the wakeup events always take place with 30 The wakeup event always takes place with preemption disabled because
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-bus-usb-devices-usbsevseg | 42 To set the nth decimal place, give this field 45 to set the mth place (where m is not already set),
|
/linux-6.3-rc2/Documentation/usb/ |
A D | misc_usbsevseg.rst | 47 to set the nth decimal place calculate 10 ** n 50 For example, to set the 0th and 3rd decimal place
|
/linux-6.3-rc2/Documentation/powerpc/ |
A D | kaslr-booke32.rst | 14 map or copy kernel to a proper place and relocate. Freescale Book-E 17 region, so we chose to copy the kernel to a proper place and restart to
|