summaryrefslogtreecommitdiff
path: root/lib/igt_gt.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-03 07:45:34 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-04 16:33:58 +0100
commitd8d1eab318f2f22c9199dcefc2b7b96ba4793cdc (patch)
tree3f5805ff5bb77a90d6a4b6632201d463126485a1 /lib/igt_gt.h
parent39e44dfa4c0ba2f979dab5ea81074343de0ad2cb (diff)
lib: igt_fork_hang_helper must be run in fixtures
Because it opens an intel-specific drm fd. Fixes crashes when running igt on no-intel. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r--lib/igt_gt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h
index 51054233..b70bbd15 100644
--- a/lib/igt_gt.h
+++ b/lib/igt_gt.h
@@ -36,7 +36,7 @@ typedef struct igt_hang_ring {
struct igt_hang_ring igt_hang_ring(int fd, int ring);
void igt_post_hang_ring(int fd, struct igt_hang_ring arg);
-int igt_fork_hang_helper(void);
+void igt_fork_hang_helper(void);
void igt_stop_hang_helper(void);
int igt_open_forcewake_handle(void);