/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rs400.c | 46 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()
|
D | radeon_agp.c | 250 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()
|
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() 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()
|
D | radeon_gart.c | 346 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()
|
D | radeon_ttm.c | 82 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()
|
D | radeon_gem.c | 66 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()
|
D | radeon_test.c | 60 n = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_do_test_moves()
|
D | rs690.c | 200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
|
D | rs600.c | 614 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
|
D | r300.c | 187 (unsigned)(rdev->mc.gtt_size >> 20), in rv370_pcie_gart_enable()
|
D | rv770.c | 941 (unsigned)(rdev->mc.gtt_size >> 20), in rv770_pcie_gart_enable()
|
D | ni.c | 1352 (unsigned)(rdev->mc.gtt_size >> 20), in cayman_pcie_gart_enable()
|
D | radeon_asic.c | 177 rdev->mc.gtt_size = radeon_gart_size * 1024 * 1024; in radeon_agp_disable()
|
D | radeon.h | 689 u64 gtt_size; member
|
D | r100.c | 676 (unsigned)(rdev->mc.gtt_size >> 20), in r100_pci_gart_enable()
|
D | r600.c | 1181 (unsigned)(rdev->mc.gtt_size >> 20), in r600_pcie_gart_enable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gtt_mgr.c | 89 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()
|
D | amdgpu_ttm.h | 101 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size);
|
D | amdgpu_ttm.c | 1881 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()
|
D | amdgpu_kms.c | 629 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/ |
D | i915_gpu_error.h | 40 u64 gtt_size; member
|
D | i915_gpu_error.c | 541 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/ |
D | amdgpu_drm.h | 582 __u64 gtt_size; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | amdgpu_drm.h | 903 __u64 gtt_size; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | amdgpu_drm.h | 534 __u64 gtt_size; member
|