summaryrefslogtreecommitdiff
path: root/lib/igt_gt.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-06 10:53:10 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 09:35:35 +0100
commitc18b2d57a98c061845e0ec31bfffc90e03356aaa (patch)
tree0850b537dd06ae989e8bd8cfe4d48b0a598d6b6d /lib/igt_gt.c
parentc66b2425e706bec5ce6df8664d19b06e047eb0ee (diff)
lib/ioctl: api polish for gem_context_has_param
Just push the igt_require down to align with the usual style. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/igt_gt.c')
-rw-r--r--lib/igt_gt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_gt.c b/lib/igt_gt.c
index c003a7ca..615f9893 100644
--- a/lib/igt_gt.c
+++ b/lib/igt_gt.c
@@ -33,7 +33,7 @@
void igt_require_hang_ring(int fd, int ring)
{
- igt_require(gem_context_has_param(fd, LOCAL_CONTEXT_PARAM_BAN_PERIOD));
+ gem_context_require_param(fd, LOCAL_CONTEXT_PARAM_BAN_PERIOD);
igt_require(intel_gen(intel_get_drm_devid(fd)) >= 5);
}