Searched refs:gart_size (Results 1 – 15 of 15) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gmc.c | 181 mc->gart_size += adev->pm.smu_prv_buffer_size; in amdgpu_gmc_gart_location() 189 if (mc->gart_size > max(size_bf, size_af)) { in amdgpu_gmc_gart_location() 191 mc->gart_size = max(size_bf, size_af); in amdgpu_gmc_gart_location() 194 if ((size_bf >= mc->gart_size && size_bf < size_af) || in amdgpu_gmc_gart_location() 195 (size_af < mc->gart_size)) in amdgpu_gmc_gart_location() 198 mc->gart_start = max_mc_address - mc->gart_size + 1; in amdgpu_gmc_gart_location() 201 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_gart_location() 203 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_gart_location()
|
D | amdgpu_gart.c | 370 adev->gart.num_cpu_pages = adev->gmc.gart_size / PAGE_SIZE; in amdgpu_gart_init() 371 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
|
D | gmc_v6_0.c | 347 adev->gmc.gart_size = 256ULL << 20; in gmc_v6_0_mc_init() 353 adev->gmc.gart_size = 1024ULL << 20; in gmc_v6_0_mc_init() 357 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v6_0_mc_init() 576 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v6_0_gart_enable()
|
D | gmc_v10_0.c | 631 adev->gmc.gart_size = 512ULL << 20; in gmc_v10_0_mc_init() 635 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v10_0_mc_init() 864 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v10_0_gart_enable()
|
D | gmc_v9_0.c | 1102 adev->gmc.gart_size = 512ULL << 20; in gmc_v9_0_mc_init() 1106 adev->gmc.gart_size = 1024ULL << 20; in gmc_v9_0_mc_init() 1110 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v9_0_mc_init() 1454 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v9_0_gart_enable()
|
D | gmc_v7_0.c | 400 adev->gmc.gart_size = 256ULL << 20; in gmc_v7_0_mc_init() 408 adev->gmc.gart_size = 1024ULL << 20; in gmc_v7_0_mc_init() 413 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v7_0_mc_init() 682 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v7_0_gart_enable()
|
D | amdgpu_gmc.h | 136 u64 gart_size; member
|
D | amdgpu_test.c | 47 n = adev->gmc.gart_size - AMDGPU_IB_POOL_SIZE*64*1024; in amdgpu_do_test_moves()
|
D | gmc_v8_0.c | 605 adev->gmc.gart_size = 256ULL << 20; in gmc_v8_0_mc_init() 611 adev->gmc.gart_size = 1024ULL << 20; in gmc_v8_0_mc_init() 615 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v8_0_mc_init() 926 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v8_0_gart_enable()
|
D | amdgpu_gtt_mgr.c | 100 size = (adev->gmc.gart_size >> PAGE_SHIFT) - start; in amdgpu_gtt_mgr_init()
|
D | amdgpu_ttm.c | 1121 placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT; in amdgpu_ttm_alloc_gart() 2450 i_size_write(ent->d_inode, adev->gmc.gart_size); in amdgpu_ttm_debugfs_init()
|
D | amdgpu_device.c | 2590 adev->gmc.gart_size = 512 * 1024 * 1024; in amdgpu_device_init()
|
/drivers/char/agp/ |
D | hp-agp.c | 65 u64 gart_size; member 105 hp->gart_size = HP_ZX1_GART_SIZE; in hp_zx1_ioc_shared() 106 hp->gatt_entries = hp->gart_size / hp->io_page_size; in hp_zx1_ioc_shared() 150 hp->gart_size = HP_ZX1_GART_SIZE; in hp_zx1_ioc_owner() 151 hp->gart_base = hp->iova_base + HP_ZX1_IOVA_SIZE - hp->gart_size; in hp_zx1_ioc_owner() 153 hp->gatt_entries = hp->gart_size / hp->io_page_size; in hp_zx1_ioc_owner() 231 size = hp_private.gart_size / MB(1); in hp_zx1_fetch_size() 283 writeq(hp->gart_base | ilog2(hp->gart_size), hp->ioc_regs+HP_ZX1_PCOM); in hp_zx1_tlbflush()
|
D | parisc-agp.c | 45 u64 gart_size; member 69 size = parisc_agp_info.gart_size / MB(1); in parisc_agp_fetch_size() 93 writeq(info->gart_base | ilog2(info->gart_size), info->ioc_regs+IOC_PCOM); in parisc_agp_tlbflush() 267 info->gart_size = PLUTO_GART_SIZE; in agp_ioc_init() 268 info->gatt_entries = info->gart_size / info->io_page_size; in agp_ioc_init()
|
/drivers/gpu/drm/radeon/ |
D | radeon_gem.c | 233 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl() 234 args->gart_size -= rdev->gart_pin_size; in radeon_gem_info_ioctl()
|