Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dgvt.h407 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start
513 #define vgpu_gmadr_is_aperture(vgpu, gmadr) \ argument
514 ((gmadr >= vgpu_aperture_gmadr_base(vgpu)) && \
515 (gmadr <= vgpu_aperture_gmadr_end(vgpu)))
517 #define vgpu_gmadr_is_hidden(vgpu, gmadr) \ argument
518 ((gmadr >= vgpu_hidden_gmadr_base(vgpu)) && \
519 (gmadr <= vgpu_hidden_gmadr_end(vgpu)))
521 #define vgpu_gmadr_is_valid(vgpu, gmadr) \ argument
522 ((vgpu_gmadr_is_aperture(vgpu, gmadr) || \
523 (vgpu_gmadr_is_hidden(vgpu, gmadr))))
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c115 ggtt->gmadr = (struct resource) 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.1.9/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c71 ggtt->gmadr.start, in ggtt_init_hw()
77 ggtt->mtrr = arch_phys_wc_add(ggtt->gmadr.start, in ggtt_init_hw()
938 ggtt->gmadr = pci_resource(pdev, GTT_APERTURE_BAR); in gen8_gmch_probe()
939 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
1095 ggtt->gmadr = pci_resource(pdev, GTT_APERTURE_BAR); in gen6_gmch_probe()
1096 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
Dintel_ggtt_gmch.c92 ggtt->gmadr = in intel_ggtt_gmch_probe()
Dintel_gtt.h345 struct resource gmadr; /* GMADR resource */ member
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_fbdev.c282 info->apertures->ranges[0].base = ggtt->gmadr.start; in intelfb_create()
287 (unsigned long)(ggtt->gmadr.start + vma->node.start); in intelfb_create()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c398 (ggtt->gmadr.start + vma->node.start) >> PAGE_SHIFT, in vm_fault_gtt()