Home
last modified time | relevance | path

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

/linux-6.12.1/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.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()
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()
/linux-6.12.1/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()
845 if (ggtt->mappable_end) { in init_ggtt()
875 0, ggtt->mappable_end, in init_ggtt()
1225 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
1401 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
1407 if (ggtt->mappable_end < (64 << 20) || in gen6_gmch_probe()
1408 ggtt->mappable_end > (512 << 20)) { in gen6_gmch_probe()
1410 &ggtt->mappable_end); in gen6_gmch_probe()
[all …]
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()
Dintel_gtt.h371 resource_size_t mappable_end; /* End offset that we can CPU map */ member
603 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
/linux-6.12.1/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.c1369 0, ggtt->mappable_end, in igt_ggtt_page()
/linux-6.12.1/include/drm/intel/
Dintel-gtt.h15 resource_size_t *mappable_end);
/linux-6.12.1/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.12.1/drivers/gpu/drm/i915/gvt/
Dgvt.h403 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1318 0, ggtt->mappable_end, in reloc_iomap()