/Linux-v6.6/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 57 .mem_type = TTM_PL_SYSTEM, in qxl_evict_flags() 79 case TTM_PL_SYSTEM: in qxl_ttm_io_mem_reserve() 147 if (new_mem->mem_type != TTM_PL_SYSTEM) { in qxl_bo_move() 148 hop->mem_type = TTM_PL_SYSTEM; in qxl_bo_move() 163 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
|
D | qxl_object.c | 81 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain() 85 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
|
/Linux-v6.6/drivers/gpu/drm/loongson/ |
D | lsdc_ttm.c | 22 case TTM_PL_SYSTEM: in lsdc_mem_type_to_str() 70 lbo->placements[c].mem_type = TTM_PL_SYSTEM; in lsdc_bo_set_placement() 75 lbo->placements[c].mem_type = TTM_PL_SYSTEM; in lsdc_bo_set_placement() 188 if (old_mem->mem_type == TTM_PL_SYSTEM && !tbo->ttm) { in lsdc_bo_move() 195 if (old_mem->mem_type == TTM_PL_SYSTEM && in lsdc_bo_move() 204 new_mem->mem_type == TTM_PL_SYSTEM) { in lsdc_bo_move() 227 case TTM_PL_SYSTEM: in lsdc_bo_reserve_io_mem() 265 if (unlikely(resource->mem_type == TTM_PL_SYSTEM)) in lsdc_bo_gpu_offset()
|
/Linux-v6.6/drivers/gpu/drm/ttm/tests/ |
D | ttm_device_test.c | 33 KUNIT_ASSERT_NOT_NULL(test, ttm_dev->man_drv[TTM_PL_SYSTEM]); in ttm_device_init_basic() 65 KUNIT_ASSERT_NOT_NULL(test, ttm_devs[i].man_drv[TTM_PL_SYSTEM]); in ttm_device_init_multiple() 87 man = ttm_manager_type(ttm_dev, TTM_PL_SYSTEM); in ttm_device_fini_basic() 94 KUNIT_ASSERT_NULL(test, ttm_dev->man_drv[TTM_PL_SYSTEM]); in ttm_device_fini_basic()
|
/Linux-v6.6/drivers/gpu/drm/ttm/ |
D | ttm_device.c | 151 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_swapout() 242 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini() 244 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, NULL); in ttm_device_fini() 289 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_clear_dma_mappings()
|
D | ttm_sys_manager.c | 47 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_sys_man_init()
|
D | ttm_bo.c | 141 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem() 494 if (bo->resource->mem_type == TTM_PL_SYSTEM) in ttm_bo_eviction_valuable() 919 if (!bo->resource || bo->resource->mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate() 1164 if (bo->resource->mem_type != TTM_PL_SYSTEM) { in ttm_bo_swapout() 1169 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
|
/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 87 .mem_type = TTM_PL_SYSTEM, in radeon_evict_flags() 215 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 220 if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 227 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move() 235 if ((old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 238 new_mem->mem_type == TTM_PL_SYSTEM)) { in radeon_bo_move() 270 case TTM_PL_SYSTEM: in radeon_ttm_io_mem_reserve()
|
D | radeon_object.h | 47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
|
D | radeon_object.c | 107 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain() 112 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
|
/Linux-v6.6/include/drm/ttm/ |
D | ttm_placement.h | 51 #define TTM_PL_SYSTEM 0 macro
|
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 42 .mem_type = TTM_PL_SYSTEM, 459 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve() 509 return mem_type == TTM_PL_SYSTEM || mem_type == VMW_PL_SYSTEM; in vmw_memtype_is_system() 532 if (!bo->resource || (bo->resource->mem_type == TTM_PL_SYSTEM && in vmw_move()
|
D | vmwgfx_bo.c | 782 pl[n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 791 pl[n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 813 if (bo->tbo.resource->mem_type == TTM_PL_SYSTEM || in vmw_bo_placement_set()
|
D | vmwgfx_gem.c | 188 case TTM_PL_SYSTEM: in vmw_bo_print_info()
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 158 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement() 256 gbo->bo.resource->mem_type == TTM_PL_SYSTEM)) in drm_gem_vram_pg_offset() 920 if (new_mem->mem_type != TTM_PL_SYSTEM) { in bo_driver_move() 921 hop->mem_type = TTM_PL_SYSTEM; in bo_driver_move() 941 case TTM_PL_SYSTEM: /* nothing to do */ in bo_driver_io_mem_reserve()
|
D | drm_gem_ttm_helper.c | 29 [ TTM_PL_SYSTEM ] = "system", in drm_gem_ttm_print_info()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 415 pl[*n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 986 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy() 1080 if (!old_reg || (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1086 if (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1093 new_reg->mem_type == TTM_PL_SYSTEM) { in nouveau_bo_move() 1102 if ((old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1105 new_reg->mem_type == TTM_PL_SYSTEM)) { in nouveau_bo_move() 1169 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve() 1291 if (bo->resource->mem_type != TTM_PL_SYSTEM) in nouveau_ttm_fault_reserve_notify()
|
D | nouveau_vmm.c | 99 if (nvbo->bo.resource->mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
|
/Linux-v6.6/drivers/gpu/drm/i915/gem/ |
D | i915_gem_ttm.h | 65 #define I915_PL_SYSTEM TTM_PL_SYSTEM
|
D | i915_gem_ttm_move.c | 590 if (dst_mem->mem_type != TTM_PL_SYSTEM) { in i915_ttm_move() 591 hop->mem_type = TTM_PL_SYSTEM; in i915_ttm_move()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 98 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags() 423 if (mem->mem_type == TTM_PL_SYSTEM || in amdgpu_mem_visible() 472 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 477 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 485 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move() 519 if (((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 522 new_mem->mem_type == TTM_PL_SYSTEM))) { in amdgpu_bo_move() 567 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve() 1316 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags() 1377 if (bo->resource->mem_type == TTM_PL_SYSTEM) in amdgpu_ttm_bo_eviction_valuable()
|
D | amdgpu_object.c | 182 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain() 214 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain() 1276 bo->resource->mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify() 1515 WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_SYSTEM); in amdgpu_bo_gpu_offset()
|
D | amdgpu_object.h | 177 case TTM_PL_SYSTEM: in amdgpu_mem_type_to_domain()
|
D | amdgpu_dma_buf.c | 375 if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | intel_region_ttm.c | 63 return TTM_PL_SYSTEM; in intel_region_to_ttm_type()
|