Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c458 uint32_t gtt_size = 256 * 1024 * 1024; in intelInitContext() local
460 gtt_size = 128 * 1024 * 1024; in intelInitContext()
468 intel->max_gtt_map_object_size = gtt_size / 4; in intelInitContext()
/third_party/libdrm/intel/
Dintel_bufmgr_gem.c136 uint64_t gtt_size; member
2348 (unsigned int)bufmgr_gem->gtt_size); in drm_intel_gem_bo_exec()
2453 (unsigned int) bufmgr_gem->gtt_size); in do_exec2()
2997 unsigned int threshold = bufmgr_gem->gtt_size * 3 / 4; in drm_intel_gem_check_aperture_space()
3015 total / 1024, (int)bufmgr_gem->gtt_size / 1024); in drm_intel_gem_check_aperture_space()
3019 (int)bufmgr_gem->gtt_size / 1024); in drm_intel_gem_check_aperture_space()
3642 bufmgr_gem->gtt_size = aperture.aper_available_size; in drm_intel_bufmgr_gem_init()
3646 bufmgr_gem->gtt_size = 128 * 1024 * 1024; in drm_intel_bufmgr_gem_init()
3650 (int)bufmgr_gem->gtt_size / 1024); in drm_intel_bufmgr_gem_init()
3676 bufmgr_gem->gtt_size > 256*1024*1024) { in drm_intel_bufmgr_gem_init()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c1876 uint64_t gtt_size; in brw_bufmgr_create() local
1877 if (gem_context_getparam(fd, 0, I915_CONTEXT_PARAM_GTT_SIZE, &gtt_size)) in brw_bufmgr_create()
1878 gtt_size = 0; in brw_bufmgr_create()
1890 if (devinfo->ver >= 8 && gtt_size > _4GB) { in brw_bufmgr_create()
1905 1 * _4GB, gtt_size - 2 * _4GB); in brw_bufmgr_create()
Dbrw_screen.c2593 uint32_t gtt_size = 256 * 1024 * 1024; in brw_init_screen() local
2601 screen->max_gtt_map_object_size = gtt_size / 4; in brw_init_screen()
/third_party/libdrm/amdgpu/
Damdgpu_gpu_info.c279 info->heap_size = vram_gtt_info.gtt_size; in amdgpu_query_heap_info()
/third_party/libdrm/include/drm/
Damdgpu_drm.h879 __u64 gtt_size; member
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c324 available_ram = MIN2(available_ram, device->gtt_size * 3 / 4); in anv_compute_sys_heap_size()
434 &device->gtt_size) == -1) { in anv_physical_device_init_heaps()
441 if (intel_get_aperture_size(fd, &device->gtt_size) == -1) { in anv_physical_device_init_heaps()
451 device->gtt_size > (4ULL << 30 /* GiB */); in anv_physical_device_init_heaps()
3079 physical_device->gtt_size - (1ull << 32) - in anv_CreateDevice()
4337 if (pCreateInfo->size > device->physical->gtt_size) in anv_CreateBuffer()
Danv_private.h901 uint64_t gtt_size; member
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h919 __u64 gtt_size; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c2239 uint64_t gtt_size = iris_gtt_size(fd); in iris_bufmgr_create() local
2240 if (gtt_size <= IRIS_MEMZONE_OTHER_START) in iris_bufmgr_create()
2305 (gtt_size - _4GB) - IRIS_MEMZONE_OTHER_START); in iris_bufmgr_create()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c187 uint64_t gtt_size = device->rad_info.gart_size; in radv_physical_device_init_mem_types() local
198 const uint64_t total_size = gtt_size + visible_vram_size; in radv_physical_device_init_mem_types()
200 gtt_size = total_size - visible_vram_size; in radv_physical_device_init_mem_types()
215 if (gtt_size > 0) { in radv_physical_device_init_mem_types()
219 .size = gtt_size, in radv_physical_device_init_mem_types()