Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c250 rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; in radeon_agp_init()
252 rdev->mc.gtt_end = rdev->mc.gtt_start + rdev->mc.gtt_size - 1; in radeon_agp_init()
254 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.c346 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; in radeon_gart_init()
347 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
Dradeon_ttm.c82 true, rdev->mc.gtt_size >> PAGE_SHIFT); in radeon_ttm_init_gtt()
861 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); in radeon_ttm_init()
1032 i_size_write(inode, rdev->mc.gtt_size); in radeon_ttm_gtt_open()
Dradeon_gem.c66 max_size = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_gem_object_create()
234 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()
Drs690.c200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
Drs600.c614 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
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.h689 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c89 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size) in amdgpu_gtt_mgr_init() argument
99 ttm_resource_manager_init(man, gtt_size >> PAGE_SHIFT); in amdgpu_gtt_mgr_init()
105 atomic64_set(&mgr->available, gtt_size >> PAGE_SHIFT); in amdgpu_gtt_mgr_init()
Damdgpu_ttm.h101 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size);
Damdgpu_ttm.c1881 uint64_t gtt_size; in amdgpu_ttm_init() local
1969 gtt_size = min(max((AMDGPU_DEFAULT_GTT_SIZE_MB << 20), in amdgpu_ttm_init()
1974 gtt_size = (uint64_t)amdgpu_gtt_size << 20; in amdgpu_ttm_init()
1977 r = amdgpu_gtt_mgr_init(adev, gtt_size); in amdgpu_ttm_init()
1983 (unsigned)(gtt_size / (1024 * 1024))); in amdgpu_ttm_init()
Damdgpu_kms.c629 vram_gtt.gtt_size = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)->size; in amdgpu_info_ioctl()
630 vram_gtt.gtt_size *= PAGE_SIZE; in amdgpu_info_ioctl()
631 vram_gtt.gtt_size -= atomic64_read(&adev->gart_pin_size); in amdgpu_info_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gpu_error.h40 u64 gtt_size; member
Di915_gpu_error.c541 u64 end = start + batch->gtt_size; in error_print_engine()
1026 dst->gtt_size = vma->node.size; in i915_vma_coredump_create()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Damdgpu_drm.h582 __u64 gtt_size; member
/kernel/linux/linux-5.10/include/uapi/drm/
Damdgpu_drm.h903 __u64 gtt_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Damdgpu_drm.h534 __u64 gtt_size; member

12