diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-06 10:49:20 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-13 09:35:35 +0100 |
commit | c66b2425e706bec5ce6df8664d19b06e047eb0ee (patch) | |
tree | 5dd078f1c21b574ed38c0a86fbb41290b3698291 /lib/igt_gt.h | |
parent | 9ca2cc12b4a11c20b41479e94ac8837321c0a2b1 (diff) |
lib/gt: api polish for igt_can_hang_ring
Align with common igt library style:
- Push the igt_require into the function.
- Push the intel_gen into the function.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r-- | lib/igt_gt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h index 19bbcef2..1ed78837 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -24,7 +24,7 @@ #ifndef IGT_GT_H #define IGT_GT_H -int igt_can_hang_ring(int fd, int gen, int ring); +void igt_require_hang_ring(int fd, int ring); struct igt_hang_ring { unsigned handle; |