/aosp_15_r20/external/igt-gpu-tools/tests/i915/ |
H A D | gem_ctx_engines.c | 62 .value = to_user_pointer(&stack), in invalid_engines() 91 param.value = to_user_pointer(engines); in invalid_engines() 104 engines->extensions = to_user_pointer(ptr); in invalid_engines() 110 param.value = to_user_pointer(engines - 1); in invalid_engines() 113 param.value = to_user_pointer(engines) - 1; in invalid_engines() 116 param.value = to_user_pointer(engines) - param.size + 1; in invalid_engines() 119 param.value = to_user_pointer(engines) + 4096; in invalid_engines() 122 param.value = to_user_pointer(engines) - param.size + 4096; in invalid_engines() 125 param.value = to_user_pointer(engines) - param.size + 4096 + 1; in invalid_engines() 128 param.value = to_user_pointer(engines) + 4096; in invalid_engines() [all …]
|
H A D | gem_exec_balancer.c | 122 .value = to_user_pointer(engines) in __set_engines() 151 .value = to_user_pointer(engines) in __set_load_balancer() 155 balancer->base.next_extension = to_user_pointer(ext); in __set_load_balancer() 161 engines->extensions = to_user_pointer(balancer); in __set_load_balancer() 213 .value = to_user_pointer(&engines) in invalid_balancer() 255 engines.extensions = to_user_pointer(&balancer); in invalid_balancer() 270 balancer.base.next_extension = to_user_pointer(&balancer); in invalid_balancer() 292 engines.extensions = to_user_pointer(&balancer); in invalid_balancer() 299 engines.extensions = to_user_pointer(ptr) + 4096 - 8; in invalid_balancer() 303 engines.extensions = to_user_pointer(&balancer); in invalid_balancer() [all …]
|
H A D | gem_ctx_clone.c | 51 .extensions = to_user_pointer(&ext), in has_ctx_clone() 63 .extensions = to_user_pointer(&ext), in invalid_clone() 75 ext.base.next_extension = to_user_pointer(&ext); in invalid_clone() 96 .extensions = to_user_pointer(&ext), in clone_flags() 138 ext.base.next_extension = to_user_pointer(&set); in clone_flags() 171 .extensions = to_user_pointer(&ext), in clone_engines() 189 set.param.value = to_user_pointer(&expected); in clone_engines() 195 set.param.value = to_user_pointer(&engines); in clone_engines() 214 set.param.value = to_user_pointer(&expected); in clone_engines() 221 set.param.value = to_user_pointer(&engines); in clone_engines() [all …]
|
H A D | gem_exec_fence.c | 72 execbuf.buffers_ptr = to_user_pointer(obj); in store() 83 obj[BATCH].relocs_ptr = to_user_pointer(&reloc); in store() 135 execbuf.buffers_ptr = to_user_pointer(&obj); in test_fence_busy() 142 obj.relocs_ptr = to_user_pointer(&reloc); in test_fence_busy() 225 execbuf.buffers_ptr = to_user_pointer(&obj); in test_fence_busy_all() 231 obj.relocs_ptr = to_user_pointer(&reloc); in test_fence_busy_all() 377 .buffers_ptr = to_user_pointer(&obj), in resubmit() 429 execbuf.buffers_ptr = to_user_pointer(obj); in test_parallel() 440 obj[BATCH].relocs_ptr = to_user_pointer(&reloc); in test_parallel() 598 .buffers_ptr = to_user_pointer(&obj), in test_keep_in_fence() [all …]
|
H A D | gem_ctx_sseu.c | 104 .value = to_user_pointer(&sseu), in kernel_has_per_context_sseu_support() 111 arg.value = to_user_pointer(&sseu); in kernel_has_per_context_sseu_support() 140 .value = to_user_pointer(&sseu) in test_engines() 265 arg.value = to_user_pointer(page[0]); in test_invalid_args() 281 arg.value = to_user_pointer(page[1]) - in test_invalid_args() 299 arg.value = to_user_pointer(page[1] - sizeof(sseu) + 4); in test_invalid_args() 323 arg.value = to_user_pointer(&sseu); in test_invalid_args() 340 arg.value = to_user_pointer(page[0]); in test_invalid_args() 356 arg.value = to_user_pointer(addr); in test_invalid_args() 378 arg.value = to_user_pointer(gem_mmap__gtt(fd, bo, 4096, in test_ggtt_args() [all …]
|
H A D | i915_query.c | 49 .items_ptr = to_user_pointer(items), in __i915_query_items() 217 item.data_ptr = to_user_pointer(topo_info); in test_query_topology_kernel_writes() 302 item.data_ptr = to_user_pointer(topo_info); in test_query_topology_coherent_slice_mask() 361 item.data_ptr = to_user_pointer(topo_info); in test_query_topology_matches_eu_total() 440 item.data_ptr = to_user_pointer(topo_info); in test_query_topology_known_pci_ids() 539 item.data_ptr = to_user_pointer(engines); in engines_invalid() 548 item.data_ptr = to_user_pointer(engines); in engines_invalid() 557 item.data_ptr = to_user_pointer(engines); in engines_invalid() 566 item.data_ptr = to_user_pointer(engines); in engines_invalid() 583 item.data_ptr = to_user_pointer(engines); in engines_invalid() [all …]
|
H A D | gem_exec_reloc.c | 90 obj[1].relocs_ptr = to_user_pointer(&reloc); in write_dword() 93 execbuf.buffers_ptr = to_user_pointer(obj); in write_dword() 162 obj.relocs_ptr = to_user_pointer(relocs); in from_mmap() 168 execbuf.buffers_ptr = to_user_pointer(&obj); in from_mmap() 222 obj.relocs_ptr = to_user_pointer(relocs); in from_gpu() 225 execbuf.buffers_ptr = to_user_pointer(&obj); in from_gpu() 275 obj[1].relocs_ptr = to_user_pointer(&reloc); in active() 287 execbuf.buffers_ptr = to_user_pointer(obj); in active() 347 obj.relocs_ptr = to_user_pointer(&reloc); in basic_reloc() 352 execbuf.buffers_ptr = to_user_pointer(&obj); in basic_reloc() [all …]
|
H A D | gem_exec_store.c | 53 execbuf.buffers_ptr = to_user_pointer(obj); in store_dword() 70 obj[1].relocs_ptr = to_user_pointer(&reloc); in store_dword() 126 obj[i-1].relocs_ptr = to_user_pointer(reloc); in store_cachelines() 128 execbuf.buffers_ptr = to_user_pointer(obj); in store_cachelines() 193 execbuf.buffers_ptr = to_user_pointer(obj); in store_all() 239 obj[1].relocs_ptr = to_user_pointer(&reloc[j]); in store_all() 254 obj[1].relocs_ptr = to_user_pointer(&reloc[j]); in store_all() 267 obj[1].relocs_ptr = to_user_pointer(&reloc[2*i]); in store_all() 276 obj[1].relocs_ptr = to_user_pointer(&reloc[2*i+1]); in store_all()
|
H A D | gem_ctx_create.c | 97 execbuf.buffers_ptr = to_user_pointer(&obj); in files() 153 execbuf.buffers_ptr = to_user_pointer(&obj); in active() 295 execbuf.buffers_ptr = to_user_pointer(obj); in maximum() 349 create.extensions = to_user_pointer(&ext); in basic_ext_param() 358 ext.base.next_extension = to_user_pointer(&ext); in basic_ext_param() 396 .buffers_ptr = to_user_pointer(&results), in check_single_timeline() 411 .buffers_ptr = to_user_pointer(obj), in check_single_timeline() 470 .value = to_user_pointer(&engines), in iris_pipeline() 477 .next_extension = to_user_pointer(&p_engines), in iris_pipeline() 487 .next_extension = to_user_pointer(&p_recover), in iris_pipeline() [all …]
|
H A D | gem_exec_whisper.c | 102 h->execbuf.buffers_ptr = to_user_pointer(&h->obj); in init_hang() 108 h->obj.relocs_ptr = to_user_pointer(&h->reloc); in init_hang() 252 store.relocs_ptr = to_user_pointer(&reloc); in whisper() 271 execbuf.buffers_ptr = to_user_pointer(tmp); in whisper() 316 execbuf.buffers_ptr = to_user_pointer(batches); in whisper() 320 execbuf.buffers_ptr = to_user_pointer(tmp); in whisper() 337 batches[n].relocs_ptr = to_user_pointer(&inter[n]); in whisper() 378 execbuf.buffers_ptr = to_user_pointer(tmp); in whisper() 390 execbuf.buffers_ptr = to_user_pointer(&batches[n-1]); in whisper() 446 execbuf.buffers_ptr = to_user_pointer(&tmp); in whisper() [all …]
|
H A D | gem_exec_parse.c | 97 obj[1].relocs_ptr = to_user_pointer(reloc); in __exec_batch_patched() 101 execbuf.buffers_ptr = to_user_pointer(obj); in __exec_batch_patched() 137 execbuf.buffers_ptr = to_user_pointer(obj); in __exec_batch() 172 execbuf.buffers_ptr = to_user_pointer(obj); in exec_split_batch() 230 obj[1].relocs_ptr = to_user_pointer(&reloc); in exec_batch_chained() 239 obj[2].relocs_ptr = to_user_pointer(&first_level_reloc); in exec_batch_chained() 242 execbuf.buffers_ptr = to_user_pointer(obj); in exec_batch_chained() 329 execbuf.buffers_ptr = to_user_pointer(&obj[i]); in test_allocations()
|
H A D | gem_ctx_shared.c | 69 .buffers_ptr = to_user_pointer(&obj), in create_shared_gtt() 148 .buffers_ptr = to_user_pointer(&obj), in exhaust_shared_gtt() 190 .buffers_ptr = to_user_pointer(&obj), in exec_shared_gtt() 280 .buffers_ptr = to_user_pointer(&obj), in nop_sync() 315 .buffers_ptr = to_user_pointer(&obj), in single_timeline() 345 sync_file_info.sync_fence_info = to_user_pointer(&rings[n]); in single_timeline() 438 execbuf.buffers_ptr = to_user_pointer(obj + !cork); in store_dword() 457 obj[2].relocs_ptr = to_user_pointer(&reloc); in store_dword() 531 .buffers_ptr = to_user_pointer(&obj), in store_timestamp() 547 obj.relocs_ptr = to_user_pointer(&reloc); in store_timestamp()
|
H A D | gem_softpin.c | 53 execbuf.buffers_ptr = to_user_pointer(&object); in test_invalid() 110 execbuf.buffers_ptr = to_user_pointer(&object); in test_softpin() 157 execbuf.buffers_ptr = to_user_pointer(object); in test_overlap() 220 execbuf.buffers_ptr = to_user_pointer(object); in busy_batch() 275 execbuf.buffers_ptr = to_user_pointer(&object); in test_evict_active() 300 execbuf.buffers_ptr = to_user_pointer(object); in test_evict_snoop() 359 execbuf.buffers_ptr = to_user_pointer(&object); in test_evict_hang() 404 execbuf.buffers_ptr = to_user_pointer(object); in test_noreloc()
|
H A D | gem_reloc_overflow.c | 79 obj[0].relocs_ptr = to_user_pointer(&single_reloc); in source_offset_tests() 195 obj[0].relocs_ptr = to_user_pointer(reloc); in reloc_tests() 199 obj[0].relocs_ptr = to_user_pointer((reloc - 1)); in reloc_tests() 248 obj[0].relocs_ptr = to_user_pointer(reloc); in reloc_tests() 287 o->relocs_ptr = to_user_pointer(reloc); in reloc_tests() 411 execbuf.buffers_ptr = to_user_pointer(obj);
|
H A D | gem_vm_create.c | 102 ctl.extensions = to_user_pointer(&ext); in invalid_create() 158 .buffers_ptr = to_user_pointer(&batch), in check_same_vm() 192 create.extensions = to_user_pointer(&ext); in create_ext() 216 .buffers_ptr = to_user_pointer(&batch), in execbuf() 253 .buffers_ptr = to_user_pointer(&batch), in write_to_address() 293 .buffers_ptr = to_user_pointer(obj), in isolation()
|
H A D | gem_sync.c | 116 execbuf.buffers_ptr = to_user_pointer(&object); in sync_ring() 157 execbuf.buffers_ptr = to_user_pointer(&object); in idle_ring() 219 execbuf.buffers_ptr = to_user_pointer(&object); in wakeup_ring() 398 execbuf.buffers_ptr = to_user_pointer(&object); in active_wakeup_ring() 531 execbuf.buffers_ptr = to_user_pointer(object); in store_ring() 547 object[1].relocs_ptr = to_user_pointer(reloc); in store_ring() 654 c->execbuf.buffers_ptr = to_user_pointer(c->object); in switch_ring() 671 c->object[1].relocs_ptr = to_user_pointer(c->reloc); in switch_ring() 819 execbuf.buffers_ptr = to_user_pointer(object); in __store_many() 833 object[1].relocs_ptr = to_user_pointer(reloc); in __store_many() [all …]
|
H A D | gem_exec_nop.c | 81 execbuf.buffers_ptr = to_user_pointer(&obj); in nop_on_ring() 129 obj.relocs_ptr = to_user_pointer(reloc); in poll_ring() 187 execbuf.buffers_ptr = to_user_pointer(&obj); in poll_ring() 249 obj[1].relocs_ptr = to_user_pointer(reloc); in poll_sequential() 312 execbuf.buffers_ptr = to_user_pointer(obj); in poll_sequential() 457 execbuf.buffers_ptr = to_user_pointer(&obj); in parallel() 522 execbuf.buffers_ptr = to_user_pointer(&obj); in series() 617 execbuf.buffers_ptr = to_user_pointer(obj); in sequential() 745 execbuf.buffers_ptr = to_user_pointer(&obj); in fence_signal() 810 execbuf.buffers_ptr = to_user_pointer(&obj); in preempt()
|
H A D | gem_exec_lut_handle.c | 76 execbuf.buffers_ptr = to_user_pointer((gem_exec + MAX_NUM_EXEC)); in has_exec_lut() 156 gem_exec[MAX_NUM_EXEC].relocs_ptr = to_user_pointer(reloc); 160 execbuf.buffers_ptr = to_user_pointer(objects); 186 gem_exec[MAX_NUM_EXEC].relocs_ptr = to_user_pointer(reloc); 216 gem_exec[MAX_NUM_EXEC].relocs_ptr = to_user_pointer(reloc);
|
H A D | gem_exec_schedule.c | 98 execbuf.buffers_ptr = to_user_pointer(obj + !cork); in __store_dword() 117 obj[2].relocs_ptr = to_user_pointer(&reloc); in __store_dword() 242 .buffers_ptr = to_user_pointer(&spin->obj[IGT_SPIN_BATCH]), in independent() 402 .buffers_ptr = to_user_pointer(&obj), in semaphore_userlock() 565 eb.buffers_ptr = to_user_pointer(obj); in semaphore_resolve() 670 eb.buffers_ptr = to_user_pointer(obj); in semaphore_noskip() 682 eb.buffers_ptr = to_user_pointer(obj); in semaphore_noskip() 855 .buffers_ptr = to_user_pointer(&spin->obj[IGT_SPIN_BATCH]), in __noise() 1171 execbuf.buffers_ptr = to_user_pointer(obj); in deep() 1190 .buffers_ptr = to_user_pointer(obj), in deep() [all …]
|
H A D | gem_request_retire.c | 130 obj[exec.buffer_count].relocs_ptr = to_user_pointer(reloc); in blit() 132 exec.buffers_ptr = to_user_pointer(obj); in blit() 166 obj[exec.buffer_count].relocs_ptr = to_user_pointer(0); in noop() 168 exec.buffers_ptr = to_user_pointer(obj); in noop()
|
H A D | gem_exec_async.c | 42 execbuf.buffers_ptr = to_user_pointer(obj); in store_dword() 60 obj[1].relocs_ptr = to_user_pointer(&reloc); in store_dword() 104 obj[BATCH].relocs_ptr = to_user_pointer(&reloc); in one() 139 execbuf.buffers_ptr = to_user_pointer(obj); in one()
|
H A D | gem_eio.c | 147 execbuf.buffers_ptr = to_user_pointer(&exec); in test_execbuf() 315 .buffers_ptr = to_user_pointer(&obj), in __test_banned() 453 execbuf.buffers_ptr = to_user_pointer(obj); in test_inflight() 506 execbuf.buffers_ptr = to_user_pointer(obj); in test_inflight_suspend() 587 execbuf.buffers_ptr = to_user_pointer(obj); in test_inflight_contexts() 645 execbuf.buffers_ptr = to_user_pointer(&obj); in test_inflight_external() 698 execbuf.buffers_ptr = to_user_pointer(obj); in test_inflight_internal() 732 .buffers_ptr = to_user_pointer(&obj), in reset_stress()
|
/aosp_15_r20/external/igt-gpu-tools/tests/ |
H A D | perf.c | 1043 .properties_ptr = to_user_pointer(properties), in test_system_wide_paranoid() 1069 .properties_ptr = to_user_pointer(properties), in test_system_wide_paranoid() 1100 .properties_ptr = to_user_pointer(properties), in test_invalid_open_flags() 1122 .properties_ptr = to_user_pointer(properties), in test_invalid_oa_metric_set_id() 1156 .properties_ptr = to_user_pointer(properties), in test_invalid_oa_format_id() 1188 .properties_ptr = to_user_pointer(properties), in test_missing_sample_flags() 1327 .properties_ptr = to_user_pointer(properties), in open_and_read_2_oa_reports() 1693 .properties_ptr = to_user_pointer(properties), in test_oa_exponents() 1812 .properties_ptr = to_user_pointer(properties), in test_invalid_oa_exponent() 1847 .properties_ptr = to_user_pointer(properties), in test_low_oa_exponent_permissions() [all …]
|
H A D | syncobj_wait.c | 163 wait.handles = to_user_pointer(&handle); in test_wait_illegal_handle() 185 array.handles = to_user_pointer(&handle); in test_reset_illegal_handle() 205 array.handles = to_user_pointer(syncobjs); in test_reset_one_illegal_handle() 226 array.handles = to_user_pointer(&handle); in test_reset_bad_pad() 249 array.handles = to_user_pointer(&handle); in test_signal_illegal_handle() 269 array.handles = to_user_pointer(syncobjs); in test_signal_one_illegal_handle() 290 array.handles = to_user_pointer(&handle); in test_signal_bad_pad() 543 wait.wait.handles = to_user_pointer(syncobjs); in test_wait_snapshot() 637 wait.wait.handles = to_user_pointer(syncobjs); in test_wait_complex() 721 wait.handles = to_user_pointer(&syncobj); in test_wait_interrupted() [all …]
|
/aosp_15_r20/external/igt-gpu-tools/lib/ |
H A D | igt_syncobj.c | 187 wait.handles = to_user_pointer(handles); in syncobj_wait_err() 218 wait.handles = to_user_pointer(handles); in syncobj_wait() 242 array.handles = to_user_pointer(handles); in __syncobj_reset() 269 array.handles = to_user_pointer(handles); in __syncobj_signal()
|