summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-07-12 16:38:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-07-12 23:57:32 +0100
commit9d18e41efc423cb663a3617a04b5e662ecfb541d (patch)
tree16534079658818f09fe8dfedaf547c1f4e308410 /tests
parent3806547319038879f1c7939671b9e35937f0cae6 (diff)
igt/gem_render_copy_redux: Check for GEM before use
As render copy wants to use the GPU, we should make sure it is not wedged first. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_render_copy_redux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gem_render_copy_redux.c b/tests/gem_render_copy_redux.c
index 27098ea6..a861862d 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") {