/external/igt-gpu-tools/tests/ |
D | kms_getfb.c | 141 do_ioctl(fd, DRM_IOCTL_MODE_ADDFB2, &add); in test_handle_input() 151 do_ioctl(fd, DRM_IOCTL_MODE_GETFB, &get); in test_handle_input() 163 do_ioctl(fd, DRM_IOCTL_MODE_RMFB, &add.fb_id); in test_handle_input() 189 do_ioctl(fd, DRM_IOCTL_MODE_ADDFB2, &add); in test_duplicate_handles() 195 do_ioctl(fd, DRM_IOCTL_MODE_GETFB, &get); in test_duplicate_handles() 204 do_ioctl(fd, DRM_IOCTL_MODE_GETFB, &get1); in test_duplicate_handles() 205 do_ioctl(fd, DRM_IOCTL_MODE_GETFB, &get2); in test_duplicate_handles() 221 do_ioctl(fd, DRM_IOCTL_MODE_RMFB, &add_ccs.fb_id); in test_duplicate_handles() 226 do_ioctl(fd, DRM_IOCTL_MODE_RMFB, &add.fb_id); in test_duplicate_handles()
|
D | kms_atomic_interruptible.c | 149 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_SETCRTC, &crtc); in run_plane_test() 201 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &atm); in run_plane_test() 213 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_SETPROPERTY, &prop); in run_plane_test() 224 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &cur); in run_plane_test() 238 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_SETPLANE, &setplane); in run_plane_test() 248 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_PAGE_FLIP, &pageflip); in run_plane_test()
|
D | kms_cursor_legacy.c | 82 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg); in stress() 87 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg); in stress() 105 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg); in stress() 422 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg[(count & 64)/64]); in flip() 526 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg[0]); in basic_flip_cursor() 533 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg[0]); in basic_flip_cursor() 558 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg[0]); in basic_flip_cursor() 562 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg[0]); in basic_flip_cursor() 635 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, arg); in get_cursor_updates_per_vblank() 684 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_CURSOR, &arg[0]); in flip_vs_cursor() [all …]
|
D | panfrost_submit.c | 101 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args); 161 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args); 170 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args);
|
D | vc4_wait_bo.c | 101 do_ioctl(fd, DRM_IOCTL_VC4_WAIT_BO, &arg); 109 do_ioctl(fd, DRM_IOCTL_VC4_WAIT_BO, &arg);
|
D | kms_properties.c | 495 do_ioctl(fd, DRM_IOCTL_MODE_GETPROPBLOB, &blob); in validate_blob_prop() 519 do_ioctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc); in validate_object_prop() 526 do_ioctl(fd, DRM_IOCTL_MODE_GETFB, &fb); in validate_object_prop() 593 do_ioctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop); in validate_prop() 609 do_ioctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop); in validate_prop() 634 do_ioctl(fd, DRM_IOCTL_MODE_OBJ_GETPROPERTIES, &properties); in validate_props() 650 do_ioctl(fd, DRM_IOCTL_MODE_OBJ_GETPROPERTIES, &properties); in validate_props()
|
D | kms_atomic.c | 802 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 819 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 831 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 837 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 853 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 873 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 878 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 880 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params() 899 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params()
|
D | panfrost_prime.c | 65 do_ioctl(fd, DRM_IOCTL_PANFROST_GET_BO_OFFSET, &get_bo_offset);
|
D | vc4_dmabuf_poll.c | 62 do_ioctl(fd, DRM_IOCTL_VC4_WAIT_BO, &wait); in poll_write_bo_test()
|
D | vc4_label_bo.c | 50 do_ioctl(fd, DRM_IOCTL_VC4_LABEL_BO, &label); in set_label()
|
D | kms_prop_blob.c | 104 do_ioctl(fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create); in create_prop() 146 do_ioctl(fd, DRM_IOCTL_MODE_GETPROPBLOB, &get); in test_validate()
|
D | perf.c | 955 do_ioctl(drm_fd, DRM_IOCTL_I915_GETPARAM, &gp); in init_sys_info() 2055 do_ioctl(stream_fd, I915_PERF_IOCTL_ENABLE, 0); in test_blocking() 2212 do_ioctl(stream_fd, I915_PERF_IOCTL_ENABLE, 0); in test_polling() 2358 do_ioctl(stream_fd, I915_PERF_IOCTL_ENABLE, 0); in test_buffer_fill() 2379 do_ioctl(stream_fd, I915_PERF_IOCTL_DISABLE, 0); in test_buffer_fill() 2384 do_ioctl(stream_fd, I915_PERF_IOCTL_ENABLE, 0); in test_buffer_fill() 2444 do_ioctl(stream_fd, I915_PERF_IOCTL_DISABLE, 0); in test_buffer_fill() 2516 do_ioctl(stream_fd, I915_PERF_IOCTL_ENABLE, 0); in test_enable_disable() 2579 do_ioctl(stream_fd, I915_PERF_IOCTL_DISABLE, 0); in test_enable_disable() 2773 do_ioctl(stream_fd, I915_PERF_IOCTL_DISABLE, 0); in test_disabled_read_error() [all …]
|
/external/igt-gpu-tools/lib/ |
D | igt_v3d.c | 62 do_ioctl(fd, DRM_IOCTL_V3D_CREATE_BO, &create); in igt_v3d_create_bo() 87 do_ioctl(fd, DRM_IOCTL_V3D_GET_BO_OFFSET, &get); in igt_v3d_get_bo_offset() 99 do_ioctl(fd, DRM_IOCTL_V3D_GET_PARAM, &get); in igt_v3d_get_param() 112 do_ioctl(fd, DRM_IOCTL_V3D_MMAP_BO, &mmap_bo); in igt_v3d_mmap_bo()
|
D | ioctl_wrappers.c | 323 do_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close_bo); in gem_close() 537 do_ioctl(fd, LOCAL_IOCTL_I915_GEM_CREATE, &create); in gem_create_stolen() 666 do_ioctl(fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in gem_madvise() 721 do_ioctl(fd, DRM_IOCTL_I915_GEM_SW_FINISH, &finish); in gem_sw_finish() 741 do_ioctl(fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in gem_bo_busy() 1015 do_ioctl(fd, LOCAL_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_total_mappable_size() 1033 do_ioctl(fd, LOCAL_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_total_stolen_size() 1053 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_available_aperture_size() 1083 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_aperture_size() 1131 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in gem_global_aperture_size() [all …]
|
D | igt_amd.c | 38 do_ioctl(fd, DRM_IOCTL_AMDGPU_GEM_CREATE, &create); in igt_amd_create_bo() 52 do_ioctl(fd, DRM_IOCTL_AMDGPU_GEM_MMAP, &map); in igt_amd_mmap_bo()
|
D | igt_vc4.c | 116 do_ioctl(fd, DRM_IOCTL_VC4_SUBMIT_CL, &submit); in igt_vc4_get_cleared_bo() 128 do_ioctl(fd, DRM_IOCTL_VC4_CREATE_BO, &create); in igt_vc4_create_bo() 141 do_ioctl(fd, DRM_IOCTL_VC4_MMAP_BO, &mmap_bo); in igt_vc4_mmap_bo() 157 do_ioctl(fd, DRM_IOCTL_VC4_SET_TILING, &set); in igt_vc4_set_tiling() 166 do_ioctl(fd, DRM_IOCTL_VC4_GET_TILING, &get); in igt_vc4_get_tiling() 193 do_ioctl(fd, DRM_IOCTL_VC4_GEM_MADVISE, &arg); in igt_vc4_purgeable_bo()
|
D | igt_panfrost.c | 64 do_ioctl(fd, DRM_IOCTL_PANFROST_CREATE_BO, &create_bo); in igt_panfrost_gem_new() 88 do_ioctl(fd, DRM_IOCTL_PANFROST_GET_BO_OFFSET, &get); in igt_panfrost_get_bo_offset() 100 do_ioctl(fd, DRM_IOCTL_PANFROST_GET_PARAM, &get); in igt_panfrost_get_param() 114 do_ioctl(fd, DRM_IOCTL_PANFROST_MMAP_BO, &mmap_bo); in igt_panfrost_mmap_bo()
|
D | igt.cocci | 217 // replace open-coded do_ioctl 223 +do_ioctl(a, b, c); 226 +do_ioctl(a, b, c);
|
D | drmtest.h | 114 #define do_ioctl(fd, ioc, ioc_data) do { \ macro
|
D | sw_sync.c | 124 do_ioctl(fd, INT_SYNC_IOC_INC, &count); in sw_sync_timeline_inc()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_engines.c | 309 do_ioctl(i915, DRM_IOCTL_I915_GEM_BUSY, &busy); in execute_one() 315 do_ioctl(i915, DRM_IOCTL_I915_GEM_BUSY, &busy); in execute_one() 358 do_ioctl(i915, DRM_IOCTL_I915_GEM_BUSY, &busy); in execute_oneforall() 399 do_ioctl(i915, DRM_IOCTL_I915_GEM_BUSY, &busy); in execute_allforone()
|
D | gem_mmap_wc.c | 376 do_ioctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res); in test_set_cache_level() 382 do_ioctl(fd, DRM_IOCTL_MODE_GETCRTC, &mode); in test_set_cache_level() 390 do_ioctl(fd, DRM_IOCTL_MODE_CURSOR, &arg); in test_set_cache_level()
|
D | gem_mmap_gtt.c | 97 do_ioctl(fd, DRM_IOCTL_I915_GEM_MMAP_GTT, &mmap_arg); in test_access() 127 do_ioctl(fd, DRM_IOCTL_I915_GEM_MMAP_GTT, &mmap_arg); in test_short() 339 do_ioctl(A, DRM_IOCTL_I915_GEM_MMAP_GTT, &mmap_arg); in test_isolation() 343 do_ioctl(B, DRM_IOCTL_I915_GEM_MMAP_GTT, &mmap_arg); in test_isolation()
|
D | gem_tiled_wb.c | 127 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_TILING2, &arg); in get_tiling()
|
D | gem_ctx_sseu.c | 515 do_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp); 520 do_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
|