Home
last modified time | relevance | path

Searched refs:aper_size (Results 1 – 25 of 31) sorted by relevance

12

/drivers/char/agp/
Dalpha-agp.c159 struct aper_size_info_fixed *aper_size; in alpha_core_agp_setup() local
169 aper_size = alpha_core_agp_sizes; in alpha_core_agp_setup()
170 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup()
171 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
172 aper_size->page_order = __ffs(aper_size->num_entries / 1024); in alpha_core_agp_setup()
190 alpha_bridge->current_size = aper_size; /* only 1 size */ in alpha_core_agp_setup()
Dcompat_ioctl.c51 userinfo.aper_size = kerninfo.aper_size; in compat_agpioc_info_wrap()
Dcompat_ioctl.h49 compat_size_t aper_size; /* size of aperture */ member
Dintel-gtt.c676 unsigned int aper_size; in intel_fake_agp_fetch_size() local
679 aper_size = (intel_private.gtt_mappable_entries << PAGE_SHIFT) / MB(1); in intel_fake_agp_fetch_size()
682 if (aper_size == intel_fake_agp_sizes[i].size) { in intel_fake_agp_fetch_size()
685 return aper_size; in intel_fake_agp_fetch_size()
Dfrontend.c583 current_size = kerninfo.aper_size; in agp_mmap()
727 userinfo.aper_size = kerninfo.aper_size; in agpioc_info_wrap()
Dgeneric.c384 info->aper_size = agp_return_size(); in agp_copy_info()
/drivers/gpu/drm/radeon/
Dradeon_agp.c152 if (rdev->ddev->agp->agp_info.aper_size < 32) { in radeon_agp_init()
156 rdev->ddev->agp->agp_info.aper_size); in radeon_agp_init()
245 rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; in radeon_agp_init()
Dradeon_object.c452 rdev->mc.aper_size); in radeon_bo_init()
457 rdev->mc.aper_size); in radeon_bo_init()
461 (unsigned long long)rdev->mc.aper_size >> 20); in radeon_bo_init()
471 arch_io_free_memtype_wc(rdev->mc.aper_base, rdev->mc.aper_size); in radeon_bo_fini()
Dradeon_device.c581 mc->real_vram_size = mc->aper_size; in radeon_vram_location()
582 mc->mc_vram_size = mc->aper_size; in radeon_vram_location()
587 mc->real_vram_size = mc->aper_size; in radeon_vram_location()
588 mc->mc_vram_size = mc->aper_size; in radeon_vram_location()
Dr100.c2738 u32 aper_size; in r100_get_accessible_vram() local
2741 aper_size = RREG32(RADEON_CONFIG_APER_SIZE); in r100_get_accessible_vram()
2751 return aper_size * 2; in r100_get_accessible_vram()
2762 return aper_size; in r100_get_accessible_vram()
2770 return aper_size * 2; in r100_get_accessible_vram()
2771 return aper_size; in r100_get_accessible_vram()
2780 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in r100_vram_init_sizes()
2783 if (rdev->mc.visible_vram_size > rdev->mc.aper_size) in r100_vram_init_sizes()
2784 rdev->mc.visible_vram_size = rdev->mc.aper_size; in r100_vram_init_sizes()
2805 if (rdev->mc.aper_size > config_aper_size) in r100_vram_init_sizes()
[all …]
Dradeon_fb.c260 info->apertures->ranges[0].size = rdev->mc.aper_size; in radeonfb_create()
Drs600.c869 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rs600_mc_init()
874 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rs600_mc_init()
Drs690.c161 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rs690_mc_init()
162 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rs690_mc_init()
Drv770.c1673 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rv770_mc_init()
1677 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rv770_mc_init()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c497 adev->mc.aper_size); in amdgpu_bo_init()
501 adev->mc.aper_size); in amdgpu_bo_init()
504 (unsigned long long)adev->mc.aper_size >> 20); in amdgpu_bo_init()
514 arch_io_free_memtype_wc(adev->mc.aper_base, adev->mc.aper_size); in amdgpu_bo_fini()
Damdgpu_fb.c242 info->apertures->ranges[0].size = adev->mc.aper_size; in amdgpufb_create()
Dgmc_v8_0.c445 adev->mc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v8_0_mc_init()
449 adev->mc.visible_vram_size = adev->mc.aper_size; in gmc_v8_0_mc_init()
Dgmc_v7_0.c405 adev->mc.aper_size = pci_resource_len(adev->pdev, 0); in gmc_v7_0_mc_init()
409 adev->mc.visible_vram_size = adev->mc.aper_size; in gmc_v7_0_mc_init()
Damdgpu_device.c564 mc->real_vram_size = mc->aper_size; in amdgpu_vram_location()
565 mc->mc_vram_size = mc->aper_size; in amdgpu_vram_location()
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dagp.c134 pci->agp.size = info.aper_size * 1024 * 1024; in nvkm_agp_ctor()
/drivers/gpu/drm/
Ddrm_pci.c243 dev->agp->agp_info.aper_size * in drm_pci_agp_init()
Ddrm_agpsupport.c65 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
Ddrm_bufs.c277 dev->agp->agp_info.aper_size * 1024 * 1024 - 1) { in drm_addmap_core()
/drivers/video/fbdev/aty/
Dradeon_base.c2042 u32 aper_base, aper_size; in fixup_memory_mappings() local
2058 aper_size = INREG(CNFG_APER_SIZE); in fixup_memory_mappings()
2063 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings()
2069 agp_base = aper_base + aper_size; in fixup_memory_mappings()
2107 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16), in fixup_memory_mappings()
/drivers/gpu/drm/i915/
Di915_gem.c149 args->aper_size = dev_priv->gtt.base.total; in i915_gem_get_aperture_ioctl()
150 args->aper_available_size = args->aper_size - pinned; in i915_gem_get_aperture_ioctl()

12