Home
last modified time | relevance | path

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

/linux-6.3-rc2/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.c75 0, ggtt->mappable_end, in insert_mappable_node()
922 if (obj->base.size > ggtt->mappable_end) in i915_gem_object_ggtt_pin_ww()
942 obj->base.size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin_ww()
967 (vma->fence_size > ggtt->mappable_end / 2 || in i915_gem_object_ggtt_pin_ww()
A Di915_vma.c699 i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
794 end = min_t(u64, end, i915_vm_to_ggtt(vma->vm)->mappable_end); in i915_vma_insert()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_ggtt.c64 if (ggtt->mappable_end) { in ggtt_init_hw()
67 ggtt->mappable_end)) { in ggtt_init_hw()
73 ggtt->mappable_end); in ggtt_init_hw()
536 if (ggtt->mappable_end) { in init_ggtt()
562 0, ggtt->mappable_end, in init_ggtt()
1067 if (ggtt->mappable_end < (64 << 20) || in gen6_gmch_probe()
1068 ggtt->mappable_end > (512 << 20)) { in gen6_gmch_probe()
1070 &ggtt->mappable_end); in gen6_gmch_probe()
1136 ggtt->mappable_end = in ggtt_probe_hw()
1145 ggtt->mappable_end = ggtt->vm.total; in ggtt_probe_hw()
[all …]
A Dintel_ggtt_gmch.c89 intel_gmch_gtt_get(&ggtt->vm.total, &gmadr_base, &ggtt->mappable_end); in intel_ggtt_gmch_probe()
91 ggtt->gmadr = DEFINE_RES_MEM(gmadr_base, ggtt->mappable_end); in intel_ggtt_gmch_probe()
A Dintel_gtt.h347 resource_size_t mappable_end; /* End offset that we can CPU map */ member
579 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Di915_vma.c269 VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
270 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
273 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
274 INVALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | ggtt->mappable_end), in igt_vma_pin1()
281 VALID(ggtt->mappable_end - 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
282 VALID(ggtt->mappable_end, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
283 NOSPACE(ggtt->mappable_end + 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
288 INVALID(8192, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
292 VALID(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
300 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.c1365 0, ggtt->mappable_end, in igt_ggtt_page()
/linux-6.3-rc2/include/drm/
A Dintel-gtt.h15 resource_size_t *mappable_end);
/linux-6.3-rc2/drivers/char/agp/
A Dintel-gtt.c1433 resource_size_t *mappable_end) in intel_gmch_gtt_get() argument
1437 *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; in intel_gmch_gtt_get()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dgvt.h409 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_execbuffer.c1312 0, ggtt->mappable_end, in reloc_iomap()

Completed in 34 milliseconds