Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c472 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
475 __func__, p->name, vma->node.start, vma->node.size, drm_mm_node_allocated(&vma->node), in fill_hole()
505 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
551 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
554 __func__, p->name, vma->node.start, vma->node.size, drm_mm_node_allocated(&vma->node), in fill_hole()
584 if (!drm_mm_node_allocated(&vma->node) || in fill_hole()
587 __func__, p->name, vma->node.start, vma->node.size, drm_mm_node_allocated(&vma->node), in fill_hole()
674 if (!drm_mm_node_allocated(&vma->node) || in walk_hole()
689 GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); in walk_hole()
757 if (!drm_mm_node_allocated(&vma->node) || in pot_hole()
[all …]
Di915_gem_evict.c527 if (drm_mm_node_allocated(&hole)) in igt_evict_contexts()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_vma.h130 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_ggtt_offset()
293 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_unpin()
306 return drm_mm_node_allocated(node) && node->color != color; in i915_node_color_differs()
Di915_vma.c447 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_bind()
654 if (!drm_mm_node_allocated(&vma->node)) in i915_vma_misplaced()
715 GEM_BUG_ON(!drm_mm_node_allocated(node)); in i915_gem_valid_gtt_space()
754 GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); in i915_vma_insert()
856 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_insert()
867 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_vma_detach()
1652 if (!drm_mm_node_allocated(&vma->node)) in force_unbind()
1657 GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); in force_unbind()
1995 if (!drm_mm_node_allocated(&vma->node)) in __i915_vma_unbind()
2025 if (!drm_mm_node_allocated(&vma->node)) in __i915_vma_unbind_async()
[all …]
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_gem.c339 GEM_BUG_ON(!drm_mm_node_allocated(node)); in i915_gem_gtt_prepare()
345 if (drm_mm_node_allocated(node)) { in i915_gem_gtt_prepare()
372 if (drm_mm_node_allocated(node)) { in i915_gem_gtt_cleanup()
416 if (drm_mm_node_allocated(&node)) { in i915_gem_gtt_pread()
588 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.c354 GEM_BUG_ON(!drm_mm_node_allocated(node)); in i915_gem_evict_for_node()
Di915_debugfs.c176 if (!drm_mm_node_allocated(&vma->node)) in i915_debugfs_describe_obj()
/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/sis/
Dsis_mm.c181 if (drm_mm_node_allocated(&obj->mm_node)) in sis_drm_free()
339 if (drm_mm_node_allocated(&entry->mm_node)) in sis_reclaim_buffers_locked()
/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c153 GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); in i915_ggtt_suspend_vm()
526 if (drm_mm_node_allocated(&ggtt->uc_fw)) in ggtt_release_guc_top()
533 if (drm_mm_node_allocated(&ggtt->error_capture)) in cleanup_init_ggtt()
599 if (drm_mm_node_allocated(&ggtt->error_capture)) in init_ggtt()
772 if (drm_mm_node_allocated(&ggtt->error_capture)) in ggtt_cleanup_hw()
Dselftest_reset.c34 if (!drm_mm_node_allocated(&ggtt->error_capture)) in __igt_reset_stolen()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_fbc.c775 drm_mm_node_allocated(&fbc->compressed_fb)); in intel_fbc_alloc_cfb()
777 drm_mm_node_allocated(&fbc->compressed_llb)); in intel_fbc_alloc_cfb()
802 if (drm_mm_node_allocated(&fbc->compressed_llb)) in intel_fbc_alloc_cfb()
830 if (drm_mm_node_allocated(&fbc->compressed_llb)) in __intel_fbc_cleanup_cfb()
832 if (drm_mm_node_allocated(&fbc->compressed_fb)) in __intel_fbc_cleanup_cfb()
/linux-6.1.9/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.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c81 if (drm_mm_node_allocated(&mapping->mmnode)) in panfrost_gem_teardown_mapping()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c652 if (drm_mm_node_allocated(&vma->node) && in eb_reserve_vma()
1031 if (drm_mm_node_allocated(&vma->node)) { in eb_validate_vmas()
1043 GEM_BUG_ON(drm_mm_node_allocated(&vma->node) && in eb_validate_vmas()
1174 if (!drm_mm_node_allocated(&cache->node)) in reloc_cache_remap()
1204 if (drm_mm_node_allocated(&cache->node)) { in reloc_cache_reset()
1320 if (drm_mm_node_allocated(&cache->node)) { in reloc_iomap()
Di915_gem_stolen.c511 if (!drm_mm_node_allocated(&ggtt->error_capture)) in dbg_poison()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_plane.c205 if (drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_destroy_state()
602 if (!drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_allocate_lbm()

12