/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | rs400.c | 45 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 D | radeon_device.c | 610 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 D | radeon_agp.c | 338 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 D | radeon_gart.c | 344 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 D | radeon_ttm.c | 78 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 D | radeon_gem.c | 112 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 D | radeon_test.c | 60 n = rdev->mc.gtt_size - rdev->gart_pin_size; in radeon_do_test_moves()
|
H A D | rs690.c | 200 rdev->mc.gtt_base_align = rdev->mc.gtt_size - 1; in rs690_mc_init()
|
H A D | rs600.c | 621 (unsigned)(rdev->mc.gtt_size >> 20), in rs600_gart_enable()
|
H A D | r300.c | 184 (unsigned)(rdev->mc.gtt_size >> 20), in rv370_pcie_gart_enable()
|
H A D | rv770.c | 938 (unsigned)(rdev->mc.gtt_size >> 20), in rv770_pcie_gart_enable()
|
H A D | ni.c | 1339 (unsigned)(rdev->mc.gtt_size >> 20), in cayman_pcie_gart_enable()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gtt_mgr.c | 277 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 D | amdgpu_ttm.h | 114 int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size);
|
H A D | amdgpu_ttm.c | 1833 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 D | amdgpu_kms.c | 683 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 D | fsp_vpd.h | 65 uint8_t gtt_size; /* Offset 0x0045 */ member
|
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/fsp/ |
H A D | fsp_vpd.h | 23 u8 gtt_size; /* Offset 0x003e */ member
|
/openbmc/u-boot/arch/x86/cpu/braswell/ |
H A D | fsp_configs.c | 83 memory_upd->gtt_size = fdtdec_get_int(blob, node, in update_fsp_configs()
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 566 ldev->gtt_size = 512 << 20; in lsdc_ttm_init() 568 num_gtt_pages = ldev->gtt_size >> PAGE_SHIFT; in lsdc_ttm_init()
|
H A D | lsdc_drv.h | 284 resource_size_t gtt_size; member
|
/openbmc/u-boot/arch/x86/cpu/baytrail/ |
H A D | fsp_configs.c | 100 fsp_upd->gtt_size = fdtdec_get_int(blob, node, "fsp,gtt-size", in update_fsp_configs()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.h | 41 u64 gtt_size; member
|
H A D | i915_gpu_error.c | 555 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 D | amdgpu_drm.h | 993 __u64 gtt_size; member
|