Lines Matching refs:i915
180 static bool is_wedged(int i915) in is_wedged() argument
183 if (ioctl(i915, DRM_IOCTL_I915_GEM_THROTTLE)) in is_wedged()
196 void gem_test_engine(int i915, unsigned int engine) in gem_test_engine() argument
205 i915 = gem_reopen_driver(i915); in gem_test_engine()
206 igt_assert(!is_wedged(i915)); in gem_test_engine()
208 obj.handle = gem_create(i915, 4096); in gem_test_engine()
209 gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe)); in gem_test_engine()
214 __for_each_physical_engine(i915, e2) { in gem_test_engine()
216 gem_execbuf(i915, &execbuf); in gem_test_engine()
220 gem_execbuf(i915, &execbuf); in gem_test_engine()
222 gem_sync(i915, obj.handle); in gem_test_engine()
223 gem_close(i915, obj.handle); in gem_test_engine()
225 igt_assert(!is_wedged(i915)); in gem_test_engine()
226 close(i915); in gem_test_engine()