Home
last modified time | relevance | path

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

/linux-6.6.21/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()
928 if (obj->base.size > ggtt->mappable_end) in i915_gem_object_ggtt_pin_ww()
948 obj->base.size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin_ww()
973 (vma->fence_size > ggtt->mappable_end / 2 || in i915_gem_object_ggtt_pin_ww()
Di915_vma.c700 i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
796 end = min_t(u64, end, i915_vm_to_ggtt(vma->vm)->mappable_end); in i915_vma_insert()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
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()
609 if (ggtt->mappable_end) { in init_ggtt()
639 0, ggtt->mappable_end, in init_ggtt()
982 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
1147 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
1153 if (ggtt->mappable_end < (64 << 20) || in gen6_gmch_probe()
1154 ggtt->mappable_end > (512 << 20)) { in gen6_gmch_probe()
1156 &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.h363 resource_size_t mappable_end; /* End offset that we can CPU map */ member
595 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
/linux-6.6.21/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.6.21/include/drm/
Dintel-gtt.h15 resource_size_t *mappable_end);
/linux-6.6.21/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.6.21/drivers/gpu/drm/i915/gvt/
Dgvt.h410 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1317 0, ggtt->mappable_end, in reloc_iomap()