From c66b2425e706bec5ce6df8664d19b06e047eb0ee Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 6 Feb 2015 10:49:20 +0100 Subject: 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 --- lib/igt_gt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_gt.h') 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; -- cgit v1.2.3