Searched refs:gtt_size (Results 1 - 21 of 21) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/radeon/
H A Drs400.c41 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 Dradeon_agp.c242 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 Dradeon_gart.c342 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 Dradeon_device.c613 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 Dradeon_gem.c62 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 Dradeon_ttm.c912 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 Dradeon_test.c59 n = rdev->mc.gtt_size - rdev->gart_pin_size; radeon_do_test_moves()
H A Dr300.c156 (unsigned)(rdev->mc.gtt_size >> 20), rv370_pcie_gart_enable()
H A Drs600.c605 (unsigned)(rdev->mc.gtt_size >> 20), rs600_gart_enable()
H A Drs690.c199 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; rs690_mc_init()
H A Dradeon_asic.c176 rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; radeon_agp_disable()
H A Drv770.c935 (unsigned)(rdev->mc.gtt_size >> 20), rv770_pcie_gart_enable()
H A Dni.c1331 (unsigned)(rdev->mc.gtt_size >> 20), cayman_pcie_gart_enable()
H A Dradeon.h682 u64 gtt_size; member in struct:radeon_mc
H A Devergreen.c2498 (unsigned)(rdev->mc.gtt_size >> 20), evergreen_pcie_gart_enable()
H A Dr100.c668 (unsigned)(rdev->mc.gtt_size >> 20), r100_pci_gart_enable()
H A Dr600.c1126 (unsigned)(rdev->mc.gtt_size >> 20), r600_pcie_gart_enable()
H A Dsi.c4356 (unsigned)(rdev->mc.gtt_size >> 20), si_pcie_gart_enable()
H A Dcik.c5933 (unsigned)(rdev->mc.gtt_size >> 20), cik_pcie_gart_enable()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c2101 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 Di915_gem.c1774 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()

Completed in 1994 milliseconds