Searched refs:gmadr (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/i915/gvt/ |
D | gvt.h | 385 #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/ |
D | mock_gtt.c | 116 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/ |
D | intel_ggtt.c | 61 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()
|
D | intel_gtt.h | 313 struct resource gmadr; /* GMADR resource */ member
|
/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 259 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/ |
D | i915_gem_mman.c | 382 (ggtt->gmadr.start + vma->node.start) >> PAGE_SHIFT, in vm_fault_gtt()
|