Home
last modified time | relevance | path

Searched refs:gart_size (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.c184 mc->gart_size += adev->pm.smu_prv_buffer_size; in amdgpu_gmc_gart_location()
192 if (mc->gart_size > max(size_bf, size_af)) { in amdgpu_gmc_gart_location()
194 mc->gart_size = max(size_bf, size_af); in amdgpu_gmc_gart_location()
197 if ((size_bf >= mc->gart_size && size_bf < size_af) || in amdgpu_gmc_gart_location()
198 (size_af < mc->gart_size)) in amdgpu_gmc_gart_location()
201 mc->gart_start = max_mc_address - mc->gart_size + 1; in amdgpu_gmc_gart_location()
204 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_gart_location()
206 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_gart_location()
Damdgpu_gart.c371 adev->gart.num_cpu_pages = adev->gmc.gart_size / PAGE_SIZE; in amdgpu_gart_init()
372 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
Dgmc_v6_0.c336 adev->gmc.gart_size = 256ULL << 20; in gmc_v6_0_mc_init()
342 adev->gmc.gart_size = 1024ULL << 20; in gmc_v6_0_mc_init()
346 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v6_0_mc_init()
558 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v6_0_gart_enable()
Dgmc_v10_0.c751 adev->gmc.gart_size = 512ULL << 20; in gmc_v10_0_mc_init()
755 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v10_0_mc_init()
978 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v10_0_gart_enable()
Dgmc_v9_0.c1299 adev->gmc.gart_size = 512ULL << 20; in gmc_v9_0_mc_init()
1303 adev->gmc.gart_size = 1024ULL << 20; in gmc_v9_0_mc_init()
1307 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v9_0_mc_init()
1591 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v9_0_gart_enable()
Dgmc_v7_0.c401 adev->gmc.gart_size = 256ULL << 20; in gmc_v7_0_mc_init()
409 adev->gmc.gart_size = 1024ULL << 20; in gmc_v7_0_mc_init()
414 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v7_0_mc_init()
708 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v7_0_gart_enable()
Damdgpu_gmc.h187 u64 gart_size; member
Damdgpu_test.c47 n = adev->gmc.gart_size - AMDGPU_IB_POOL_SIZE; in amdgpu_do_test_moves()
Damdgpu_gtt_mgr.c102 size = (adev->gmc.gart_size >> PAGE_SHIFT) - start; in amdgpu_gtt_mgr_init()
Dgmc_v8_0.c612 adev->gmc.gart_size = 256ULL << 20; in gmc_v8_0_mc_init()
618 adev->gmc.gart_size = 1024ULL << 20; in gmc_v8_0_mc_init()
622 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v8_0_mc_init()
958 (unsigned)(adev->gmc.gart_size >> 20), in gmc_v8_0_gart_enable()
Damdgpu_ttm.c1197 placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT; in amdgpu_ttm_alloc_gart()
2585 i_size_write(ent->d_inode, adev->gmc.gart_size); in amdgpu_ttm_debugfs_init()
Damdgpu_device.c3196 adev->gmc.gart_size = 512 * 1024 * 1024; in amdgpu_device_init()
/kernel/linux/linux-5.10/drivers/char/agp/
Dhp-agp.c65 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()
Dparisc-agp.c45 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()
/kernel/linux/linux-5.10/include/uapi/drm/
Dradeon_drm.h575 int gart_size; member
800 __u64 gart_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Dradeon_drm.h442 int gart_size; member
604 __u64 gart_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Dradeon_drm.h442 int gart_size; member
604 __u64 gart_size; member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_gem.c234 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl()
235 args->gart_size -= rdev->gart_pin_size; in radeon_gem_info_ioctl()