Searched refs:gtt_space (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_gem_evict.c | 41 return drm_mm_scan_add_block(obj->gtt_space); in mark_free() 81 drm_mm_init_scan_with_range(&dev_priv->mm.gtt_space, in i915_gem_evict_something() 85 drm_mm_init_scan(&dev_priv->mm.gtt_space, in i915_gem_evict_something() 110 ret = drm_mm_scan_remove_block(obj->gtt_space); in i915_gem_evict_something() 130 if (drm_mm_scan_remove_block(obj->gtt_space)) { in i915_gem_evict_something()
|
D | i915_gem_gtt.c | 340 obj->gtt_space->start >> PAGE_SHIFT, in i915_ppgtt_bind_object() 348 obj->gtt_space->start >> PAGE_SHIFT, in i915_ppgtt_unbind_object() 512 obj->gtt_space->start >> PAGE_SHIFT, in i915_gem_gtt_bind_object() 524 obj->gtt_space->start >> PAGE_SHIFT, in i915_gem_gtt_unbind_object() 584 drm_mm_init(&dev_priv->mm.gtt_space, start, end - start - PAGE_SIZE); in i915_gem_setup_global_gtt() 586 dev_priv->mm.gtt_space.color_adjust = i915_gtt_color_adjust; in i915_gem_setup_global_gtt() 593 BUG_ON(obj->gtt_space != I915_GTT_RESERVED); in i915_gem_setup_global_gtt() 594 obj->gtt_space = drm_mm_create_block(&dev_priv->mm.gtt_space, in i915_gem_setup_global_gtt() 605 drm_mm_for_each_hole(entry, &dev_priv->mm.gtt_space, in i915_gem_setup_global_gtt() 656 drm_mm_takedown(&dev_priv->mm.gtt_space); in i915_gem_init_global_gtt()
|
D | i915_gem_stolen.c | 359 if (drm_mm_initialized(&dev_priv->mm.gtt_space)) { in i915_gem_object_create_stolen_for_preallocated() 360 obj->gtt_space = drm_mm_create_block(&dev_priv->mm.gtt_space, in i915_gem_object_create_stolen_for_preallocated() 363 if (obj->gtt_space == NULL) { in i915_gem_object_create_stolen_for_preallocated() 369 obj->gtt_space = I915_GTT_RESERVED; in i915_gem_object_create_stolen_for_preallocated()
|
D | i915_gem.c | 138 return obj->gtt_space && !obj->active; in i915_gem_object_is_inactive() 181 pinned += obj->gtt_space->size; in i915_gem_get_aperture_ioctl() 425 if (obj->gtt_space) { in i915_gem_shmem_pread() 742 if (obj->gtt_space) { in i915_gem_shmem_pwrite() 1671 BUG_ON(obj->gtt_space); in i915_gem_object_put_pages() 2465 if (obj->gtt_space == NULL) in i915_gem_object_unbind() 2503 drm_mm_put_block(obj->gtt_space); in i915_gem_object_unbind() 2504 obj->gtt_space = NULL; in i915_gem_object_unbind() 2547 u32 size = obj->gtt_space->size; in i965_write_fence_reg() 2571 u32 size = obj->gtt_space->size; in i915_write_fence_reg() [all …]
|
D | i915_trace.h | 49 __entry->offset = obj->gtt_space->start; 50 __entry->size = obj->gtt_space->size; 71 __entry->offset = obj->gtt_space->start; 72 __entry->size = obj->gtt_space->size;
|
D | i915_gem_tiling.c | 279 if (obj->gtt_space->size != size) in i915_gem_object_fence_ok() 362 obj->gtt_space == NULL || in i915_gem_set_tiling()
|
D | i915_debugfs.c | 125 if (obj->gtt_space != NULL) in describe_obj() 127 obj->gtt_offset, (unsigned int)obj->gtt_space->size); in describe_obj() 178 total_gtt_size += obj->gtt_space->size; in i915_gem_object_list_info() 190 size += obj->gtt_space->size; \ 193 mappable_size += obj->gtt_space->size; \ 243 size += obj->gtt_space->size; in i915_gem_object_info() 247 mappable_size += obj->gtt_space->size; in i915_gem_object_info() 294 total_gtt_size += obj->gtt_space->size; in i915_gem_gtt_info()
|
D | i915_gem_execbuffer.c | 461 if (!obj->gtt_space) in i915_gem_execbuffer_unreserve_object() 533 if (!obj->gtt_space) in i915_gem_execbuffer_reserve() 553 if (obj->gtt_space) in i915_gem_execbuffer_reserve()
|
D | i915_drv.h | 729 struct drm_mm gtt_space; member 1124 struct drm_mm_node *gtt_space; member
|