Home
last modified time | relevance | path

Searched refs:gtt_size (Results 1 – 23 of 23) sorted by relevance

/drivers/gpu/drm/radeon/
Drs400.c46 switch (rdev->mc.gtt_size/(1024*1024)) { in rs400_gart_adjust_size()
57 (unsigned)(rdev->mc.gtt_size >> 20)); in rs400_gart_adjust_size()
60 rdev->mc.gtt_size = 32 * 1024 * 1024; in rs400_gart_adjust_size()
90 switch(rdev->mc.gtt_size / (1024 * 1024)) { in rs400_gart_init()
121 switch(rdev->mc.gtt_size / (1024 * 1024)) { in rs400_gart_enable()
193 (unsigned)(rdev->mc.gtt_size >> 20), in rs400_gart_enable()
280 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs400_mc_init()
Dradeon_agp.c249 rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; in radeon_agp_init()
251 rdev->mc.gtt_end = rdev->mc.gtt_start + rdev->mc.gtt_size - 1; in radeon_agp_init()
253 rdev->mc.gtt_size >> 20, rdev->mc.gtt_start, rdev->mc.gtt_end); in radeon_agp_init()
Dradeon_device.c609 if (mc->gtt_size > size_bf) { in radeon_gtt_location()
611 mc->gtt_size = size_bf; in radeon_gtt_location()
613 mc->gtt_start = (mc->vram_start & ~mc->gtt_base_align) - mc->gtt_size; in radeon_gtt_location()
615 if (mc->gtt_size > size_af) { in radeon_gtt_location()
617 mc->gtt_size = size_af; in radeon_gtt_location()
621 mc->gtt_end = mc->gtt_start + mc->gtt_size - 1; in radeon_gtt_location()
623 mc->gtt_size >> 20, mc->gtt_start, mc->gtt_end); in radeon_gtt_location()
1146 rdev->mc.gtt_size = (uint64_t)radeon_gart_size << 20; in radeon_check_arguments()
1304 rdev->mc.gtt_size = 512 * 1024 * 1024; in radeon_device_init()
Dradeon_gart.c348 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; in radeon_gart_init()
349 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
Dradeon_ttm.c830 rdev->mc.gtt_size >> PAGE_SHIFT); in radeon_ttm_init()
836 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); in radeon_ttm_init()
1008 i_size_write(inode, rdev->mc.gtt_size); in radeon_ttm_gtt_open()
Dradeon_gem.c65 max_size = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_gem_object_create()
233 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl()
Dradeon_test.c60 n = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_do_test_moves()
Drs600.c614 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
Drs690.c200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
Dr300.c187 (unsigned)(rdev->mc.gtt_size >> 20), in rv370_pcie_gart_enable()
Drv770.c941 (unsigned)(rdev->mc.gtt_size >> 20), in rv770_pcie_gart_enable()
Dni.c1352 (unsigned)(rdev->mc.gtt_size >> 20), in cayman_pcie_gart_enable()
Dradeon_asic.c177 rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; in radeon_agp_disable()
Dradeon.h684 u64 gtt_size; member
Dr100.c676 (unsigned)(rdev->mc.gtt_size >> 20), in r100_pci_gart_enable()
Dr600.c1181 (unsigned)(rdev->mc.gtt_size >> 20), in r600_pcie_gart_enable()
Devergreen.c2449 (unsigned)(rdev->mc.gtt_size >> 20), in evergreen_pcie_gart_enable()
Dsi.c4367 (unsigned)(rdev->mc.gtt_size >> 20), in si_pcie_gart_enable()
Dcik.c5537 (unsigned)(rdev->mc.gtt_size >> 20), in cik_pcie_gart_enable()
/drivers/gpu/drm/i915/
Di915_gpu_error.h129 u64 gtt_size; member
Di915_gpu_error.c502 u64 end = start + ee->batchbuffer->gtt_size; in error_print_engine()
986 dst->gtt_size = vma->node.size; in i915_error_object_create()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c1672 uint64_t gtt_size; in amdgpu_ttm_init() local
1756 gtt_size = min(max((AMDGPU_DEFAULT_GTT_SIZE_MB << 20), in amdgpu_ttm_init()
1761 gtt_size = (uint64_t)amdgpu_gtt_size << 20; in amdgpu_ttm_init()
1764 r = ttm_bo_init_mm(&adev->mman.bdev, TTM_PL_TT, gtt_size >> PAGE_SHIFT); in amdgpu_ttm_init()
1770 (unsigned)(gtt_size / (1024 * 1024))); in amdgpu_ttm_init()
Damdgpu_kms.c589 vram_gtt.gtt_size = adev->mman.bdev.man[TTM_PL_TT].size; in amdgpu_info_ioctl()
590 vram_gtt.gtt_size *= PAGE_SIZE; in amdgpu_info_ioctl()
591 vram_gtt.gtt_size -= atomic64_read(&adev->gart_pin_size); in amdgpu_info_ioctl()