/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | rs400.c | 41 switch (rdev->mc.gtt_size/(1024*1024)) { rs400_gart_adjust_size() 52 (unsigned)(rdev->mc.gtt_size >> 20)); rs400_gart_adjust_size() 55 rdev->mc.gtt_size = 32 * 1024 * 1024; rs400_gart_adjust_size() 85 switch(rdev->mc.gtt_size / (1024 * 1024)) { rs400_gart_init() 116 switch(rdev->mc.gtt_size / (1024 * 1024)) { rs400_gart_enable() 188 (unsigned)(rdev->mc.gtt_size >> 20), rs400_gart_enable() 275 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; rs400_mc_init()
|
H A D | radeon_agp.c | 242 rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; radeon_agp_init() 244 rdev->mc.gtt_end = rdev->mc.gtt_start + rdev->mc.gtt_size - 1; radeon_agp_init() 246 rdev->mc.gtt_size >> 20, rdev->mc.gtt_start, rdev->mc.gtt_end); radeon_agp_init()
|
H A D | radeon_gart.c | 342 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; radeon_gart_init() 343 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; radeon_gart_init()
|
H A D | radeon_device.c | 613 if (mc->gtt_size > size_bf) { radeon_gtt_location() 615 mc->gtt_size = size_bf; radeon_gtt_location() 617 mc->gtt_start = (mc->vram_start & ~mc->gtt_base_align) - mc->gtt_size; radeon_gtt_location() 619 if (mc->gtt_size > size_af) { radeon_gtt_location() 621 mc->gtt_size = size_af; radeon_gtt_location() 625 mc->gtt_end = mc->gtt_start + mc->gtt_size - 1; radeon_gtt_location() 627 mc->gtt_size >> 20, mc->gtt_start, mc->gtt_end); radeon_gtt_location() 1122 rdev->mc.gtt_size = (uint64_t)radeon_gart_size << 20; radeon_check_arguments() 1288 rdev->mc.gtt_size = 512 * 1024 * 1024; radeon_device_init()
|
H A D | radeon_gem.c | 62 max_size = rdev->mc.gtt_size - rdev->gart_pin_size; radeon_gem_object_create() 226 args->gart_size = rdev->mc.gtt_size; radeon_gem_info_ioctl()
|
H A D | radeon_ttm.c | 912 rdev->mc.gtt_size >> PAGE_SHIFT); radeon_ttm_init() 918 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); radeon_ttm_init() 1099 i_size_write(inode, rdev->mc.gtt_size); radeon_ttm_gtt_open()
|
H A D | radeon_test.c | 59 n = rdev->mc.gtt_size - rdev->gart_pin_size; radeon_do_test_moves()
|
H A D | r300.c | 156 (unsigned)(rdev->mc.gtt_size >> 20), rv370_pcie_gart_enable()
|
H A D | rs600.c | 605 (unsigned)(rdev->mc.gtt_size >> 20), rs600_gart_enable()
|
H A D | rs690.c | 199 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; rs690_mc_init()
|
H A D | radeon_asic.c | 176 rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; radeon_agp_disable()
|
H A D | rv770.c | 935 (unsigned)(rdev->mc.gtt_size >> 20), rv770_pcie_gart_enable()
|
H A D | ni.c | 1331 (unsigned)(rdev->mc.gtt_size >> 20), cayman_pcie_gart_enable()
|
H A D | radeon.h | 682 u64 gtt_size; member in struct:radeon_mc
|
H A D | evergreen.c | 2498 (unsigned)(rdev->mc.gtt_size >> 20), evergreen_pcie_gart_enable()
|
H A D | r100.c | 668 (unsigned)(rdev->mc.gtt_size >> 20), r100_pci_gart_enable()
|
H A D | r600.c | 1126 (unsigned)(rdev->mc.gtt_size >> 20), r600_pcie_gart_enable()
|
H A D | si.c | 4356 (unsigned)(rdev->mc.gtt_size >> 20), si_pcie_gart_enable()
|
H A D | cik.c | 5933 (unsigned)(rdev->mc.gtt_size >> 20), cik_pcie_gart_enable()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 2101 unsigned long gtt_size, mappable_size; i915_gem_init_global_gtt() local 2103 gtt_size = dev_priv->gtt.base.total; i915_gem_init_global_gtt() 2106 i915_gem_setup_global_gtt(dev, 0, mappable_size, gtt_size); i915_gem_init_global_gtt() 2246 size_t gtt_size) ggtt_probe_common() 2256 dev_priv->gtt.gsm = ioremap_wc(gtt_phys_addr, gtt_size); ggtt_probe_common() 2352 unsigned int gtt_size; gen8_gmch_probe() local 2367 gtt_size = gen8_get_total_gtt_size(snb_gmch_ctl); gen8_gmch_probe() 2370 gtt_size = chv_get_total_gtt_size(snb_gmch_ctl); gen8_gmch_probe() 2373 gtt_size = gen8_get_total_gtt_size(snb_gmch_ctl); gen8_gmch_probe() 2376 *gtt_total = (gtt_size / sizeof(gen8_pte_t)) << PAGE_SHIFT; gen8_gmch_probe() 2383 ret = ggtt_probe_common(dev, gtt_size); gen8_gmch_probe() 2398 unsigned int gtt_size; gen6_gmch_probe() local 2420 gtt_size = gen6_get_total_gtt_size(snb_gmch_ctl); gen6_gmch_probe() 2421 *gtt_total = (gtt_size / sizeof(gen6_pte_t)) << PAGE_SHIFT; gen6_gmch_probe() 2423 ret = ggtt_probe_common(dev, gtt_size); gen6_gmch_probe() 2245 ggtt_probe_common(struct drm_device *dev, size_t gtt_size) ggtt_probe_common() argument
|
H A D | i915_gem.c | 1774 uint32_t gtt_size; i915_gem_get_gtt_size() local 1782 gtt_size = 1024*1024; i915_gem_get_gtt_size() 1784 gtt_size = 512*1024; i915_gem_get_gtt_size() 1786 while (gtt_size < size) i915_gem_get_gtt_size() 1787 gtt_size <<= 1; i915_gem_get_gtt_size() 1789 return gtt_size; i915_gem_get_gtt_size()
|