Searched refs:gmadr (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | gvt.h | 371 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start 483 #define vgpu_gmadr_is_aperture(vgpu, gmadr) \ argument 484 ((gmadr >= vgpu_aperture_gmadr_base(vgpu)) && \ 485 (gmadr <= vgpu_aperture_gmadr_end(vgpu))) 487 #define vgpu_gmadr_is_hidden(vgpu, gmadr) \ argument 488 ((gmadr >= vgpu_hidden_gmadr_base(vgpu)) && \ 489 (gmadr <= vgpu_hidden_gmadr_end(vgpu))) 491 #define vgpu_gmadr_is_valid(vgpu, gmadr) \ argument 492 ((vgpu_gmadr_is_aperture(vgpu, gmadr) || \ 493 (vgpu_gmadr_is_hidden(vgpu, gmadr)))) [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
D | mock_gtt.c | 117 ggtt->gmadr = (struct resource) DEFINE_RES_MEM(0, 2048 * PAGE_SIZE); in mock_init_ggtt() 118 ggtt->mappable_end = resource_size(&ggtt->gmadr); in mock_init_ggtt()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_ggtt.c | 58 ggtt->gmadr.start, in ggtt_init_hw() 64 ggtt->mtrr = arch_phys_wc_add(ggtt->gmadr.start, in ggtt_init_hw() 862 ggtt->gmadr = pci_resource(pdev, 2); in gen8_gmch_probe() 863 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen8_gmch_probe() 1004 ggtt->gmadr = pci_resource(pdev, 2); in gen6_gmch_probe() 1005 ggtt->mappable_end = resource_size(&ggtt->gmadr); in gen6_gmch_probe() 1071 ggtt->gmadr = in i915_gmch_probe()
|
D | intel_gtt.h | 302 struct resource gmadr; /* GMADR resource */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 235 info->apertures->ranges[0].base = ggtt->gmadr.start; in intelfb_create() 240 (unsigned long)(ggtt->gmadr.start + vma->node.start); in intelfb_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 368 (ggtt->gmadr.start + vma->node.start) >> PAGE_SHIFT, in vm_fault_gtt()
|