/netbsd-src/sys/external/bsd/drm2/dist/drm/sis/ |
H A D | sis_mm.c | 53 struct drm_mm_node mm_node; member 121 &item->mm_node, in sis_drm_alloc() 123 offset = item->mm_node.start; in sis_drm_alloc() 133 &item->mm_node, in sis_drm_alloc() 135 offset = item->mm_node.start; in sis_drm_alloc() 159 drm_mm_remove_node(&item->mm_node); in sis_drm_alloc() 190 if (drm_mm_node_allocated(&obj->mm_node)) in sis_drm_free() 191 drm_mm_remove_node(&obj->mm_node); in sis_drm_free() 348 if (drm_mm_node_allocated(&entry->mm_node)) in sis_reclaim_buffers_locked() 349 drm_mm_remove_node(&entry->mm_node); in sis_reclaim_buffers_locked()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_gtt_mgr.c | 171 struct amdgpu_gtt_node *node = mem->mm_node; in amdgpu_gtt_mgr_has_gart_addr() 193 struct amdgpu_gtt_node *node = mem->mm_node; in amdgpu_gtt_mgr_alloc() 264 mem->mm_node = node; in amdgpu_gtt_mgr_new() 270 mem->mm_node = NULL; in amdgpu_gtt_mgr_new() 299 struct amdgpu_gtt_node *node = mem->mm_node; in amdgpu_gtt_mgr_del() 311 mem->mm_node = NULL; in amdgpu_gtt_mgr_del() 333 struct drm_mm_node *mm_node; in amdgpu_gtt_mgr_recover() local 337 drm_mm_for_each_node(mm_node, &mgr->mm) { in amdgpu_gtt_mgr_recover() 338 node = container_of(mm_node, struct amdgpu_gtt_node, node); in amdgpu_gtt_mgr_recover()
|
H A D | amdgpu_ttm.c | 263 BUG_ON(old_mem->mm_node != NULL); in amdgpu_move_null() 265 new_mem->mm_node = NULL; in amdgpu_move_null() 277 struct drm_mm_node *mm_node, in amdgpu_mm_node_addr() argument 282 if (mm_node->start != AMDGPU_BO_INVALID_OFFSET) { in amdgpu_mm_node_addr() 283 addr = mm_node->start << PAGE_SHIFT; in amdgpu_mm_node_addr() 300 struct drm_mm_node *mm_node = mem->mm_node; in amdgpu_find_mm_node() local 302 while (*offset >= (mm_node->size << PAGE_SHIFT)) { in amdgpu_find_mm_node() 303 *offset -= (mm_node->size << PAGE_SHIFT); in amdgpu_find_mm_node() 304 ++mm_node; in amdgpu_find_mm_node() 306 return mm_node; in amdgpu_find_mm_node() [all …]
|
H A D | amdgpu_vram_mgr.c | 282 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_bo_visible_size() 357 mem->mm_node = NULL; in amdgpu_vram_mgr_new() 427 mem->mm_node = nodes; in amdgpu_vram_mgr_new() 456 struct drm_mm_node *nodes = mem->mm_node; in amdgpu_vram_mgr_del() 460 if (!mem->mm_node) in amdgpu_vram_mgr_del() 476 kvfree(mem->mm_node); in amdgpu_vram_mgr_del() 477 mem->mm_node = NULL; in amdgpu_vram_mgr_del()
|
H A D | amdgpu_object.h | 212 struct drm_mm_node *node = bo->tbo.mem.mm_node; in amdgpu_bo_in_cpu_visible_vram()
|
H A D | amdgpu_object.c | 1327 if (bo->mem.mem_type != TTM_PL_VRAM || !bo->mem.mm_node || in amdgpu_bo_release_notify()
|
H A D | amdgpu_vm.c | 1800 nodes = mem->mm_node; in amdgpu_vm_bo_update()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/via/ |
H A D | via_mm.c | 46 struct drm_mm_node mm_node; member 154 &item->mm_node, in via_mem_alloc() 158 &item->mm_node, in via_mem_alloc() 174 ((item->mm_node.start) << VIA_MM_ALIGN_SHIFT); in via_mem_alloc() 180 drm_mm_remove_node(&item->mm_node); in via_mem_alloc() 209 drm_mm_remove_node(&obj->mm_node); in via_mem_free() 243 drm_mm_remove_node(&entry->mm_node); in via_reclaim_buffers_locked()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/ |
H A D | ttm_bo_manager.c | 90 mem->mm_node = node; in ttm_bo_man_get_node() 102 if (mem->mm_node) { in ttm_bo_man_put_node() 104 drm_mm_remove_node(mem->mm_node); in ttm_bo_man_put_node() 107 kfree(mem->mm_node); in ttm_bo_man_put_node() 108 mem->mm_node = NULL; in ttm_bo_man_put_node()
|
H A D | ttm_bo.c | 182 BUG_ON(bo->mem.mm_node != NULL); in ttm_bo_release_list() 374 mem->mm_node = NULL; in ttm_bo_handle_move_mem() 410 if (bo->mem.mm_node) in ttm_bo_handle_move_mem() 743 evict_mem.mm_node = NULL; in ttm_bo_evict() 925 if (mem->mm_node) in ttm_bo_mem_put() 983 if (mem->mm_node) in ttm_bo_mem_force_space() 1110 mem->mm_node = NULL; in ttm_bo_mem_space() 1122 mem->mm_node = NULL; in ttm_bo_mem_space() 1131 if (!mem->mm_node) in ttm_bo_mem_space() 1155 mem->mm_node = NULL; in ttm_bo_mem_space() [all …]
|
H A D | ttm_bo_util.c | 98 new_mem->mm_node = NULL; in ttm_bo_move_ttm() 497 new_mem->mm_node = NULL; in ttm_bo_move_memcpy() 863 new_mem->mm_node = NULL; in ttm_bo_move_accel_cleanup() 955 new_mem->mm_node = NULL; in ttm_bo_pipeline_move()
|
H A D | ttm_agp_backend.c | 60 struct drm_mm_node *node = bo_mem->mm_node; in ttm_agp_bind()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_gmrid_manager.c | 61 mem->mm_node = NULL; in vmw_gmrid_man_get_node() 75 mem->mm_node = gman; in vmw_gmrid_man_get_node() 95 if (mem->mm_node) { in vmw_gmrid_man_put_node() 100 mem->mm_node = NULL; in vmw_gmrid_man_put_node()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/ |
H A D | nouveau_mem.c | 191 kfree(reg->mm_node); in nouveau_mem_del() 192 reg->mm_node = NULL; in nouveau_mem_del() 207 reg->mm_node = mem; in nouveau_mem_new()
|
H A D | nouveau_mem.h | 14 return reg->mm_node; in nouveau_mem()
|
H A D | nouveau_ttm.c | 87 reg->mm_node = NULL; in nouveau_vram_manager_new() 151 reg->mm_node = NULL; in nv04_gart_manager_new()
|
H A D | nouveau_bo.c | 1336 tmp_reg.mm_node = NULL; in nouveau_bo_move_flipd() 1373 tmp_reg.mm_node = NULL; in nouveau_bo_move_flips() 1476 BUG_ON(bo->mem.mm_node != NULL); in nouveau_bo_move() 1478 new_reg->mm_node = NULL; in nouveau_bo_move()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/ |
H A D | nouveau_nvkm_subdev_instmem_gk20a.c | 98 struct nvkm_mm_node mm_node; /* XXX */ member 534 node->mm_node.type = 12; /* XXX ??? */ in gk20a_instobj_ctor_iommu() 535 node->mm_node.offset = node->map->dm_segs[0].ds_addr; in gk20a_instobj_ctor_iommu() 536 node->mm_node.length = node->map->dm_segs[0].ds_len; in gk20a_instobj_ctor_iommu() 537 node->base.mn = &node->mm_node; in gk20a_instobj_ctor_iommu()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/ |
H A D | qxl_ttm.c | 223 BUG_ON(old_mem->mm_node != NULL); in qxl_move_null() 225 new_mem->mm_node = NULL; in qxl_move_null()
|
/netbsd-src/sys/external/bsd/drm2/ttm/ |
H A D | ttm_agp_backend.c | 103 struct drm_mm_node *const node = bo_mem->mm_node; in ttm_agp_bind()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_ttm.c | 213 BUG_ON(old_mem->mm_node != NULL); in radeon_move_null() 215 new_mem->mm_node = NULL; in radeon_move_null() 286 tmp_mem.mm_node = NULL; in radeon_move_vram_ram() 331 tmp_mem.mm_node = NULL; in radeon_move_ram_vram()
|
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/ttm/ |
H A D | ttm_bo_api.h | 111 void *mm_node; member
|