Home
last modified time | relevance | path

Searched refs:mappable_end (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Di915_vgpu.c202 unsigned long mappable_base, mappable_size, mappable_end; in intel_vgt_balloon() local
214 mappable_end = mappable_base + mappable_size; in intel_vgt_balloon()
223 if (mappable_end > ggtt->mappable_end || in intel_vgt_balloon()
224 unmappable_base < ggtt->mappable_end || in intel_vgt_balloon()
231 if (unmappable_base > ggtt->mappable_end) { in intel_vgt_balloon()
233 ggtt->mappable_end, unmappable_base); in intel_vgt_balloon()
255 if (mappable_end < ggtt->mappable_end) { in intel_vgt_balloon()
257 mappable_end, ggtt->mappable_end); in intel_vgt_balloon()
Di915_gem_gtt.c2947 0, ggtt->mappable_end, in i915_gem_init_ggtt()
3395 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
3449 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
3454 if (ggtt->mappable_end < (64<<20) || ggtt->mappable_end > (512<<20)) { in gen6_gmch_probe()
3455 DRM_ERROR("Unknown GMADR size (%pa)\n", &ggtt->mappable_end); in gen6_gmch_probe()
3512 intel_gtt_get(&ggtt->vm.total, &gmadr_base, &ggtt->mappable_end); in i915_gmch_probe()
3516 ggtt->mappable_end); in i915_gmch_probe()
3565 ggtt->mappable_end = in i915_ggtt_probe_hw()
3566 min_t(u64, ggtt->mappable_end, ggtt->vm.total); in i915_ggtt_probe_hw()
3574 ggtt->mappable_end = in i915_ggtt_probe_hw()
[all …]
Di915_vma.c470 mappable = vma->node.start + vma->fence_size <= i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
568 end = min_t(u64, end, dev_priv->ggtt.mappable_end); in i915_vma_insert()
Di915_gem_gtt.h394 resource_size_t mappable_end; /* End offset that we can CPU map */ member
Dintel_fbdev.c244 info->apertures->ranges[0].size = ggtt->mappable_end; in intelfb_create()
Di915_gem.c70 0, ggtt->mappable_end, in insert_mappable_node()
4428 if (obj->base.size > dev_priv->ggtt.mappable_end) in i915_gem_object_ggtt_pin()
4447 obj->base.size > dev_priv->ggtt.mappable_end / 2) in i915_gem_object_ggtt_pin()
4461 vma->fence_size > dev_priv->ggtt.mappable_end / 2) in i915_gem_object_ggtt_pin()
Di915_drv.c733 ap->ranges[0].size = ggtt->mappable_end; in i915_kick_out_firmware_fb()
Di915_gem_execbuffer.c1036 0, ggtt->mappable_end, in reloc_iomap()
Di915_debugfs.c511 ggtt->vm.total, &ggtt->mappable_end); in i915_gem_object_info()
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_vma.c259 VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (i915->ggtt.mappable_end - 4096)), in igt_vma_pin1()
260 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | (i915->ggtt.mappable_end - 4096)), in igt_vma_pin1()
263 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (i915->ggtt.mappable_end - 4096)), in igt_vma_pin1()
264 INVALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | i915->ggtt.mappable_end), in igt_vma_pin1()
271 VALID(i915->ggtt.mappable_end - 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
272 VALID(i915->ggtt.mappable_end, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
273 NOSPACE(i915->ggtt.mappable_end + 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
278 INVALID(8192, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (i915->ggtt.mappable_end - 4096)), in igt_vma_pin1()
282 VALID(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (i915->ggtt.mappable_end - 4096)), in igt_vma_pin1()
290 NOSPACE(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | i915->ggtt.mappable_end), in igt_vma_pin1()
[all …]
Dmock_gtt.c107 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
Di915_gem_gtt.c1167 0, ggtt->mappable_end, in igt_ggtt_page()
/Linux-v4.19/include/drm/
Dintel-gtt.h9 resource_size_t *mappable_end);
/Linux-v4.19/drivers/char/agp/
Dintel-gtt.c1428 resource_size_t *mappable_end) in intel_gtt_get() argument
1432 *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; in intel_gtt_get()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dgvt.h379 #define gvt_aperture_sz(gvt) (gvt->dev_priv->ggtt.mappable_end)