Searched refs:gart_size (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/drivers/char/agp/ |
H A 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()
|
H A D | parisc-agp.c | 45 u64 gart_size; member 69 size = parisc_agp_info.gart_size / MB(1); in parisc_agp_fetch_size() 96 writeq(info->gart_base | ilog2(info->gart_size), info->ioc_regs+IOC_PCOM); in parisc_agp_tlbflush() 282 info->gart_size = PLUTO_GART_SIZE; in agp_ioc_init() 283 info->gatt_entries = info->gart_size / info->io_page_size; in agp_ioc_init()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.c | 251 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_sysvm_location() 258 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_sysvm_location() 284 if (mc->gart_size > max(size_bf, size_af)) { in amdgpu_gmc_gart_location() 286 mc->gart_size = max(size_bf, size_af); in amdgpu_gmc_gart_location() 289 if ((size_bf >= mc->gart_size && size_bf < size_af) || in amdgpu_gmc_gart_location() 290 (size_af < mc->gart_size)) in amdgpu_gmc_gart_location() 293 mc->gart_start = max_mc_address - mc->gart_size + 1; in amdgpu_gmc_gart_location() 296 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_gart_location() 298 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_gart_location()
|
H A D | gmc_v6_0.c | 328 adev->gmc.gart_size = 256ULL << 20; in gmc_v6_0_mc_init() 334 adev->gmc.gart_size = 1024ULL << 20; in gmc_v6_0_mc_init() 338 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v6_0_mc_init() 341 adev->gmc.gart_size += adev->pm.smu_prv_buffer_size; in gmc_v6_0_mc_init() 549 (unsigned int)(adev->gmc.gart_size >> 20), in gmc_v6_0_gart_enable()
|
H A D | amdgpu_gart.c | 436 adev->gart.num_cpu_pages = adev->gmc.gart_size / PAGE_SIZE; in amdgpu_gart_init() 437 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
|
H A D | gmc_v7_0.c | 392 adev->gmc.gart_size = 256ULL << 20; in gmc_v7_0_mc_init() 400 adev->gmc.gart_size = 1024ULL << 20; in gmc_v7_0_mc_init() 405 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v7_0_mc_init() 408 adev->gmc.gart_size += adev->pm.smu_prv_buffer_size; in gmc_v7_0_mc_init() 702 (unsigned int)(adev->gmc.gart_size >> 20), in gmc_v7_0_gart_enable()
|
H A D | gmc_v10_0.c | 830 adev->gmc.gart_size = 512ULL << 20; in gmc_v10_0_mc_init() 836 adev->gmc.gart_size = 1024ULL << 20; in gmc_v10_0_mc_init() 840 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v10_0_mc_init() 1079 (unsigned int)(adev->gmc.gart_size >> 20), in gmc_v10_0_gart_enable()
|
H A D | gmc_v11_0.c | 732 adev->gmc.gart_size = 512ULL << 20; in gmc_v11_0_mc_init() 734 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v11_0_mc_init() 930 (unsigned int)(adev->gmc.gart_size >> 20), in gmc_v11_0_gart_enable()
|
H A D | gmc_v8_0.c | 585 adev->gmc.gart_size = 256ULL << 20; in gmc_v8_0_mc_init() 591 adev->gmc.gart_size = 1024ULL << 20; in gmc_v8_0_mc_init() 595 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v8_0_mc_init() 598 adev->gmc.gart_size += adev->pm.smu_prv_buffer_size; in gmc_v8_0_mc_init() 934 (unsigned int)(adev->gmc.gart_size >> 20), in gmc_v8_0_gart_enable()
|
H A D | amdgpu_gtt_mgr.c | 289 size = (adev->gmc.gart_size >> PAGE_SHIFT) - start; in amdgpu_gtt_mgr_init()
|
H A D | gmc_v9_0.c | 1758 adev->gmc.gart_size = 512ULL << 20; in gmc_v9_0_mc_init() 1763 adev->gmc.gart_size = 1024ULL << 20; in gmc_v9_0_mc_init() 1767 adev->gmc.gart_size = (u64)amdgpu_gart_size << 20; in gmc_v9_0_mc_init() 1770 adev->gmc.gart_size += adev->pm.smu_prv_buffer_size; in gmc_v9_0_mc_init() 2317 (unsigned int)(adev->gmc.gart_size >> 20)); in gmc_v9_0_gart_enable()
|
H A D | amdgpu_gmc.h | 233 u64 gart_size; member
|
H A D | amdgpu_ttm.c | 990 placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT; in amdgpu_ttm_alloc_gart()
|
H A D | amdgpu_device.c | 3515 adev->gmc.gart_size = 512 * 1024 * 1024; in amdgpu_device_init()
|
/openbmc/linux/include/uapi/drm/ |
H A D | radeon_drm.h | 575 int gart_size; member 800 __u64 gart_size; member
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_gem.c | 308 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl() 309 args->gart_size -= rdev->gart_pin_size; in radeon_gem_info_ioctl()
|