Home
last modified time | relevance | path

Searched refs:drm_mm_node_allocated (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c478 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
481 __func__, p->name, vma->node.start, vma->node.size, drm_mm_node_allocated(&vma->node), in fill_hole()
511 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
557 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
560 __func__, p->name, vma->node.start, vma->node.size, drm_mm_node_allocated(&vma->node), in fill_hole()
590 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
593 __func__, p->name, vma->node.start, vma->node.size, drm_mm_node_allocated(&vma->node), in fill_hole()
680 if (!drm_mm_node_allocated(&vma->node) || in walk_hole()
695 GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); in walk_hole()
763 if (!drm_mm_node_allocated(&vma->node) || in pot_hole()
[all …]
Di915_gem_evict.c529 if (drm_mm_node_allocated(&hole)) in igt_evict_contexts()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_vma.h146 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_size()
169 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_offset()
176 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_ggtt_offset()
340 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_unpin()
353 return drm_mm_node_allocated(node) && node->color != color; in i915_node_color_differs()
Di915_gem_gtt.c110 GEM_BUG_ON(drm_mm_node_allocated(node)); in i915_gem_gtt_reserve()
210 GEM_BUG_ON(drm_mm_node_allocated(node)); in i915_gem_gtt_insert()
Di915_vma.c451 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_bind()
658 if (!drm_mm_node_allocated(&vma->node)) in i915_vma_misplaced()
724 GEM_BUG_ON(!drm_mm_node_allocated(node)); in i915_gem_valid_gtt_space()
764 GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); in i915_vma_insert()
885 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_insert()
897 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_detach()
1713 if (!drm_mm_node_allocated(&vma->node)) in force_unbind()
1718 GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); in force_unbind()
2063 if (!drm_mm_node_allocated(&vma->node)) in __i915_vma_unbind()
2093 if (!drm_mm_node_allocated(&vma->node)) in __i915_vma_unbind_async()
[all …]
Di915_gem.c340 GEM_BUG_ON(!drm_mm_node_allocated(node)); in i915_gem_gtt_prepare()
346 if (drm_mm_node_allocated(node)) { in i915_gem_gtt_prepare()
373 if (drm_mm_node_allocated(node)) { in i915_gem_gtt_cleanup()
421 if (drm_mm_node_allocated(&node)) { in i915_gem_gtt_pread()
600 if (drm_mm_node_allocated(&node)) { in i915_gem_gtt_pwrite_fast()
Di915_vgpu.c152 if (!drm_mm_node_allocated(node)) in vgt_deballoon_space()
Di915_gem_evict.c379 GEM_BUG_ON(!drm_mm_node_allocated(node)); in i915_gem_evict_for_node()
Di915_debugfs.c210 if (!drm_mm_node_allocated(&vma->node)) in i915_debugfs_describe_obj()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_vma_manager.c208 if (!drm_mm_node_allocated(&node->vm_node)) in drm_vma_offset_add()
234 if (drm_mm_node_allocated(&node->vm_node)) { in drm_vma_offset_remove()
Ddrm_mm.c174 if (drm_mm_node_allocated(hole_node)) { in drm_mm_interval_tree_add_node()
632 DRM_MM_BUG_ON(!drm_mm_node_allocated(node)); in drm_mm_remove_node()
664 DRM_MM_BUG_ON(!drm_mm_node_allocated(old)); in drm_mm_replace_node()
790 DRM_MM_BUG_ON(!drm_mm_node_allocated(node)); in drm_mm_scan_add_block()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c100 return drm_mm_node_allocated(&node->mm_nodes[0]); in amdgpu_gtt_mgr_has_gart_addr()
175 if (drm_mm_node_allocated(&node->mm_nodes[0])) in amdgpu_gtt_mgr_del()
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_mm_test.c167 if (!drm_mm_node_allocated(node) || node->mm != mm) { in assert_node()
387 if (!drm_mm_node_allocated(&nodes[n])) { in __drm_test_mm_reserve()
566 if (drm_mm_node_allocated(&tmp)) { in __drm_test_mm_insert()
792 if (drm_mm_node_allocated(node)) { in assert_contiguous_in_range()
801 if (drm_mm_node_allocated(node)) { in assert_contiguous_in_range()
1162 if (drm_mm_node_allocated(hole)) in show_holes()
1166 if (drm_mm_node_allocated(next)) in show_holes()
1253 if (!drm_mm_node_allocated(&e->node)) { in evict_nothing()
1823 if (drm_mm_node_allocated(node) && node->color != color) in separate_adjacent_colors()
1827 if (drm_mm_node_allocated(node) && node->color != color) in separate_adjacent_colors()
[all …]
/linux-6.6.21/include/drm/
Ddrm_vma_manager.h223 if (drm_mm_node_allocated(&node->vm_node)) in drm_vma_node_unmap()
Ddrm_mm.h258 static inline bool drm_mm_node_allocated(const struct drm_mm_node *node) in drm_mm_node_allocated() function
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c131 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_ggtt_suspend_vm()
567 if (drm_mm_node_allocated(&ggtt->uc_fw)) in ggtt_release_guc_top()
574 if (drm_mm_node_allocated(&ggtt->error_capture)) in cleanup_init_ggtt()
642 if (drm_mm_node_allocated(&ggtt->error_capture)) { in init_ggtt()
819 if (drm_mm_node_allocated(&ggtt->error_capture)) in ggtt_cleanup_hw()
1349 if (drm_mm_node_allocated(&ggtt->error_capture)) in i915_ggtt_resume()
Dselftest_reset.c34 if (!drm_mm_node_allocated(&ggtt->error_capture)) in __igt_reset_stolen()
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_object.c75 if (drm_mm_node_allocated(&vram->vram_node)) in virtio_gpu_cleanup_object()
Dvirtgpu_vram.c15 unmap = drm_mm_node_allocated(&vram->vram_node); in virtio_gpu_vram_free()
/linux-6.6.21/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c81 if (drm_mm_node_allocated(&mapping->mmnode)) in panfrost_gem_teardown_mapping()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c662 if (drm_mm_node_allocated(&vma->node) && in eb_reserve_vma()
1040 if (drm_mm_node_allocated(&vma->node)) { in eb_validate_vmas()
1052 GEM_BUG_ON(drm_mm_node_allocated(&vma->node) && in eb_validate_vmas()
1183 if (!drm_mm_node_allocated(&cache->node)) in reloc_cache_remap()
1213 if (drm_mm_node_allocated(&cache->node)) { in reloc_cache_reset()
1329 if (drm_mm_node_allocated(&cache->node)) { in reloc_iomap()
Di915_gem_stolen.c554 if (!drm_mm_node_allocated(&ggtt->error_capture)) in dbg_poison()
1001 return drm_mm_node_allocated(node); in i915_gem_stolen_node_allocated()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_client_blt.c464 if (drm_mm_node_allocated(&vma->node) && i915_vma_offset(vma) != addr) { in pin_buffer()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_plane.c303 if (drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_destroy_state()
702 if (!drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_allocate_lbm()
Dvc4_hvs.c1037 if (drm_mm_node_allocated(&vc4->hvs->mitchell_netravali_filter)) in vc4_hvs_unbind()

12