Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/gvt/
Dgvt.h385 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start
500 #define vgpu_gmadr_is_aperture(vgpu, gmadr) \ argument
501 ((gmadr >= vgpu_aperture_gmadr_base(vgpu)) && \
502 (gmadr <= vgpu_aperture_gmadr_end(vgpu)))
504 #define vgpu_gmadr_is_hidden(vgpu, gmadr) \ argument
505 ((gmadr >= vgpu_hidden_gmadr_base(vgpu)) && \
506 (gmadr <= vgpu_hidden_gmadr_end(vgpu)))
508 #define vgpu_gmadr_is_valid(vgpu, gmadr) \ argument
509 ((vgpu_gmadr_is_aperture(vgpu, gmadr) || \
510 (vgpu_gmadr_is_hidden(vgpu, gmadr))))
[all …]
/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c116 ggtt->gmadr = (struct resource) DEFINE_RES_MEM(0, 2048 * PAGE_SIZE); in mock_init_ggtt()
117 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c61 ggtt->gmadr.start, in ggtt_init_hw()
67 ggtt->mtrr = arch_phys_wc_add(ggtt->gmadr.start, in ggtt_init_hw()
902 ggtt->gmadr = pci_resource(pdev, 2); in gen8_gmch_probe()
903 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe()
1046 ggtt->gmadr = pci_resource(pdev, 2); in gen6_gmch_probe()
1047 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe()
1113 ggtt->gmadr = in i915_gmch_probe()
Dintel_gtt.h313 struct resource gmadr; /* GMADR resource */ member
/drivers/gpu/drm/i915/display/
Dintel_fbdev.c259 info->apertures->ranges[0].base = ggtt->gmadr.start; in intelfb_create()
264 (unsigned long)(ggtt->gmadr.start + vma->node.start); in intelfb_create()
/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c382 (ggtt->gmadr.start + vma->node.start) >> PAGE_SHIFT, in vm_fault_gtt()