Home
last modified time | relevance | path

Searched refs:gmadr (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dgvt.h404 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start
509 #define vgpu_gmadr_is_aperture(vgpu, gmadr) \ argument
510 ((gmadr >= vgpu_aperture_gmadr_base(vgpu)) && \
511 (gmadr <= vgpu_aperture_gmadr_end(vgpu)))
513 #define vgpu_gmadr_is_hidden(vgpu, gmadr) \ argument
514 ((gmadr >= vgpu_hidden_gmadr_base(vgpu)) && \
515 (gmadr <= vgpu_hidden_gmadr_end(vgpu)))
517 #define vgpu_gmadr_is_valid(vgpu, gmadr) \ argument
518 ((vgpu_gmadr_is_aperture(vgpu, gmadr) || \
519 (vgpu_gmadr_is_hidden(vgpu, gmadr))))
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c115 ggtt->gmadr = DEFINE_RES_MEM(0, 2048 * PAGE_SIZE); in mock_init_ggtt()
116 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_ggtt_gmch.c91 ggtt->gmadr = DEFINE_RES_MEM(gmadr_base, ggtt->mappable_end); in intel_ggtt_gmch_probe()
Dintel_ggtt.c71 ggtt->gmadr.start, in ggtt_init_hw()
77 ggtt->mtrr = arch_phys_wc_add(ggtt->gmadr.start, in ggtt_init_hw()
1224 ggtt->gmadr = pci_resource(pdev, GEN4_GMADR_BAR); in gen8_gmch_probe()
1225 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
1400 ggtt->gmadr = pci_resource(pdev, GEN4_GMADR_BAR); in gen6_gmch_probe()
1401 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
Dintel_gtt.h370 struct resource gmadr; /* GMADR resource */ member
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fbdev_fb.c90 (unsigned long)(ggtt->gmadr.start + i915_ggtt_offset(vma)); in intel_fbdev_fb_fill_info()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c457 set_address_limits(area, vma, obj_offset, ggtt->gmadr.start, in vm_fault_gtt()