Lines Matching refs:compressed_fb
94 struct drm_mm_node *compressed_fb, *uninitialized_var(compressed_llb); in i915_setup_compression() local
97 compressed_fb = drm_mm_search_free(&dev_priv->mm.stolen, in i915_setup_compression()
99 if (!compressed_fb) in i915_setup_compression()
100 compressed_fb = drm_mm_search_free(&dev_priv->mm.stolen, in i915_setup_compression()
102 if (compressed_fb) in i915_setup_compression()
103 compressed_fb = drm_mm_get_block(compressed_fb, size, 4096); in i915_setup_compression()
104 if (!compressed_fb) in i915_setup_compression()
108 I915_WRITE(ILK_DPFC_CB_BASE, compressed_fb->start); in i915_setup_compression()
110 I915_WRITE(DPFC_CB_BASE, compressed_fb->start); in i915_setup_compression()
123 dev_priv->mm.stolen_base + compressed_fb->start); in i915_setup_compression()
128 dev_priv->compressed_fb = compressed_fb; in i915_setup_compression()
137 drm_mm_put_block(compressed_fb); in i915_setup_compression()
165 if (dev_priv->compressed_fb) in i915_gem_stolen_cleanup_compression()
166 drm_mm_put_block(dev_priv->compressed_fb); in i915_gem_stolen_cleanup_compression()