1
2
3
4
5
6
7 #ifndef IGT_LIVE_TEST_H
8 #define IGT_LIVE_TEST_H
9
10 #include "../i915_gem.h"
11
12 struct drm_i915_private;
13
14 struct igt_live_test {
15 struct drm_i915_private *i915;
16 const char *func;
17 const char *name;
18
19 unsigned int reset_global;
20 unsigned int reset_engine[I915_NUM_ENGINES];
21 };
22
23
24
25
26
27
28
29 int igt_live_test_begin(struct igt_live_test *t,
30 struct drm_i915_private *i915,
31 const char *func,
32 const char *name);
33 int igt_live_test_end(struct igt_live_test *t);
34
35 #endif