Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_vgpu.c272 unsigned long mappable_base, mappable_size, mappable_end; in intel_vgt_balloon() local
288 mappable_end = mappable_base + mappable_size; in intel_vgt_balloon()
297 if (mappable_end > ggtt->mappable_end || in intel_vgt_balloon()
298 unmappable_base < ggtt->mappable_end || in intel_vgt_balloon()
305 if (unmappable_base > ggtt->mappable_end) { in intel_vgt_balloon()
307 ggtt->mappable_end, unmappable_base); in intel_vgt_balloon()
329 if (mappable_end < ggtt->mappable_end) { in intel_vgt_balloon()
331 mappable_end, ggtt->mappable_end); in intel_vgt_balloon()
H A Dintel_region_lmem.c114 resource_size_t mappable_end; in intel_setup_fake_lmem() local
122 mappable_end = pci_resource_len(pdev, 2); in intel_setup_fake_lmem()
128 mappable_end, in intel_setup_fake_lmem()
H A Di915_gem.c84 0, ggtt->mappable_end, in insert_mappable_node()
996 if (obj->base.size > ggtt->mappable_end) in i915_gem_object_ggtt_pin()
1016 obj->base.size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin()
1030 vma->fence_size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin()
H A Di915_vma.c623 mappable = vma->node.start + vma->fence_size <= i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
717 end = min_t(u64, end, i915_vm_to_ggtt(vma->vm)->mappable_end); in i915_vma_insert()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_ggtt.c65 if (ggtt->mappable_end) { in ggtt_init_hw()
68 ggtt->gmadr.start, ggtt->mappable_end)) { in ggtt_init_hw()
73 * Note: mappable_end is the size, not end paddr, of in ggtt_init_hw()
76 pmap_pv_track(ggtt->gmadr.start, ggtt->mappable_end); in ggtt_init_hw()
80 ggtt->mappable_end)) { in ggtt_init_hw()
87 ggtt->mappable_end); in ggtt_init_hw()
653 if (ggtt->mappable_end) { in init_ggtt()
659 0, ggtt->mappable_end, in init_ggtt()
843 if (ggtt->mappable_end) in ggtt_cleanup_hw()
844 pmap_pv_untrack(ggtt->gmadr.start, ggtt->mappable_end); in ggtt_cleanup_hw()
[all...]
H A Dintel_gtt.h351 resource_size_t mappable_end; /* End offset that we can CPU map */ member
563 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Di915_vma.c273 VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
274 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
277 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
278 INVALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | ggtt->mappable_end), in igt_vma_pin1()
285 VALID(ggtt->mappable_end - 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
286 VALID(ggtt->mappable_end, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
287 NOSPACE(ggtt->mappable_end + 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
292 INVALID(8192, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
296 VALID(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
304 NOSPACE(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | ggtt->mappable_end), in igt_vma_pin1()
[all …]
H A Dmock_gtt.c117 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
H A Di915_gem_gtt.c1169 0, ggtt->mappable_end, in igt_ggtt_page()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dgvt.h382 #define gvt_aperture_sz(gvt) (gvt->dev_priv->ggtt.mappable_end)
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_fbdev.c292 info->apertures->ranges[0].size = ggtt->mappable_end; in intelfb_create()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_execbuffer.c1058 0, ggtt->mappable_end, in reloc_iomap()