Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/radeon/
A Drs400.c45 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 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()
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 Dradeon_agp.c338 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 Dradeon_gart.c347 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 Dradeon_ttm.c79 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 Dradeon_gem.c111 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 Dradeon_test.c60 n = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_do_test_moves()
A Drs600.c620 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
A Drs690.c200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
A Dr300.c185 (unsigned)(rdev->mc.gtt_size >> 20), in rv370_pcie_gart_enable()
A Drv770.c948 (unsigned)(rdev->mc.gtt_size >> 20), in rv770_pcie_gart_enable()
A Dni.c1339 (unsigned)(rdev->mc.gtt_size >> 20), in cayman_pcie_gart_enable()
A Dradeon_asic.c177 rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; in radeon_agp_disable()
A Dradeon.h682 u64 gtt_size; member
A Dr100.c685 (unsigned)(rdev->mc.gtt_size >> 20), in r100_pci_gart_enable()
A Dr600.c1180 (unsigned)(rdev->mc.gtt_size >> 20), in r600_pcie_gart_enable()
A Devergreen.c2450 (unsigned)(rdev->mc.gtt_size >> 20), in evergreen_pcie_gart_enable()
A Dsi.c4362 (unsigned)(rdev->mc.gtt_size >> 20), in si_pcie_gart_enable()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_gtt_mgr.c285 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 Damdgpu_ttm.h109 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size);
A Damdgpu_ttm.c1678 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 Damdgpu_kms.c710 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 Di915_gpu_error.h39 u64 gtt_size; member
A Di915_gpu_error.c560 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 Damdgpu_drm.h918 __u64 gtt_size; member

Completed in 105 milliseconds

12