Lines Matching refs:gtt_space
128 return obj->gtt_space && !obj->active;
171 pinned += obj->gtt_space->size;
331 if (obj->gtt_space) {
511 if (obj->gtt_space) {
1329 BUG_ON(obj->gtt_space);
2116 if (obj->gtt_space == NULL)
2153 drm_mm_put_block(obj->gtt_space);
2154 obj->gtt_space = NULL;
2211 u32 size = obj->gtt_space->size;
2240 u32 size = obj->gtt_space->size;
2284 u32 size = obj->gtt_space->size;
2505 struct drm_mm_node *gtt_space,
2517 if (gtt_space == NULL)
2520 if (list_empty(>t_space->node_list))
2523 other = list_entry(gtt_space->node_list.prev, struct drm_mm_node, node_list);
2527 other = list_entry(gtt_space->node_list.next, struct drm_mm_node, node_list);
2528 if (other->allocated && !gtt_space->hole_follows && other->color != cache_level)
2542 if (obj->gtt_space == NULL) {
2548 if (obj->cache_level != obj->gtt_space->color) {
2550 obj->gtt_space->start,
2551 obj->gtt_space->start + obj->gtt_space->size,
2553 obj->gtt_space->color);
2559 obj->gtt_space,
2562 obj->gtt_space->start,
2563 obj->gtt_space->start + obj->gtt_space->size,
2637 ret = drm_mm_insert_node_in_range_generic(&dev_priv->mm.gtt_space, node,
2670 obj->gtt_space = node;
2766 if (obj->gtt_space == NULL)
2819 if (!i915_gem_valid_gtt_space(dev, obj->gtt_space, cache_level)) {
2825 if (obj->gtt_space) {
2848 obj->gtt_space->color = cache_level;
3111 if (obj->gtt_space != NULL) {
3126 if (obj->gtt_space == NULL) {
3152 BUG_ON(obj->gtt_space == NULL);