Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/i915/gvt/
Dgvt.h395 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start
512 #define vgpu_gmadr_is_aperture(vgpu, gmadr) \ argument
513 ((gmadr >= vgpu_aperture_gmadr_base(vgpu)) && \
514 (gmadr <= vgpu_aperture_gmadr_end(vgpu)))
516 #define vgpu_gmadr_is_hidden(vgpu, gmadr) \ argument
517 ((gmadr >= vgpu_hidden_gmadr_base(vgpu)) && \
518 (gmadr <= vgpu_hidden_gmadr_end(vgpu)))
520 #define vgpu_gmadr_is_valid(vgpu, gmadr) \ argument
521 ((vgpu_gmadr_is_aperture(vgpu, gmadr) || \
522 (vgpu_gmadr_is_hidden(vgpu, gmadr))))
[all …]
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/i915/gt/
Dintel_gt_gmch.c499 ggtt->gmadr = in intel_gt_gmch_gen5_probe()
535 ggtt->gmadr = intel_pci_resource(pdev, 2); in intel_gt_gmch_gen6_probe()
536 ggtt->mappable_end = resource_size(&ggtt->gmadr); in intel_gt_gmch_gen6_probe()
602 ggtt->gmadr = intel_pci_resource(pdev, 2); in intel_gt_gmch_gen8_probe()
603 ggtt->mappable_end = resource_size(&ggtt->gmadr); in intel_gt_gmch_gen8_probe()
Dintel_ggtt.c60 ggtt->gmadr.start, in ggtt_init_hw()
66 ggtt->mtrr = arch_phys_wc_add(ggtt->gmadr.start, in ggtt_init_hw()
Dintel_gtt.h336 struct resource gmadr; /* GMADR resource */ member
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_fbdev.c276 info->apertures->ranges[0].base = ggtt->gmadr.start; in intelfb_create()
281 (unsigned long)(ggtt->gmadr.start + vma->node.start); in intelfb_create()
/linux-5.19.10/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c398 (ggtt->gmadr.start + vma->node.start) >> PAGE_SHIFT, in vm_fault_gtt()