/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_dmabuf.c | 52 struct ttm_placement *placement, in vmw_dmabuf_to_placement() argument 68 ret = ttm_bo_validate(bo, placement, interruptible, false); in vmw_dmabuf_to_placement() 98 struct ttm_placement *placement; in vmw_dmabuf_to_vram_or_gmr() local 120 placement = &vmw_vram_gmr_ne_placement; in vmw_dmabuf_to_vram_or_gmr() 122 placement = &vmw_vram_gmr_placement; in vmw_dmabuf_to_vram_or_gmr() 124 ret = ttm_bo_validate(bo, placement, interruptible, false); in vmw_dmabuf_to_vram_or_gmr() 135 placement = &vmw_vram_ne_placement; in vmw_dmabuf_to_vram_or_gmr() 137 placement = &vmw_vram_placement; in vmw_dmabuf_to_vram_or_gmr() 139 ret = ttm_bo_validate(bo, placement, interruptible, false); in vmw_dmabuf_to_vram_or_gmr() 167 struct ttm_placement *placement; in vmw_dmabuf_to_vram() local [all …]
|
D | vmwgfx_buffer.c | 77 .placement = &vram_placement_flags, 108 .placement = vram_gmr_placement_flags, 129 .placement = vram_gmr_ne_placement_flags, 136 .placement = &vram_placement_flags, 143 .placement = &vram_ne_placement_flags, 150 .placement = &sys_placement_flags, 157 .placement = &sys_ne_placement_flags, 184 .placement = evictable_placement_flags, 192 .placement = &gmr_placement_flags, 199 .placement = &mob_placement_flags, [all …]
|
D | vmwgfx_fb.c | 377 struct ttm_place ne_place = vmw_vram_ne_placement.placement[0]; in vmw_fb_create_bo() 382 ne_placement.placement = &ne_place; in vmw_fb_create_bo()
|
D | vmwgfx_drv.h | 629 size_t size, struct ttm_placement *placement, 678 struct ttm_placement *placement,
|
D | vmwgfx_resource.c | 414 size_t size, struct ttm_placement *placement, in vmw_dmabuf_init() argument 431 ttm_bo_type_device, placement, in vmw_dmabuf_init()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 86 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument 93 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 94 ret = ttm_mem_type_from_place(&placement->placement[i], in ttm_bo_mem_space_debug() 99 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 171 if (!(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) { in ttm_bo_add_to_lru() 289 ((mem->placement & bo->mem.placement & TTM_PL_MASK_CACHING) == 0)) { in ttm_bo_handle_move_mem() 309 ret = ttm_tt_set_placement_caching(bo->ttm, mem->placement); in ttm_bo_handle_move_mem() 356 ret = bdev->driver->invalidate_caches(bdev, bo->mem.placement); in ttm_bo_handle_move_mem() 366 bo->cur_placement = bo->mem.placement; in ttm_bo_handle_move_mem() 454 if (bo->mem.placement & TTM_PL_FLAG_NO_EVICT) { in ttm_bo_cleanup_refs_or_queue() [all …]
|
D | ttm_bo_util.c | 58 ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM, in ttm_bo_move_ttm() 63 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); in ttm_bo_move_ttm() 208 if (mem->placement & TTM_PL_FLAG_WC) in ttm_mem_reg_ioremap() 384 pgprot_t prot = ttm_io_prot(old_mem->placement, in ttm_bo_move_memcpy() 389 pgprot_t prot = ttm_io_prot(new_mem->placement, in ttm_bo_move_memcpy() 518 if (mem->placement & TTM_PL_FLAG_WC) in ttm_bo_ioremap() 545 if (num_pages == 1 && (mem->placement & TTM_PL_FLAG_CACHED)) { in ttm_bo_kmap_ttm() 559 prot = ttm_io_prot(mem->placement, PAGE_KERNEL); in ttm_bo_kmap_ttm()
|
D | ttm_tt.c | 152 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) in ttm_tt_set_placement_caching() argument 156 if (placement & TTM_PL_FLAG_WC) in ttm_tt_set_placement_caching() 158 else if (placement & TTM_PL_FLAG_UNCACHED) in ttm_tt_set_placement_caching()
|
D | ttm_bo_vm.c | 196 cvma.vm_page_prot = ttm_io_prot(bo->mem.placement, in ttm_bo_vm_fault() 200 cvma.vm_page_prot = ttm_io_prot(bo->mem.placement, in ttm_bo_vm_fault()
|
D | ttm_agp_backend.c | 56 int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED); in ttm_agp_bind()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
D | mgag200_ttm.c | 146 *pl = mgabo->placement; in mgag200_bo_evict_flags() 298 bo->placement.placement = bo->placements; in mgag200_ttm_placement() 299 bo->placement.busy_placement = bo->placements; in mgag200_ttm_placement() 306 bo->placement.num_placement = c; in mgag200_ttm_placement() 307 bo->placement.num_busy_placement = c; in mgag200_ttm_placement() 340 ttm_bo_type_device, &mgabo->placement, in mgag200_bo_create() 367 for (i = 0; i < bo->placement.num_placement; i++) in mgag200_bo_pin() 369 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in mgag200_bo_pin() 390 for (i = 0; i < bo->placement.num_placement ; i++) in mgag200_bo_unpin() 392 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in mgag200_bo_unpin() [all …]
|
D | mgag200_drv.h | 224 struct ttm_placement placement; member
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
D | ast_ttm.c | 146 *pl = astbo->placement; in ast_bo_evict_flags() 298 bo->placement.placement = bo->placements; in ast_ttm_placement() 299 bo->placement.busy_placement = bo->placements; in ast_ttm_placement() 306 bo->placement.num_placement = c; in ast_ttm_placement() 307 bo->placement.num_busy_placement = c; in ast_ttm_placement() 340 ttm_bo_type_device, &astbo->placement, in ast_bo_create() 366 for (i = 0; i < bo->placement.num_placement; i++) in ast_bo_pin() 368 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in ast_bo_pin() 389 for (i = 0; i < bo->placement.num_placement ; i++) in ast_bo_unpin() 391 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in ast_bo_unpin() [all …]
|
D | ast_drv.h | 321 struct ttm_placement placement; member
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
D | cirrus_ttm.c | 146 *pl = cirrusbo->placement; in cirrus_bo_evict_flags() 302 bo->placement.placement = bo->placements; in cirrus_ttm_placement() 303 bo->placement.busy_placement = bo->placements; in cirrus_ttm_placement() 310 bo->placement.num_placement = c; in cirrus_ttm_placement() 311 bo->placement.num_busy_placement = c; in cirrus_ttm_placement() 344 ttm_bo_type_device, &cirrusbo->placement, in cirrus_bo_create() 370 for (i = 0; i < bo->placement.num_placement; i++) in cirrus_bo_pin() 372 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in cirrus_bo_pin() 397 for (i = 0; i < bo->placement.num_placement ; i++) in cirrus_bo_push_sysram() 400 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in cirrus_bo_push_sysram()
|
D | cirrus_drv.h | 165 struct ttm_placement placement; member
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 179 struct ttm_placement *placement) in radeon_evict_flags() argument 190 placement->placement = &placements; in radeon_evict_flags() 191 placement->busy_placement = &placements; in radeon_evict_flags() 192 placement->num_placement = 1; in radeon_evict_flags() 193 placement->num_busy_placement = 1; in radeon_evict_flags() 213 rbo->placement.num_busy_placement = 0; in radeon_evict_flags() 214 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags() 219 rbo->placement.busy_placement = in radeon_evict_flags() 221 rbo->placement.num_busy_placement = 1; in radeon_evict_flags() 231 *placement = rbo->placement; in radeon_evict_flags() [all …]
|
D | radeon_object.c | 100 rbo->placement.placement = rbo->placements; in radeon_ttm_placement_from_domain() 101 rbo->placement.busy_placement = rbo->placements; in radeon_ttm_placement_from_domain() 164 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain() 165 rbo->placement.num_busy_placement = c; in radeon_ttm_placement_from_domain() 254 &bo->placement, page_align, !kernel, NULL, in radeon_bo_create() 349 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted() 362 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); in radeon_bo_pin_restricted() 393 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_unpin() 397 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); in radeon_bo_unpin() 560 r = ttm_bo_validate(&bo->tbo, &bo->placement, true, false); in radeon_bo_list_validate() [all …]
|
D | radeon_gem.c | 342 r = ttm_bo_validate(&bo->tbo, &bo->placement, true, false); in radeon_gem_userptr_ioctl() 774 const char *placement; in radeon_debugfs_gem_info() local 779 placement = "VRAM"; in radeon_debugfs_gem_info() 782 placement = " GTT"; in radeon_debugfs_gem_info() 786 placement = " CPU"; in radeon_debugfs_gem_info() 791 placement, (unsigned long)rbo->pid); in radeon_debugfs_gem_info()
|
D | radeon_uvd.c | 263 for (i = 0; i < rbo->placement.num_placement; ++i) { in radeon_uvd_force_into_uvd_segment() 273 if (rbo->placement.num_placement > 1) in radeon_uvd_force_into_uvd_segment() 280 rbo->placement.num_placement++; in radeon_uvd_force_into_uvd_segment() 281 rbo->placement.num_busy_placement++; in radeon_uvd_force_into_uvd_segment()
|
D | radeon_mn.c | 160 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); in radeon_mn_invalidate_range_start()
|
D | radeon_vm.c | 400 r = ttm_bo_validate(&bo->tbo, &bo->placement, true, false); in radeon_vm_clear_bo()
|
D | radeon.h | 490 struct ttm_placement placement; member
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 59 qbo->placement.placement = qbo->placements; in qxl_ttm_placement_from_domain() 60 qbo->placement.busy_placement = qbo->placements; in qxl_ttm_placement_from_domain() 69 qbo->placement.num_placement = c; in qxl_ttm_placement_from_domain() 70 qbo->placement.num_busy_placement = c; in qxl_ttm_placement_from_domain() 112 &bo->placement, 0, !kernel, NULL, size, in qxl_bo_create() 239 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); in qxl_bo_pin() 262 for (i = 0; i < bo->placement.num_placement; i++) in qxl_bo_unpin() 264 r = ttm_bo_validate(&bo->tbo, &bo->placement, false, false); in qxl_bo_unpin()
|
D | qxl_ttm.c | 188 struct ttm_placement *placement) in qxl_evict_flags() argument 198 placement->placement = &placements; in qxl_evict_flags() 199 placement->busy_placement = &placements; in qxl_evict_flags() 200 placement->num_placement = 1; in qxl_evict_flags() 201 placement->num_busy_placement = 1; in qxl_evict_flags() 206 *placement = qbo->placement; in qxl_evict_flags()
|
D | qxl_release.c | 240 ret = ttm_bo_validate(&bo->tbo, &bo->placement, in qxl_release_validate_bo()
|
D | qxl_ioctl.c | 343 ret = ttm_bo_validate(&qobj->tbo, &qobj->placement, in qxl_update_area_ioctl()
|
D | qxl_drv.h | 106 struct ttm_placement placement; member
|
/linux-4.1.27/include/drm/ttm/ |
D | ttm_bo_api.h | 75 const struct ttm_place *placement; member 125 uint32_t placement; member 336 struct ttm_placement *placement, 485 struct ttm_placement *placement, 522 struct ttm_placement *placement,
|
D | ttm_bo_driver.h | 382 struct ttm_placement *placement); 646 extern int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement); 695 struct ttm_placement *placement, 917 if (!(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) { in ttm_bo_unreserve()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 123 *pl = bochsbo->placement; in bochs_bo_evict_flags() 262 bo->placement.placement = bo->placements; in bochs_ttm_placement() 263 bo->placement.busy_placement = bo->placements; in bochs_ttm_placement() 281 bo->placement.num_placement = c; in bochs_ttm_placement() 282 bo->placement.num_busy_placement = c; in bochs_ttm_placement() 302 for (i = 0; i < bo->placement.num_placement; i++) in bochs_bo_pin() 304 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in bochs_bo_pin() 327 for (i = 0; i < bo->placement.num_placement; i++) in bochs_bo_unpin() 329 ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); in bochs_bo_unpin() 378 ttm_bo_type_device, &bochsbo->placement, in bochs_bo_create()
|
D | bochs.h | 101 struct ttm_placement placement; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 234 type, &nvbo->placement, in nouveau_bo_new() 282 for (i = 0; i < nvbo->placement.num_placement; ++i) { in set_placement_range() 286 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { in set_placement_range() 296 struct ttm_placement *pl = &nvbo->placement; in nouveau_bo_placement_set() 301 pl->placement = nvbo->placements; in nouveau_bo_placement_set() 402 nouveau_bo_placement_set(nvbo, bo->mem.placement, 0); in nouveau_bo_unpin() 504 ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, in nouveau_bo_validate() 678 *pl = nvbo->placement; in nouveau_bo_evict_flags() 1170 struct ttm_placement placement; in nouveau_bo_move_flipd() local 1174 placement.num_placement = placement.num_busy_placement = 1; in nouveau_bo_move_flipd() [all …]
|
D | nouveau_bo.h | 12 struct ttm_placement placement; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/ |
D | lproc_lmv.c | 74 static const char *placement_policy2name(enum placement_policy placement) in placement_policy2name() argument 76 LASSERT(placement < PLACEMENT_MAX_POLICY); in placement_policy2name() 77 return placement_name[placement]; in placement_policy2name()
|
D | lmv_obd.c | 1188 enum placement_policy placement) 1190 switch (placement) { 1202 CERROR("Unsupported placement policy %x\n", placement);
|
/linux-4.1.27/Documentation/cgroups/ |
D | cpusets.txt | 44 Cpusets constrain the CPU and Memory placement of tasks to only 48 job placement on large systems. 75 the efficient scheduling and memory placement of processes. 82 memory placement to reduce memory access times and contention, 174 - cpuset.cpu_exclusive flag: is cpu placement exclusive? 175 - cpuset.mem_exclusive flag: is memory placement exclusive? 202 the detailed placement done on individual tasks and memory regions 362 This memory placement policy is also known (in other contexts) as 379 tasks to itself, within the constraints of such placement mechanisms 595 does not support one task updating the memory placement of another [all …]
|
/linux-4.1.27/Documentation/scsi/ |
D | osd.txt | 5 allocation, placement, and accessing of variable-size data-storage containers,
|
/linux-4.1.27/Documentation/arm/ |
D | Booting | 114 it. The recommended placement is in the first 16KiB of RAM.
|
/linux-4.1.27/Documentation/hwmon/ |
D | lm85 | 106 and placement. The documentation says that the offset is in 0.25 degC
|
/linux-4.1.27/Documentation/ |
D | CodingStyle | 92 The other issue that always comes up in C styling is the placement of 94 choose one placement strategy over the other, but the preferred way, as 150 Also, note that this brace-placement also minimizes the number of empty
|
D | kernel-parameters.txt | 663 placement constraint by the physical address range of
|
/linux-4.1.27/init/ |
D | Kconfig | 919 bool "Memory placement aware NUMA scheduler" 924 This option adds support for automatic NUMA aware memory/task placement. 931 bool "Automatically enable NUMA aware memory/task placement" 1675 Randomizing heap placement makes heap exploits harder, but it
|
/linux-4.1.27/Documentation/development-process/ |
D | 4.Coding | 136 placement of "inline" keywords may not just be excessive; it could also be
|
/linux-4.1.27/Documentation/vm/ |
D | numa_memory_policy.txt | 283 disregard their current, actual cpuset imposed memory placement
|
/linux-4.1.27/Documentation/x86/ |
D | boot.txt | 939 memory to the kernel. This affects the possible placement of
|