Home
last modified time | relevance | path

Searched refs:do_ioctl (Results 1 – 25 of 37) sorted by relevance

12

/external/igt-gpu-tools/tests/
Dkms_getfb.c141 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()
Dkms_atomic_interruptible.c149 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()
Dkms_cursor_legacy.c82 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 …]
Dpanfrost_submit.c101 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);
Dvc4_wait_bo.c101 do_ioctl(fd, DRM_IOCTL_VC4_WAIT_BO, &arg);
109 do_ioctl(fd, DRM_IOCTL_VC4_WAIT_BO, &arg);
Dkms_properties.c495 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()
Dkms_atomic.c802 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()
Dpanfrost_prime.c65 do_ioctl(fd, DRM_IOCTL_PANFROST_GET_BO_OFFSET, &get_bo_offset);
Dvc4_dmabuf_poll.c62 do_ioctl(fd, DRM_IOCTL_VC4_WAIT_BO, &wait); in poll_write_bo_test()
Dvc4_label_bo.c50 do_ioctl(fd, DRM_IOCTL_VC4_LABEL_BO, &label); in set_label()
Dkms_prop_blob.c104 do_ioctl(fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create); in create_prop()
146 do_ioctl(fd, DRM_IOCTL_MODE_GETPROPBLOB, &get); in test_validate()
Dperf.c955 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/
Digt_v3d.c62 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()
Dioctl_wrappers.c323 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 …]
Digt_amd.c38 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()
Digt_vc4.c116 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()
Digt_panfrost.c64 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()
Digt.cocci217 // replace open-coded do_ioctl
223 +do_ioctl(a, b, c);
226 +do_ioctl(a, b, c);
Ddrmtest.h114 #define do_ioctl(fd, ioc, ioc_data) do { \ macro
Dsw_sync.c124 do_ioctl(fd, INT_SYNC_IOC_INC, &count); in sw_sync_timeline_inc()
/external/igt-gpu-tools/tests/i915/
Dgem_ctx_engines.c309 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()
Dgem_mmap_wc.c376 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()
Dgem_mmap_gtt.c97 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()
Dgem_tiled_wb.c127 do_ioctl(fd, DRM_IOCTL_I915_GEM_GET_TILING2, &arg); in get_tiling()
Dgem_ctx_sseu.c515 do_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
520 do_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);

12