Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/radeon/
H A Drs400.c45 switch (rdev->mc.gtt_size/(1024*1024)) { in rs400_gart_adjust_size()
56 (unsigned)(rdev->mc.gtt_size >> 20)); in rs400_gart_adjust_size()
59 rdev->mc.gtt_size = 32 * 1024 * 1024; in rs400_gart_adjust_size()
89 switch(rdev->mc.gtt_size / (1024 * 1024)) { in rs400_gart_init()
119 switch(rdev->mc.gtt_size / (1024 * 1024)) { in rs400_gart_enable()
191 (unsigned)(rdev->mc.gtt_size >> 20), in rs400_gart_enable()
278 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs400_mc_init()
H A Dradeon_device.c610 if (mc->gtt_size > size_bf) { in radeon_gtt_location()
612 mc->gtt_size = size_bf; in radeon_gtt_location()
614 mc->gtt_start = (mc->vram_start & ~mc->gtt_base_align) - mc->gtt_size; in radeon_gtt_location()
616 if (mc->gtt_size > size_af) { in radeon_gtt_location()
618 mc->gtt_size = size_af; in radeon_gtt_location()
622 mc->gtt_end = mc->gtt_start + mc->gtt_size - 1; in radeon_gtt_location()
624 mc->gtt_size >> 20, mc->gtt_start, mc->gtt_end); in radeon_gtt_location()
1137 rdev->mc.gtt_size = (uint64_t)radeon_gart_size << 20; in radeon_check_arguments()
1295 rdev->mc.gtt_size = 512 * 1024 * 1024; in radeon_device_init()
H A Dradeon_agp.c338 rdev->mc.gtt_size = rdev->agp->agp_info.aper_size << 20; in radeon_agp_init()
340 rdev->mc.gtt_end = rdev->mc.gtt_start + rdev->mc.gtt_size - 1; in radeon_agp_init()
342 rdev->mc.gtt_size >> 20, rdev->mc.gtt_start, rdev->mc.gtt_end); in radeon_agp_init()
H A Dradeon_gart.c344 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE; in radeon_gart_init()
345 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
H A Dradeon_ttm.c78 true, rdev->mc.gtt_size >> PAGE_SHIFT); in radeon_ttm_init_gtt()
734 (unsigned)(rdev->mc.gtt_size / (1024 * 1024))); in radeon_ttm_init()
844 i_size_write(inode, rdev->mc.gtt_size); in radeon_ttm_gtt_open()
H A Dradeon_gem.c112 max_size = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_gem_object_create()
308 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl()
H A Dradeon_test.c60 n = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_do_test_moves()
H A Drs690.c200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
H A Drs600.c621 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
H A Dr300.c184 (unsigned)(rdev->mc.gtt_size >> 20), in rv370_pcie_gart_enable()
H A Drv770.c938 (unsigned)(rdev->mc.gtt_size >> 20), in rv770_pcie_gart_enable()
H A Dni.c1339 (unsigned)(rdev->mc.gtt_size >> 20), in cayman_pcie_gart_enable()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gtt_mgr.c277 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size) in amdgpu_gtt_mgr_init() argument
286 ttm_resource_manager_init(man, &adev->mman.bdev, gtt_size); in amdgpu_gtt_mgr_init()
H A Damdgpu_ttm.h114 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size);
H A Damdgpu_ttm.c1833 uint64_t gtt_size; in amdgpu_ttm_init() local
1947 gtt_size = ttm_tt_pages_limit() << PAGE_SHIFT; in amdgpu_ttm_init()
1949 gtt_size = (uint64_t)amdgpu_gtt_size << 20; in amdgpu_ttm_init()
1952 r = amdgpu_gtt_mgr_init(adev, gtt_size); in amdgpu_ttm_init()
1958 (unsigned int)(gtt_size / (1024 * 1024))); in amdgpu_ttm_init()
H A Damdgpu_kms.c683 vram_gtt.gtt_size = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)->size; in amdgpu_info_ioctl()
684 vram_gtt.gtt_size -= atomic64_read(&adev->gart_pin_size); in amdgpu_info_ioctl()
/openbmc/u-boot/arch/x86/include/asm/arch-baytrail/fsp/
H A Dfsp_vpd.h65 uint8_t gtt_size; /* Offset 0x0045 */ member
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/fsp/
H A Dfsp_vpd.h23 u8 gtt_size; /* Offset 0x003e */ member
/openbmc/u-boot/arch/x86/cpu/braswell/
H A Dfsp_configs.c83 memory_upd->gtt_size = fdtdec_get_int(blob, node, in update_fsp_configs()
/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c566 ldev->gtt_size = 512 << 20; in lsdc_ttm_init()
568 num_gtt_pages = ldev->gtt_size >> PAGE_SHIFT; in lsdc_ttm_init()
H A Dlsdc_drv.h284 resource_size_t gtt_size; member
/openbmc/u-boot/arch/x86/cpu/baytrail/
H A Dfsp_configs.c100 fsp_upd->gtt_size = fdtdec_get_int(blob, node, "fsp,gtt-size", in update_fsp_configs()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.h41 u64 gtt_size; member
H A Di915_gpu_error.c555 u64 end = start + batch->gtt_size; in error_print_engine()
1114 dst->gtt_size = vma_res->node_size; in i915_vma_coredump_create()
/openbmc/linux/include/uapi/drm/
H A Damdgpu_drm.h993 __u64 gtt_size; member

12