Commit 6b2dddd1 authored by Chris Wilson's avatar Chris Wilson 😣

igt/gem_eio: i915.reset is no longer a boolean

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michał Winiarski's avatarMichał Winiarski <michal.winiarski@intel.com>
parent acec57a3
......@@ -53,7 +53,7 @@ static bool i915_reset_control(bool enable)
fd = open(path, O_RDWR);
igt_require(fd >= 0);
ret = write(fd, &"NY"[enable], 1) == 1;
ret = write(fd, &"01"[enable], 1) == 1;
close(fd);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment