• Home
  • Raw
  • Download

Lines Matching refs:mm

81 		base -= dev_priv->mm.gtt->stolen_size;  in i915_stolen_to_physical()
97 compressed_fb = drm_mm_search_free(&dev_priv->mm.stolen, in i915_setup_compression()
100 compressed_fb = drm_mm_search_free(&dev_priv->mm.stolen, in i915_setup_compression()
112 compressed_llb = drm_mm_search_free(&dev_priv->mm.stolen, in i915_setup_compression()
123 dev_priv->mm.stolen_base + compressed_fb->start); in i915_setup_compression()
125 dev_priv->mm.stolen_base + compressed_llb->start); in i915_setup_compression()
146 if (dev_priv->mm.stolen_base == 0) in i915_gem_stolen_setup_compression()
179 drm_mm_takedown(&dev_priv->mm.stolen); in i915_gem_cleanup_stolen()
186 dev_priv->mm.stolen_base = i915_stolen_to_physical(dev); in i915_gem_init_stolen()
187 if (dev_priv->mm.stolen_base == 0) in i915_gem_init_stolen()
191 dev_priv->gtt.stolen_size, dev_priv->mm.stolen_base); in i915_gem_init_stolen()
194 drm_mm_init(&dev_priv->mm.stolen, 0, dev_priv->gtt.stolen_size); in i915_gem_init_stolen()
228 sg_dma_address(sg) = (dma_addr_t)dev_priv->mm.stolen_base + offset; in i915_pages_create_for_stolen()
294 if (dev_priv->mm.stolen_base == 0) in i915_gem_object_create_stolen()
301 stolen = drm_mm_search_free(&dev_priv->mm.stolen, size, 4096, 0); in i915_gem_object_create_stolen()
325 if (dev_priv->mm.stolen_base == 0) in i915_gem_object_create_stolen_for_preallocated()
339 stolen = drm_mm_create_block(&dev_priv->mm.stolen, in i915_gem_object_create_stolen_for_preallocated()
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()
374 list_add_tail(&obj->gtt_list, &dev_priv->mm.bound_list); in i915_gem_object_create_stolen_for_preallocated()
375 list_add_tail(&obj->mm_list, &dev_priv->mm.inactive_list); in i915_gem_object_create_stolen_for_preallocated()