Searched refs:gem_exec (Results 1 – 11 of 11) sorted by relevance
/external/igt-gpu-tools/tests/i915/ |
D | gem_lut_handle.c | 55 struct drm_i915_gem_exec_object2 gem_exec[1]; in exec() local 66 gem_exec[0].handle = handle; in exec() 67 gem_exec[0].relocation_count = 1; in exec() 68 gem_exec[0].relocs_ptr = to_user_pointer(gem_reloc); in exec() 69 gem_exec[0].alignment = 0; in exec() 70 gem_exec[0].offset = 0; in exec() 71 gem_exec[0].flags = 0; in exec() 72 gem_exec[0].rsvd1 = 0; in exec() 73 gem_exec[0].rsvd2 = 0; in exec() 75 execbuf.buffers_ptr = to_user_pointer(gem_exec); in exec() [all …]
|
D | gem_exec_big.c | 59 struct drm_i915_gem_exec_object2 gem_exec[1]; in exec1() local 69 gem_exec[0].handle = handle; in exec1() 70 gem_exec[0].relocation_count = 1; in exec1() 71 gem_exec[0].relocs_ptr = to_user_pointer(gem_reloc); in exec1() 72 gem_exec[0].alignment = 0; in exec1() 73 gem_exec[0].offset = 0; in exec1() 74 gem_exec[0].flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS; in exec1() 75 gem_exec[0].rsvd1 = 0; in exec1() 76 gem_exec[0].rsvd2 = 0; in exec1() 78 execbuf.buffers_ptr = to_user_pointer(gem_exec); in exec1() [all …]
|
D | gem_exec_lut_handle.c | 58 struct drm_i915_gem_exec_object2 gem_exec[MAX_NUM_EXEC+1]; variable 76 execbuf.buffers_ptr = to_user_pointer((gem_exec + MAX_NUM_EXEC)); in has_exec_lut() 109 memset(gem_exec, 0, sizeof(gem_exec)); 111 gem_exec[n].handle = gem_create(fd, 4096); 117 gem_exec[MAX_NUM_EXEC].handle = cycle[0]; 155 gem_exec[MAX_NUM_EXEC].relocation_count = m; 156 gem_exec[MAX_NUM_EXEC].relocs_ptr = to_user_pointer(reloc); 157 objects = gem_exec + MAX_NUM_EXEC - n; 180 gem_exec[MAX_NUM_EXEC].handle = cycle[c]; 186 gem_exec[MAX_NUM_EXEC].relocs_ptr = to_user_pointer(reloc); [all …]
|
D | gem_ctx_exec.c | 68 struct drm_i915_gem_exec_object2 *gem_exec; in big_exec() local 75 gem_exec = calloc(num_buffers + 1, sizeof(*gem_exec)); in big_exec() 76 igt_assert(gem_exec); in big_exec() 77 memset(gem_exec, 0, (num_buffers + 1) * sizeof(*gem_exec)); in big_exec() 82 gem_exec[0].handle = handle; in big_exec() 84 execbuf.buffers_ptr = to_user_pointer(gem_exec); in big_exec() 91 gem_exec[i].handle = gem_create(fd, 4096); in big_exec() 92 gem_exec[i].handle = handle; in big_exec() 98 gem_close(fd, gem_exec[i].handle); in big_exec() 99 gem_exec[i].handle = handle; in big_exec()
|
D | gem_gtt_hog.c | 61 struct drm_i915_gem_exec_object2 gem_exec[2]; in busy() local 69 memset(gem_exec, 0, sizeof(gem_exec)); in busy() 93 gem_exec[0].handle = handle; in busy() 94 gem_exec[0].flags = EXEC_OBJECT_NEEDS_FENCE; in busy() 99 gem_exec[1].handle = create.handle; in busy() 100 gem_exec[1].relocation_count = 20; in busy() 101 gem_exec[1].relocs_ptr = to_user_pointer(reloc); in busy() 103 execbuf.buffers_ptr = to_user_pointer(gem_exec); in busy() 110 gem_pwrite.handle = gem_exec[1].handle; in busy()
|
D | gem_close_race.c | 59 struct drm_i915_gem_exec_object2 gem_exec[2]; in selfcopy() local 97 memset(gem_exec, 0, sizeof(gem_exec)); in selfcopy() 98 gem_exec[0].handle = handle; in selfcopy() 104 gem_exec[1].handle = create.handle; in selfcopy() 105 gem_exec[1].relocation_count = 2; in selfcopy() 106 gem_exec[1].relocs_ptr = to_user_pointer(reloc); in selfcopy() 109 execbuf.buffers_ptr = to_user_pointer(gem_exec); in selfcopy()
|
D | gem_exec_params.c | 197 struct drm_i915_gem_exec_object2 gem_exec[1]; variable 215 gem_exec[0].handle = handle; 216 gem_exec[0].relocation_count = 0; 217 gem_exec[0].relocs_ptr = 0; 218 gem_exec[0].alignment = 0; 219 gem_exec[0].offset = 0; 220 gem_exec[0].flags = 0; 221 gem_exec[0].rsvd1 = 0; 222 gem_exec[0].rsvd2 = 0; 224 execbuf.buffers_ptr = to_user_pointer(gem_exec);
|
D | i915_hangman.c | 234 struct drm_i915_gem_exec_object2 gem_exec; in hangcheck_unterminated() local 242 memset(&gem_exec, 0, sizeof(gem_exec)); in hangcheck_unterminated() 243 gem_exec.handle = handle; in hangcheck_unterminated() 246 execbuf.buffers_ptr = (uintptr_t)&gem_exec; in hangcheck_unterminated()
|
D | gem_concurrent_all.c | 634 struct drm_i915_gem_exec_object2 gem_exec[2]; in gpu_set_bo() local 642 memset(gem_exec, 0, sizeof(gem_exec)); in gpu_set_bo() 669 gem_exec[0].handle = bo->handle; in gpu_set_bo() 670 gem_exec[0].flags = EXEC_OBJECT_NEEDS_FENCE; in gpu_set_bo() 672 gem_exec[1].handle = gem_create(fd, 4096); in gpu_set_bo() 673 gem_exec[1].relocation_count = 1; in gpu_set_bo() 674 gem_exec[1].relocs_ptr = to_user_pointer(reloc); in gpu_set_bo() 676 execbuf.buffers_ptr = to_user_pointer(gem_exec); in gpu_set_bo() 682 gem_write(fd, gem_exec[1].handle, 0, buf, execbuf.batch_len); in gpu_set_bo() 685 gem_close(fd, gem_exec[1].handle); in gpu_set_bo()
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_exec_reloc.c | 81 struct drm_i915_gem_exec_object2 *gem_exec; in run() local 85 gem_exec = calloc(sizeof(*gem_exec), num_objects + 1); in run() 92 gem_exec[n].handle = gem_create(fd, 4096); in run() 98 gem_exec[num_objects].handle = cycle[c = 0]; in run() 131 gem_exec[num_objects].relocation_count = num_relocs; in run() 132 gem_exec[num_objects].relocs_ptr = (uintptr_t)reloc; in run() 133 objects = gem_exec; in run() 162 gem_exec[num_objects].handle = cycle[c]; in run() 168 gem_exec[num_objects].relocs_ptr = (uintptr_t)reloc; in run()
|
D | gem_create.c | 62 struct drm_i915_gem_exec_object2 gem_exec; in make_busy() local 67 memset(&gem_exec, 0, sizeof(gem_exec)); in make_busy() 68 gem_exec.handle = handle; in make_busy() 71 execbuf.buffers_ptr = (uintptr_t)&gem_exec; in make_busy()
|