Lines Matching defs:gtt_space
130 return obj->gtt_space && !obj->active;
173 pinned += obj->gtt_space->size;
333 if (obj->gtt_space) {
513 if (obj->gtt_space) {
1316 BUG_ON(obj->gtt_space);
2097 if (obj->gtt_space == NULL)
2134 drm_mm_put_block(obj->gtt_space);
2135 obj->gtt_space = NULL;
2192 u32 size = obj->gtt_space->size;
2221 u32 size = obj->gtt_space->size;
2265 u32 size = obj->gtt_space->size;
2486 struct drm_mm_node *gtt_space,
2498 if (gtt_space == NULL)
2501 if (list_empty(>t_space->node_list))
2504 other = list_entry(gtt_space->node_list.prev, struct drm_mm_node, node_list);
2508 other = list_entry(gtt_space->node_list.next, struct drm_mm_node, node_list);
2509 if (other->allocated && !gtt_space->hole_follows && other->color != cache_level)
2523 if (obj->gtt_space == NULL) {
2529 if (obj->cache_level != obj->gtt_space->color) {
2531 obj->gtt_space->start,
2532 obj->gtt_space->start + obj->gtt_space->size,
2534 obj->gtt_space->color);
2540 obj->gtt_space,
2543 obj->gtt_space->start,
2544 obj->gtt_space->start + obj->gtt_space->size,
2618 ret = drm_mm_insert_node_in_range_generic(&dev_priv->mm.gtt_space, node,
2651 obj->gtt_space = node;
2747 if (obj->gtt_space == NULL)
2800 if (!i915_gem_valid_gtt_space(dev, obj->gtt_space, cache_level)) {
2806 if (obj->gtt_space) {
2829 obj->gtt_space->color = cache_level;
3092 if (obj->gtt_space != NULL) {
3107 if (obj->gtt_space == NULL) {
3133 BUG_ON(obj->gtt_space == NULL);