Searched refs:aper_size (Results 1 – 24 of 24) sorted by relevance
/drivers/char/agp/ |
D | alpha-agp.c | 159 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()
|
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 | 677 unsigned int aper_size; in intel_fake_agp_fetch_size() local 680 aper_size = (intel_private.gtt_mappable_entries << PAGE_SHIFT) / MB(1); in intel_fake_agp_fetch_size() 683 if (aper_size == intel_fake_agp_sizes[i].size) { in intel_fake_agp_fetch_size() 686 return aper_size; in intel_fake_agp_fetch_size()
|
D | frontend.c | 584 current_size = kerninfo.aper_size; in agp_mmap() 738 userinfo.aper_size = kerninfo.aper_size; in agpioc_info_wrap()
|
D | generic.c | 396 info->aper_size = agp_return_size(); in agp_copy_info()
|
/drivers/gpu/drm/radeon/ |
D | radeon_agp.c | 152 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()
|
D | radeon_device.c | 396 mc->real_vram_size = mc->aper_size; in radeon_vram_location() 397 mc->mc_vram_size = mc->aper_size; in radeon_vram_location() 402 mc->real_vram_size = mc->aper_size; in radeon_vram_location() 403 mc->mc_vram_size = mc->aper_size; in radeon_vram_location()
|
D | r100.c | 2719 u32 aper_size; in r100_get_accessible_vram() local 2722 aper_size = RREG32(RADEON_CONFIG_APER_SIZE); in r100_get_accessible_vram() 2732 return aper_size * 2; in r100_get_accessible_vram() 2743 return aper_size; in r100_get_accessible_vram() 2751 return aper_size * 2; in r100_get_accessible_vram() 2752 return aper_size; in r100_get_accessible_vram() 2761 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in r100_vram_init_sizes() 2764 if (rdev->mc.visible_vram_size > rdev->mc.aper_size) in r100_vram_init_sizes() 2765 rdev->mc.visible_vram_size = rdev->mc.aper_size; in r100_vram_init_sizes() 2786 if (rdev->mc.aper_size > config_aper_size) in r100_vram_init_sizes() [all …]
|
D | radeon_object.c | 325 rdev->mc.vram_mtrr = mtrr_add(rdev->mc.aper_base, rdev->mc.aper_size, in radeon_bo_init() 330 (unsigned long long)rdev->mc.aper_size >> 20); in radeon_bo_init()
|
D | radeon_fb.c | 267 info->apertures->ranges[0].size = rdev->mc.aper_size; in radeonfb_create()
|
D | rs690.c | 160 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rs690_mc_init() 161 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rs690_mc_init()
|
D | rs600.c | 805 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rs600_mc_init() 810 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rs600_mc_init()
|
D | rv770.c | 1739 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in rv770_mc_init() 1743 rdev->mc.visible_vram_size = rdev->mc.aper_size; in rv770_mc_init()
|
D | radeon.h | 515 resource_size_t aper_size; member
|
D | evergreen.c | 3405 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in evergreen_mc_init() 3418 rdev->mc.visible_vram_size = rdev->mc.aper_size; in evergreen_mc_init()
|
D | r600.c | 1234 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in r600_mc_init() 1238 rdev->mc.visible_vram_size = rdev->mc.aper_size; in r600_mc_init()
|
D | si.c | 3601 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in si_mc_init() 3605 rdev->mc.visible_vram_size = rdev->mc.aper_size; in si_mc_init()
|
/drivers/gpu/drm/ |
D | drm_agpsupport.c | 66 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
|
D | drm_stub.c | 459 dev->agp->agp_info.aper_size * 1024 * 1024); in drm_put_dev()
|
D | drm_pci.c | 283 dev->agp->agp_info.aper_size * in drm_pci_agp_init()
|
D | drm_bufs.c | 277 dev->agp->agp_info.aper_size * 1024 * 1024 - 1) { in drm_addmap_core()
|
/drivers/video/aty/ |
D | radeon_base.c | 1924 u32 aper_base, aper_size; in fixup_memory_mappings() local 1940 aper_size = INREG(CNFG_APER_SIZE); in fixup_memory_mappings() 1945 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings() 1951 agp_base = aper_base + aper_size; in fixup_memory_mappings() 1989 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16), in fixup_memory_mappings()
|
/drivers/gpu/drm/i915/ |
D | i915_gem.c | 184 args->aper_size = dev_priv->gtt.total; in i915_gem_get_aperture_ioctl() 185 args->aper_available_size = args->aper_size - pinned; in i915_gem_get_aperture_ioctl()
|