• Home
  • Raw
  • Download

Lines Matching refs:gtt_space

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()
2615 u32 size = obj->gtt_space->size; in i830_write_fence_reg()
2850 struct drm_mm_node *gtt_space, in i915_gem_valid_gtt_space() argument
2862 if (gtt_space == NULL) in i915_gem_valid_gtt_space()
2865 if (list_empty(&gtt_space->node_list)) in i915_gem_valid_gtt_space()
2868 other = list_entry(gtt_space->node_list.prev, struct drm_mm_node, node_list); in i915_gem_valid_gtt_space()
2872 other = list_entry(gtt_space->node_list.next, struct drm_mm_node, node_list); in i915_gem_valid_gtt_space()
2873 if (other->allocated && !gtt_space->hole_follows && other->color != cache_level) in i915_gem_valid_gtt_space()
2887 if (obj->gtt_space == NULL) { in i915_gem_verify_gtt()
2893 if (obj->cache_level != obj->gtt_space->color) { in i915_gem_verify_gtt()
2895 obj->gtt_space->start, in i915_gem_verify_gtt()
2896 obj->gtt_space->start + obj->gtt_space->size, in i915_gem_verify_gtt()
2898 obj->gtt_space->color); in i915_gem_verify_gtt()
2904 obj->gtt_space, in i915_gem_verify_gtt()
2907 obj->gtt_space->start, in i915_gem_verify_gtt()
2908 obj->gtt_space->start + obj->gtt_space->size, in i915_gem_verify_gtt()
2979 ret = drm_mm_insert_node_in_range_generic(&dev_priv->mm.gtt_space, node, in i915_gem_object_bind_to_gtt()
2983 ret = drm_mm_insert_node_generic(&dev_priv->mm.gtt_space, node, in i915_gem_object_bind_to_gtt()
3013 obj->gtt_space = node; in i915_gem_object_bind_to_gtt()
3124 if (obj->gtt_space == NULL) in i915_gem_object_set_to_gtt_domain()
3183 if (!i915_gem_valid_gtt_space(dev, obj->gtt_space, cache_level)) { in i915_gem_object_set_cache_level()
3189 if (obj->gtt_space) { in i915_gem_object_set_cache_level()
3212 obj->gtt_space->color = cache_level; in i915_gem_object_set_cache_level()
3493 if (obj->gtt_space != NULL) { in i915_gem_object_pin()
3509 if (obj->gtt_space == NULL) { in i915_gem_object_pin()
3535 BUG_ON(obj->gtt_space == NULL); in i915_gem_object_unpin()