/drivers/char/agp/ |
D | alpha-agp.c | 157 struct aper_size_info_fixed *aper_size; in alpha_core_agp_setup() local 167 aper_size = alpha_core_agp_sizes; in alpha_core_agp_setup() 168 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup() 169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup() 170 aper_size->page_order = __ffs(aper_size->num_entries / 1024); in alpha_core_agp_setup() 188 alpha_bridge->current_size = aper_size; /* only 1 size */ in alpha_core_agp_setup()
|
D | compat_ioctl.c | 51 userinfo.aper_size = kerninfo.aper_size; in compat_agpioc_info_wrap()
|
D | compat_ioctl.h | 49 compat_size_t aper_size; /* size of aperture */ member
|
D | intel-gtt.c | 679 unsigned int aper_size; in intel_fake_agp_fetch_size() local 682 aper_size = (intel_private.gtt_mappable_entries << PAGE_SHIFT) / MB(1); in intel_fake_agp_fetch_size() 685 if (aper_size == intel_fake_agp_sizes[i].size) { in intel_fake_agp_fetch_size() 688 return aper_size; in intel_fake_agp_fetch_size()
|
D | frontend.c | 581 current_size = kerninfo.aper_size; in agp_mmap() 725 userinfo.aper_size = kerninfo.aper_size; in agpioc_info_wrap()
|
/drivers/gpu/drm/radeon/ |
D | radeon_agp.c | 210 info->aperture_size = kern->aper_size * 1024 * 1024; in radeon_agp_head_info() 245 if (rdev->agp->agp_info.aper_size < 32) { in radeon_agp_init() 249 rdev->agp->agp_info.aper_size); in radeon_agp_init() 338 rdev->mc.gtt_size = rdev->agp->agp_info.aper_size << 20; in radeon_agp_init()
|
D | radeon_object.c | 410 rdev->mc.aper_size); in radeon_bo_init() 415 rdev->mc.aper_size); in radeon_bo_init() 419 (unsigned long long)rdev->mc.aper_size >> 20); in radeon_bo_init() 429 arch_io_free_memtype_wc(rdev->mc.aper_base, rdev->mc.aper_size); in radeon_bo_fini()
|
D | radeon_device.c | 573 mc->real_vram_size = mc->aper_size; in radeon_vram_location() 574 mc->mc_vram_size = mc->aper_size; in radeon_vram_location() 579 mc->real_vram_size = mc->aper_size; in radeon_vram_location() 580 mc->mc_vram_size = mc->aper_size; in radeon_vram_location()
|
D | r100.c | 2742 u32 aper_size; in r100_get_accessible_vram() local 2745 aper_size = RREG32(RADEON_CONFIG_APER_SIZE); in r100_get_accessible_vram() 2755 return aper_size * 2; in r100_get_accessible_vram() 2766 return aper_size; in r100_get_accessible_vram() 2774 return aper_size * 2; in r100_get_accessible_vram() 2775 return aper_size; in r100_get_accessible_vram() 2784 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in r100_vram_init_sizes() 2787 if (rdev->mc.visible_vram_size > rdev->mc.aper_size) in r100_vram_init_sizes() 2788 rdev->mc.visible_vram_size = rdev->mc.aper_size; in r100_vram_init_sizes() 2809 if (rdev->mc.aper_size > config_aper_size) in r100_vram_init_sizes() [all …]
|
D | radeon_fb.c | 279 info->apertures->ranges[0].size = rdev->mc.aper_size; in radeonfb_create()
|
D | rs600.c | 884 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rs600_mc_init() 889 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rs600_mc_init()
|
D | rs690.c | 162 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rs690_mc_init() 163 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rs690_mc_init()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | agp.c | 134 pci->agp.size = info.aper_size * 1024 * 1024; in nvkm_agp_ctor()
|
/drivers/gpu/drm/ |
D | drm_pci.c | 141 dev->agp->agp_info.aper_size * in drm_legacy_pci_agp_init()
|
D | drm_agpsupport.c | 71 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_legacy_agp_info()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v7_0.c | 381 adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v7_0_mc_init() 385 adev->gmc.real_vram_size > adev->gmc.aper_size && in gmc_v7_0_mc_init() 388 adev->gmc.aper_size = adev->gmc.real_vram_size; in gmc_v7_0_mc_init() 393 adev->gmc.visible_vram_size = adev->gmc.aper_size; in gmc_v7_0_mc_init()
|
D | gmc_v10_0.c | 789 adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v10_0_mc_init() 794 adev->gmc.aper_size = adev->gmc.real_vram_size; in gmc_v10_0_mc_init() 799 adev->gmc.visible_vram_size = adev->gmc.aper_size; in gmc_v10_0_mc_init()
|
D | amdgpu_gmc.h | 171 resource_size_t aper_size; member
|
D | amdgpu_object.c | 1075 adev->gmc.aper_size); in amdgpu_bo_init() 1079 adev->gmc.aper_size); in amdgpu_bo_init() 1084 (unsigned long long)adev->gmc.aper_size >> 20); in amdgpu_bo_init()
|
D | gmc_v9_0.c | 1376 adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v9_0_mc_init() 1398 adev->gmc.aper_size = adev->gmc.real_vram_size; in gmc_v9_0_mc_init() 1403 adev->gmc.visible_vram_size = adev->gmc.aper_size; in gmc_v9_0_mc_init()
|
D | gmc_v6_0.c | 328 adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v6_0_mc_init() 329 adev->gmc.visible_vram_size = adev->gmc.aper_size; in gmc_v6_0_mc_init()
|
D | amdgpu_fb.c | 257 info->apertures->ranges[0].size = adev->gmc.aper_size; in amdgpufb_create()
|
D | gmc_v8_0.c | 581 adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v8_0_mc_init() 586 adev->gmc.aper_size = adev->gmc.real_vram_size; in gmc_v8_0_mc_init() 591 adev->gmc.visible_vram_size = adev->gmc.aper_size; in gmc_v8_0_mc_init()
|
/drivers/video/fbdev/aty/ |
D | radeon_base.c | 2021 u32 aper_base, aper_size; in fixup_memory_mappings() local 2037 aper_size = INREG(CNFG_APER_SIZE); in fixup_memory_mappings() 2042 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings() 2048 agp_base = aper_base + aper_size; in fixup_memory_mappings() 2086 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16), in fixup_memory_mappings()
|
/drivers/gpu/drm/i915/ |
D | i915_gem.c | 106 args->aper_size = ggtt->vm.total; in i915_gem_get_aperture_ioctl() 107 args->aper_available_size = args->aper_size - pinned; in i915_gem_get_aperture_ioctl()
|