Home
last modified time | relevance | path

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

/external/igt-gpu-tools/tests/i915/
Dgem_exec_alignment.c73 uint64_t gtt_size, ram_size; in many() local
76 gtt_size = gem_aperture_size(fd); in many()
78 gtt_size /= 2; /* We have to *share* our GTT! */ in many()
84 max_alignment = find_last_bit(gtt_size / count); in many()
89 count = gtt_size / max_alignment / 2; in many()
92 (long long)gtt_size/1024/1024, in many()
102 if ((gtt_size-1) >> 32) in many()
106 if ((gtt_size-1) >> 32) in many()
115 for (alignment = 4096; alignment < gtt_size; alignment <<= 1) { in many()
147 uint64_t gtt_size; in single() local
[all …]
Dgem_exec_reuse.c90 uint64_t gtt_size, max; variable
101 gtt_size = (gem_aperture_size(no.fd) / 2) >> 12;
102 if (gtt_size > INT_MAX / sizeof(*no.handles))
103 gtt_size = INT_MAX / sizeof(*no.handles);
106 if (max < gtt_size)
107 gtt_size = max;
109 no.nhandles = 1 << (igt_fls(gtt_size) - 1);
Dgem_exec_reloc.c520 uint64_t gtt_size = gem_aperture_size(fd); in basic_range() local
527 for (count = 12; gtt_size >> (count + 1); count++) in basic_range()
/external/igt-gpu-tools/tools/
Dintel_gtt.c142 unsigned int start, gtt_size; in main() local
187 gtt_size = pci_dev->regions[0].size / 2; in main()
189 pte_dump(gtt_size, 0); in main()
193 for (start = 0; start < gtt_size; start += KB(4)) { in main()
200 for (end = start + KB(4); end < gtt_size; end += KB(4)) { in main()
217 for (end = start + KB(4); end < gtt_size; end += KB(4)) { in main()
Daubdump.c353 gtt_size(void) in gtt_size() function
635 dword_out(gtt_size()); /* size */ in write_header()
942 offset = gtt_size(); in dump_execbuffer2()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c456 uint32_t gtt_size = 256 * 1024 * 1024; in intelInitContext() local
458 gtt_size = 128 * 1024 * 1024; in intelInitContext()
466 intel->max_gtt_map_object_size = gtt_size / 4; in intelInitContext()
/external/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 …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c1872 uint64_t gtt_size; in brw_bufmgr_create() local
1873 if (gem_context_getparam(fd, 0, I915_CONTEXT_PARAM_GTT_SIZE, &gtt_size)) in brw_bufmgr_create()
1874 gtt_size = 0; in brw_bufmgr_create()
1886 if (devinfo->gen >= 8 && gtt_size > _4GB) { in brw_bufmgr_create()
1901 1 * _4GB, gtt_size - 2 * _4GB); in brw_bufmgr_create()
Dintel_screen.c2605 uint32_t gtt_size = 256 * 1024 * 1024; in intelInitScreen2() local
2613 screen->max_gtt_map_object_size = gtt_size / 4; in intelInitScreen2()
/external/libdrm/amdgpu/
Damdgpu_gpu_info.c279 info->heap_size = vram_gtt_info.gtt_size; in amdgpu_query_heap_info()
/external/mesa3d/src/intel/vulkan/
Danv_device.c112 anv_compute_heap_size(int fd, uint64_t gtt_size) in anv_compute_heap_size() argument
131 uint64_t available_gtt = gtt_size * 3 / 4; in anv_compute_heap_size()
140 &device->gtt_size) == -1) { in anv_physical_device_init_heaps()
147 if (gen_get_aperture_size(fd, &device->gtt_size) == -1) { in anv_physical_device_init_heaps()
159 device->gtt_size > (4ULL << 30 /* GiB */); in anv_physical_device_init_heaps()
161 uint64_t heap_size = anv_compute_heap_size(fd, device->gtt_size); in anv_physical_device_init_heaps()
2844 physical_device->gtt_size - (1ull << 32) - in anv_CreateDevice()
4281 if (pCreateInfo->size > device->physical->gtt_size) in anv_CreateBuffer()
Danv_private.h1090 uint64_t gtt_size; member
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c1817 uint64_t gtt_size = iris_gtt_size(fd); in iris_bufmgr_create() local
1818 if (gtt_size <= IRIS_MEMZONE_OTHER_START) in iris_bufmgr_create()
1879 (gtt_size - _4GB) - IRIS_MEMZONE_OTHER_START); in iris_bufmgr_create()
/external/igt-gpu-tools/include/drm-uapi/
Damdgpu_drm.h820 __u64 gtt_size; member
/external/mesa3d/include/drm-uapi/
Damdgpu_drm.h903 __u64 gtt_size; member
/external/libdrm/include/drm/
Damdgpu_drm.h905 __u64 gtt_size; member
/external/kernel-headers/original/uapi/drm/
Damdgpu_drm.h905 __u64 gtt_size; member