[igt-dev] [PATCH i-g-t] igt/gem_render_copy_redux: Check for GEM before use
Chris Wilson
chris at chris-wilson.co.uk
Thu Jul 12 15:38:49 UTC 2018
As render copy wants to use the GPU, we should make sure it is not
wedged first.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
tests/gem_render_copy_redux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/gem_render_copy_redux.c b/tests/gem_render_copy_redux.c
index 27098ea6d..a861862d0 100644
--- a/tests/gem_render_copy_redux.c
+++ b/tests/gem_render_copy_redux.c
@@ -209,6 +209,7 @@ int main(int argc, char **argv)
igt_fixture {
data_init(&data);
+ igt_require_gem(data.fd);
}
igt_subtest("normal") {
--
2.18.0
More information about the igt-dev
mailing list