Lines Matching refs:exec
47 struct drm_exec exec; in sanitycheck() local
49 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in sanitycheck()
50 drm_exec_fini(&exec); in sanitycheck()
58 struct drm_exec exec; in test_lock() local
63 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_lock()
64 drm_exec_until_all_locked(&exec) { in test_lock()
65 ret = drm_exec_lock_obj(&exec, &gobj); in test_lock()
66 drm_exec_retry_on_contention(&exec); in test_lock()
71 drm_exec_fini(&exec); in test_lock()
78 struct drm_exec exec; in test_lock_unlock() local
83 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_lock_unlock()
84 drm_exec_until_all_locked(&exec) { in test_lock_unlock()
85 ret = drm_exec_lock_obj(&exec, &gobj); in test_lock_unlock()
86 drm_exec_retry_on_contention(&exec); in test_lock_unlock()
91 drm_exec_unlock_obj(&exec, &gobj); in test_lock_unlock()
92 ret = drm_exec_lock_obj(&exec, &gobj); in test_lock_unlock()
93 drm_exec_retry_on_contention(&exec); in test_lock_unlock()
98 drm_exec_fini(&exec); in test_lock_unlock()
105 struct drm_exec exec; in test_duplicates() local
110 drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES); in test_duplicates()
111 drm_exec_until_all_locked(&exec) { in test_duplicates()
112 ret = drm_exec_lock_obj(&exec, &gobj); in test_duplicates()
113 drm_exec_retry_on_contention(&exec); in test_duplicates()
118 ret = drm_exec_lock_obj(&exec, &gobj); in test_duplicates()
119 drm_exec_retry_on_contention(&exec); in test_duplicates()
124 drm_exec_unlock_obj(&exec, &gobj); in test_duplicates()
125 drm_exec_fini(&exec); in test_duplicates()
132 struct drm_exec exec; in test_prepare() local
137 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_prepare()
138 drm_exec_until_all_locked(&exec) { in test_prepare()
139 ret = drm_exec_prepare_obj(&exec, &gobj, 1); in test_prepare()
140 drm_exec_retry_on_contention(&exec); in test_prepare()
145 drm_exec_fini(&exec); in test_prepare()
156 struct drm_exec exec; in test_prepare_array() local
162 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_prepare_array()
163 drm_exec_until_all_locked(&exec) in test_prepare_array()
164 ret = drm_exec_prepare_array(&exec, array, ARRAY_SIZE(array), in test_prepare_array()
167 drm_exec_fini(&exec); in test_prepare_array()
175 struct drm_exec exec; in test_multiple_loops() local
177 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_multiple_loops()
178 drm_exec_until_all_locked(&exec) in test_multiple_loops()
182 drm_exec_fini(&exec); in test_multiple_loops()
184 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_multiple_loops()
185 drm_exec_until_all_locked(&exec) in test_multiple_loops()
189 drm_exec_fini(&exec); in test_multiple_loops()