/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_vgpu.c | 259 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, ggt in intel_vgt_balloon() [all...] |
H A D | intel_region_lmem.c | 109 resource_size_t mappable_end; in intel_setup_fake_lmem() local 117 mappable_end = pci_resource_len(pdev, 2); in intel_setup_fake_lmem() 123 mappable_end, in intel_setup_fake_lmem()
|
H A D | i915_gem.c | 71 0, ggtt->mappable_end, in insert_mappable_node() 965 if (obj->base.size > ggtt->mappable_end) in i915_gem_object_ggtt_pin_ww() 985 obj->base.size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin_ww() 1000 vma->fence_size > ggtt->mappable_end / 2) in i915_gem_object_ggtt_pin_ww()
|
H A D | i915_vma.c | 571 mappable = vma->node.start + vma->fence_size <= i915_vm_to_ggtt(vma->vm)->mappable_end; in __i915_vma_set_map_and_fenceable() 652 end = min_t(u64, end, i915_vm_to_ggtt(vma->vm)->mappable_end); in i915_vma_insert()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_vgpu.c | 259 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, ggt in intel_vgt_balloon() [all...] |
H A D | i915_gem.c | 75 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()
|
H A D | i915_vma.c | 700 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 56 if (ggtt->mappable_end) { in ggtt_init_hw() 59 ggtt->mappable_end)) { in ggtt_init_hw() 65 ggtt->mappable_end); in ggtt_init_hw() 528 if (ggtt->mappable_end) { in init_ggtt() 554 0, ggtt->mappable_end, in init_ggtt() 863 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe() 1005 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe() 1011 if (ggtt->mappable_end < (64<<20) || ggtt->mappable_end > (512<<20)) { in gen6_gmch_probe() 1013 &ggtt->mappable_end); in gen6_gmch_probe() [all...] |
H A D | intel_gtt.h | 303 resource_size_t mappable_end; /* End offset that we can CPU map */ member 495 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 64 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...] |
H A D | intel_ggtt_gmch.c | 89 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()
|
H A D | intel_gtt.h | 363 resource_size_t mappable_end; /* End offset that we can CPU map */ member 595 return ggtt->mappable_end > 0; in i915_ggtt_has_aperture()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 268 VALID(0, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1() 269 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1() 272 VALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1() 273 INVALID(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | ggtt->mappable_end), in igt_vma_pin1() 280 VALID(ggtt->mappable_end - 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1() 281 VALID(ggtt->mappable_end, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1() 282 NOSPACE(ggtt->mappable_end + 4096, PIN_GLOBAL | PIN_MAPPABLE), in igt_vma_pin1() 287 INVALID(8192, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_FIXED | (ggtt->mappable_end - 4096)), in igt_vma_pin1() 291 VALID(8192, PIN_GLOBAL | PIN_OFFSET_BIAS | (ggtt->mappable_end - 4096)), in igt_vma_pin1() 299 NOSPACE(0, PIN_GLOBAL | PIN_MAPPABLE | PIN_OFFSET_BIAS | ggtt->mappable_end), in igt_vma_pin1() [all...] |
H A D | mock_gtt.c | 118 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
|
H A D | i915_gem_gtt.c | 1178 0, ggtt->mappable_end, in igt_ggtt_page()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 269 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...] |
H A D | mock_gtt.c | 116 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
|
H A D | i915_gem_gtt.c | 1369 0, ggtt->mappable_end, in igt_ggtt_page()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | intel-gtt.h | 13 resource_size_t *mappable_end);
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | intel-gtt.h | 15 resource_size_t *mappable_end);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_fbdev.c | 236 info->apertures->ranges[0].size = ggtt->mappable_end; in intelfb_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | gvt.h | 372 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | gvt.h | 410 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | intel-gtt.c | 1435 resource_size_t *mappable_end) in intel_gtt_get() 1439 *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; in intel_gtt_get() 1433 intel_gtt_get(u64 *gtt_total, phys_addr_t *mappable_base, resource_size_t *mappable_end) intel_gtt_get() argument
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | intel-gtt.c | 1433 resource_size_t *mappable_end) in intel_gmch_gtt_get() 1437 *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; in intel_gmch_gtt_get() 1431 intel_gmch_gtt_get(u64 *gtt_total, phys_addr_t *mappable_base, resource_size_t *mappable_end) intel_gmch_gtt_get() argument
|