Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/
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()
Di915_gem.c75 0, ggtt->mappable_end, in insert_mappable_node()
912 if (obj->base.size > ggtt->mappable_end) in i915_gem_object_ggtt_pin_ww()
932 obj->base.size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin_ww()
957 (vma->fence_size > ggtt->mappable_end / 2 || in i915_gem_object_ggtt_pin_ww()
Di915_vma.c691 mappable = vma->node.start + vma->fence_size <= i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
773 end = min_t(u64, end, i915_vm_to_ggtt(vma->vm)->mappable_end); in i915_vma_insert()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
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()
570 if (ggtt->mappable_end) { in init_ggtt()
596 0, ggtt->mappable_end, in init_ggtt()
939 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
1096 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
1102 if (ggtt->mappable_end < (64 << 20) || in gen6_gmch_probe()
1103 ggtt->mappable_end > (512 << 20)) { in gen6_gmch_probe()
1105 &ggtt->mappable_end); in gen6_gmch_probe()
[all …]
Dintel_ggtt_gmch.c90 intel_gmch_gtt_get(&ggtt->vm.total, &gmadr_base, &ggtt->mappable_end); in intel_ggtt_gmch_probe()
93 (struct resource)DEFINE_RES_MEM(gmadr_base, ggtt->mappable_end); in intel_ggtt_gmch_probe()
Dintel_gtt.h346 resource_size_t mappable_end; /* End offset that we can CPU map */ member
589 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
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 …]
Dmock_gtt.c116 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
Di915_gem_gtt.c1370 0, ggtt->mappable_end, in igt_ggtt_page()
/linux-6.1.9/include/drm/
Dintel-gtt.h15 resource_size_t *mappable_end);
/linux-6.1.9/drivers/char/agp/
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.1.9/drivers/gpu/drm/i915/gvt/
Dgvt.h406 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_fbdev.c283 info->apertures->ranges[0].size = ggtt->mappable_end; in intelfb_create()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1308 0, ggtt->mappable_end, in reloc_iomap()