Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
A Di915_vgpu.c259 unsigned long mappable_base, mappable_size, mappable_end; in intel_vgt_balloon() local
275 mappable_end = mappable_base + mappable_size; in intel_vgt_balloon()
286 if (mappable_end > ggtt->mappable_end || in intel_vgt_balloon()
287 unmappable_base < ggtt->mappable_end || in intel_vgt_balloon()
294 if (unmappable_base > ggtt->mappable_end) { in intel_vgt_balloon()
296 ggtt->mappable_end, unmappable_base); in intel_vgt_balloon()
318 if (mappable_end < ggtt->mappable_end) { in intel_vgt_balloon()
320 mappable_end, ggtt->mappable_end); in intel_vgt_balloon()
A Di915_gem.c72 0, ggtt->mappable_end, in insert_mappable_node()
925 if (obj->base.size > ggtt->mappable_end) in i915_gem_object_ggtt_pin_ww()
945 obj->base.size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin_ww()
970 (vma->fence_size > ggtt->mappable_end / 2 || in i915_gem_object_ggtt_pin_ww()
A Di915_vma.c732 i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
828 end = min_t(u64, end, i915_vm_to_ggtt(vma->vm)->mappable_end); in i915_vma_insert()
/drivers/gpu/drm/i915/gt/
A Dintel_ggtt.c69 if (ggtt->mappable_end) { in ggtt_init_hw()
72 ggtt->mappable_end)) { in ggtt_init_hw()
78 ggtt->mappable_end); in ggtt_init_hw()
890 if (ggtt->mappable_end) { in init_ggtt()
920 0, ggtt->mappable_end, in init_ggtt()
1463 if (ggtt->mappable_end < (64 << 20) || in gen6_gmch_probe()
1464 ggtt->mappable_end > (512 << 20)) { in gen6_gmch_probe()
1466 &ggtt->mappable_end); in gen6_gmch_probe()
1536 ggtt->mappable_end = in ggtt_probe_hw()
1545 ggtt->mappable_end = ggtt->vm.total; in ggtt_probe_hw()
[all …]
A Dintel_ggtt_gmch.c96 intel_gmch_gtt_get(&ggtt->vm.total, &gmadr_base, &ggtt->mappable_end); in intel_ggtt_gmch_probe()
98 ggtt->gmadr = DEFINE_RES_MEM(gmadr_base, ggtt->mappable_end); in intel_ggtt_gmch_probe()
A Dintel_gtt.h374 resource_size_t mappable_end; /* End offset that we can CPU map */ member
609 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
/drivers/gpu/drm/i915/selftests/
A Di915_vma.c270 VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
271 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
274 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
275 INVALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | ggtt->mappable_end), in igt_vma_pin1()
282 VALID(ggtt->mappable_end - 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
283 VALID(ggtt->mappable_end, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
284 NOSPACE(ggtt->mappable_end + 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
289 INVALID(8192, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
293 VALID(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
302 NOSPACE(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | ggtt->mappable_end), in igt_vma_pin1()
[all …]
A Dmock_gtt.c116 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
A Di915_gem_gtt.c1372 0, ggtt->mappable_end, in igt_ggtt_page()
/drivers/char/agp/
A Dintel-gtt.c1488 resource_size_t *mappable_end) in intel_gmch_gtt_get() argument
1492 *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; in intel_gmch_gtt_get()
/drivers/gpu/drm/i915/gvt/
A Dgvt.h403 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
/drivers/gpu/drm/i915/gem/
A Di915_gem_execbuffer.c1317 0, ggtt->mappable_end, in reloc_iomap()

Completed in 40 milliseconds