Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/
Di915_vgpu.c225 unsigned long mappable_base, mappable_size, mappable_end; in intel_vgt_balloon() local
241 mappable_end = mappable_base + mappable_size; in intel_vgt_balloon()
250 if (mappable_end > ggtt->mappable_end || in intel_vgt_balloon()
251 unmappable_base < ggtt->mappable_end || in intel_vgt_balloon()
258 if (unmappable_base > ggtt->mappable_end) { in intel_vgt_balloon()
260 ggtt->mappable_end, unmappable_base); in intel_vgt_balloon()
282 if (mappable_end < ggtt->mappable_end) { in intel_vgt_balloon()
284 mappable_end, ggtt->mappable_end); in intel_vgt_balloon()
Di915_gem_gtt.c2698 0, ggtt->mappable_end, in init_ggtt()
2991 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
3048 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
3053 if (ggtt->mappable_end < (64<<20) || ggtt->mappable_end > (512<<20)) { in gen6_gmch_probe()
3054 DRM_ERROR("Unknown GMADR size (%pa)\n", &ggtt->mappable_end); in gen6_gmch_probe()
3113 intel_gtt_get(&ggtt->vm.total, &gmadr_base, &ggtt->mappable_end); in i915_gmch_probe()
3117 ggtt->mappable_end); in i915_gmch_probe()
3162 ggtt->mappable_end = in ggtt_probe_hw()
3163 min_t(u64, ggtt->mappable_end, ggtt->vm.total); in ggtt_probe_hw()
3166 if (ggtt->mappable_end > ggtt->vm.total) { in ggtt_probe_hw()
[all …]
Di915_gem.c71 0, ggtt->mappable_end, in insert_mappable_node()
998 if (obj->base.size > dev_priv->ggtt.mappable_end) in i915_gem_object_pin()
1017 obj->base.size > dev_priv->ggtt.mappable_end / 2) in i915_gem_object_pin()
1031 vma->fence_size > dev_priv->ggtt.mappable_end / 2) in i915_gem_object_pin()
Di915_vma.c472 mappable = vma->node.start + vma->fence_size <= i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable()
570 end = min_t(u64, end, dev_priv->ggtt.mappable_end); in i915_vma_insert()
Di915_gem_gtt.h391 resource_size_t mappable_end; /* End offset that we can CPU map */ member
Di915_drv.c435 ap->ranges[0].size = ggtt->mappable_end; in i915_kick_out_firmware_fb()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_vma.c265 VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
266 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
269 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
270 INVALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | ggtt->mappable_end), in igt_vma_pin1()
277 VALID(ggtt->mappable_end - 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
278 VALID(ggtt->mappable_end, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
279 NOSPACE(ggtt->mappable_end + 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1()
284 INVALID(8192, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
288 VALID(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1()
296 NOSPACE(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | ggtt->mappable_end), in igt_vma_pin1()
[all …]
Dmock_gtt.c106 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
Di915_gem_gtt.c1167 0, ggtt->mappable_end, in igt_ggtt_page()
/Linux-v5.4/include/drm/
Dintel-gtt.h12 resource_size_t *mappable_end);
/Linux-v5.4/drivers/char/agp/
Dintel-gtt.c1428 resource_size_t *mappable_end) in intel_gtt_get() argument
1432 *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; in intel_gtt_get()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_fbdev.c236 info->apertures->ranges[0].size = ggtt->mappable_end; in intelfb_create()
/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Dgvt.h380 #define gvt_aperture_sz(gvt) (gvt->dev_priv->ggtt.mappable_end)
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c1050 0, ggtt->mappable_end, in reloc_iomap()