Searched refs:gtt_size (Results 1 – 25 of 26) sorted by relevance
12
/linux/drivers/gpu/drm/radeon/ |
A D | rs400.c | 45 switch (rdev->mc.gtt_size/(1024*1024)) { in rs400_gart_adjust_size() 56 (unsigned)(rdev->mc.gtt_size >> 20)); in rs400_gart_adjust_size() 59 rdev->mc.gtt_size = 32 * 1024 * 1024; in rs400_gart_adjust_size() 89 switch(rdev->mc.gtt_size / (1024 * 1024)) { in rs400_gart_init() 119 switch(rdev->mc.gtt_size / (1024 * 1024)) { in rs400_gart_enable() 191 (unsigned)(rdev->mc.gtt_size >> 20), in rs400_gart_enable() 278 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs400_mc_init()
|
A D | radeon_device.c | 609 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() 1148 rdev->mc.gtt_size = (uint64_t)radeon_gart_size << 20; in radeon_check_arguments() 1306 rdev->mc.gtt_size = 512 * 1024 * 1024; in radeon_device_init()
|
A D | radeon_agp.c | 338 rdev->mc.gtt_size = rdev->agp->agp_info.aper_size << 20; in radeon_agp_init() 340 rdev->mc.gtt_end = rdev->mc.gtt_start + rdev->mc.gtt_size - 1; in radeon_agp_init() 342 rdev->mc.gtt_size >> 20, rdev->mc.gtt_start, rdev->mc.gtt_end); in radeon_agp_init()
|
A D | radeon_gart.c | 347 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; in radeon_gart_init() 348 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
|
A D | radeon_ttm.c | 79 true, rdev->mc.gtt_size >> PAGE_SHIFT); in radeon_ttm_init_gtt() 752 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); in radeon_ttm_init() 886 i_size_write(inode, rdev->mc.gtt_size); in radeon_ttm_gtt_open()
|
A D | radeon_gem.c | 111 max_size = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_gem_object_create() 305 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl()
|
A D | radeon_test.c | 60 n = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_do_test_moves()
|
A D | rs600.c | 620 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
|
A D | rs690.c | 200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
|
A D | r300.c | 185 (unsigned)(rdev->mc.gtt_size >> 20), in rv370_pcie_gart_enable()
|
A D | rv770.c | 948 (unsigned)(rdev->mc.gtt_size >> 20), in rv770_pcie_gart_enable()
|
A D | ni.c | 1339 (unsigned)(rdev->mc.gtt_size >> 20), in cayman_pcie_gart_enable()
|
A D | radeon_asic.c | 177 rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; in radeon_agp_disable()
|
A D | radeon.h | 682 u64 gtt_size; member
|
A D | r100.c | 685 (unsigned)(rdev->mc.gtt_size >> 20), in r100_pci_gart_enable()
|
A D | r600.c | 1180 (unsigned)(rdev->mc.gtt_size >> 20), in r600_pcie_gart_enable()
|
A D | evergreen.c | 2450 (unsigned)(rdev->mc.gtt_size >> 20), in evergreen_pcie_gart_enable()
|
A D | si.c | 4362 (unsigned)(rdev->mc.gtt_size >> 20), in si_pcie_gart_enable()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gtt_mgr.c | 285 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size) in amdgpu_gtt_mgr_init() argument 294 ttm_resource_manager_init(man, gtt_size >> PAGE_SHIFT); in amdgpu_gtt_mgr_init()
|
A D | amdgpu_ttm.h | 109 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size);
|
A D | amdgpu_ttm.c | 1678 uint64_t gtt_size; in amdgpu_ttm_init() local 1777 gtt_size = min(max((AMDGPU_DEFAULT_GTT_SIZE_MB << 20), in amdgpu_ttm_init() 1782 gtt_size = (uint64_t)amdgpu_gtt_size << 20; in amdgpu_ttm_init() 1785 r = amdgpu_gtt_mgr_init(adev, gtt_size); in amdgpu_ttm_init() 1791 (unsigned)(gtt_size / (1024 * 1024))); in amdgpu_ttm_init()
|
A D | amdgpu_kms.c | 710 vram_gtt.gtt_size = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)->size; in amdgpu_info_ioctl() 711 vram_gtt.gtt_size *= PAGE_SIZE; in amdgpu_info_ioctl() 712 vram_gtt.gtt_size -= atomic64_read(&adev->gart_pin_size); in amdgpu_info_ioctl()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_gpu_error.h | 39 u64 gtt_size; member
|
A D | i915_gpu_error.c | 560 u64 end = start + batch->gtt_size; in error_print_engine() 1043 dst->gtt_size = vma->node.size; in i915_vma_coredump_create()
|
/linux/include/uapi/drm/ |
A D | amdgpu_drm.h | 918 __u64 gtt_size; member
|
Completed in 105 milliseconds
12