Home
last modified time | relevance | path

Searched refs:place (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/Linux-v6.1/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c36 const struct ttm_place *place, in i915_ttm_buddy_man_alloc() argument
47 lpfn = place->lpfn; in i915_ttm_buddy_man_alloc()
55 ttm_resource_init(bo, place, &bman_res->base); in i915_ttm_buddy_man_alloc()
59 if (place->flags & TTM_PL_FLAG_TOPDOWN) in i915_ttm_buddy_man_alloc()
62 if (place->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc()
75 if (place->fpfn + bman_res->base.num_pages != place->lpfn && in i915_ttm_buddy_man_alloc()
76 place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc()
101 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc()
110 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc()
142 if (place->lpfn - place->fpfn == n_pages) in i915_ttm_buddy_man_alloc()
[all …]
Dintel_region_ttm.c204 struct ttm_place place = {}; in intel_region_ttm_resource_alloc() local
210 place.flags |= TTM_PL_FLAG_CONTIGUOUS; in intel_region_ttm_resource_alloc()
212 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
213 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc()
216 place.flags |= TTM_PL_FLAG_TOPDOWN; in intel_region_ttm_resource_alloc()
218 place.fpfn = 0; in intel_region_ttm_resource_alloc()
219 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
226 ret = man->func->alloc(man, &mock_bo, &place, &res); in intel_region_ttm_resource_alloc()
/Linux-v6.1/arch/arm64/kernel/
Dmodule.c77 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val) in do_reloc() argument
83 return val - (u64)place; in do_reloc()
85 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc()
94 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) in reloc_data() argument
96 s64 sval = do_reloc(op, place, val); in reloc_data()
112 *(s16 *)place = sval; in reloc_data()
128 *(s32 *)place = sval; in reloc_data()
144 *(s64 *)place = sval; in reloc_data()
158 static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_movw() argument
163 u32 insn = le32_to_cpu(*place); in reloc_insn_movw()
[all …]
/Linux-v6.1/drivers/gpu/drm/ttm/
Dttm_range_manager.c60 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 …]
Dttm_bo.c519 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
531 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
547 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
566 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
567 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
615 const struct ttm_place *place, in ttm_mem_evict_first() argument
629 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
751 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
760 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
763 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space()
[all …]
Dttm_resource.c174 const struct ttm_place *place, in ttm_resource_init() argument
181 res->mem_type = place->mem_type; in ttm_resource_init()
182 res->placement = place->flags; in ttm_resource_init()
189 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init()
223 const struct ttm_place *place, in ttm_resource_alloc() argument
227 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc()
230 ret = man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc()
271 const struct ttm_place *place, in ttm_resource_intersects() argument
280 if (!place || !man->func->intersects) in ttm_resource_intersects()
283 return man->func->intersects(man, res, place, size); in ttm_resource_intersects()
[all …]
Dttm_sys_manager.c12 const struct ttm_place *place, in ttm_sys_man_alloc() argument
19 ttm_resource_init(bo, place, *res); in ttm_sys_man_alloc()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c115 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()
Damdgpu_vram_mgr.c385 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()
408 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { 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()
461 if (fpfn + size != (u64)place->lpfn << PAGE_SHIFT) { in amdgpu_vram_mgr_new()
466 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new()
735 const struct ttm_place *place, in amdgpu_vram_mgr_intersects() argument
748 if (place->fpfn < lpfn && in amdgpu_vram_mgr_intersects()
[all …]
Damdgpu_preempt_mgr.c61 const struct ttm_place *place, in amdgpu_preempt_mgr_new() argument
68 ttm_resource_init(tbo, place, *res); in amdgpu_preempt_mgr_new()
/Linux-v6.1/include/drm/ttm/
Dttm_resource.h76 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-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_mem.c193 const struct ttm_place *place, in nouveau_mem_intersects() argument
199 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects()
200 (place->lpfn && place->lpfn <= res->start)) in nouveau_mem_intersects()
208 const struct ttm_place *place, in nouveau_mem_compatible() argument
213 if (res->start < place->fpfn || in nouveau_mem_compatible()
214 (place->lpfn && (res->start + num_pages) > place->lpfn)) in nouveau_mem_compatible()
Dnouveau_ttm.c48 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()
Dnouveau_mem.h29 const struct ttm_place *place,
32 const struct ttm_place *place,
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c129 struct ttm_place *place, in i915_ttm_place_from_region() argument
134 memset(place, 0, sizeof(*place)); in i915_ttm_place_from_region()
135 place->mem_type = intel_region_to_ttm_type(mr); in i915_ttm_place_from_region()
141 place->flags |= TTM_PL_FLAG_CONTIGUOUS; in i915_ttm_place_from_region()
143 place->fpfn = offset >> PAGE_SHIFT; in i915_ttm_place_from_region()
144 place->lpfn = place->fpfn + (size >> PAGE_SHIFT); in i915_ttm_place_from_region()
147 place->flags |= TTM_PL_FLAG_TOPDOWN; in i915_ttm_place_from_region()
149 place->fpfn = 0; in i915_ttm_place_from_region()
150 place->lpfn = mr->io_size >> PAGE_SHIFT; in i915_ttm_place_from_region()
361 const struct ttm_place *place) in i915_ttm_eviction_valuable() argument
[all …]
/Linux-v6.1/Documentation/hwmon/
Dk8temp.rst36 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-v6.1/arch/mips/include/asm/mach-ip27/
Dkernel-entry-init.h37 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-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_system_manager.c38 const struct ttm_place *place, in vmw_sys_man_alloc() argument
45 ttm_resource_init(bo, place, *res); in vmw_sys_man_alloc()
Dvmwgfx_bo.c193 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 = bo->resource->num_pages; 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-v6.1/arch/arm64/include/asm/
Dmodule.h53 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-v6.1/drivers/hwmon/
Dk8temp.c91 int core, place; in k8temp_read() local
96 place = channel & 1; in k8temp_read()
105 if (place) in k8temp_read()
/Linux-v6.1/Documentation/trace/rv/
Dmonitor_wip.rst12 that verifies if the wakeup events always take place with
30 The wakeup event always takes place with preemption disabled because
/Linux-v6.1/Documentation/usb/
Dmisc_usbsevseg.rst47 to set the nth decimal place calculate 10 ** n
50 For example, to set the 0th and 3rd decimal place
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-usb-devices-usbsevseg42 To set the nth decimal place, give this field
45 to set the mth place (where m is not already set),
/Linux-v6.1/Documentation/powerpc/
Dkaslr-booke32.rst14 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

12345678910>>...18