From af1fbc427f50ac38ed93f3e682cf92b9ae1b2f41 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 15 May 2014 13:37:03 +0100 Subject: [PATCH] igt/gem_ringfill: Only check for rendercopy when testing render ring Overzealous test runner ftl. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78591 Signed-off-by: Chris Wilson --- tests/gem_ringfill.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c index aa752aae..5700a74d 100644 --- a/tests/gem_ringfill.c +++ b/tests/gem_ringfill.c @@ -197,7 +197,6 @@ static void blt_copy(struct intel_batchbuffer *batch, drm_intel_bufmgr *bufmgr; struct intel_batchbuffer *batch; -igt_render_copyfunc_t copy; int fd; igt_main @@ -215,16 +214,17 @@ igt_main igt_subtest("blitter") check_ring(bufmgr, batch, "blt", blt_copy); - igt_fixture { - /* Strictly only required on architectures with a separate BLT ring, - * but lets stress everybody. - */ + /* Strictly only required on architectures with a separate BLT ring, + * but lets stress everybody. + */ + igt_subtest("render") { + igt_render_copyfunc_t copy; + copy = igt_get_render_copyfunc(batch->devid); igt_require(copy); - } - igt_subtest("render") check_ring(bufmgr, batch, "render", copy); + } igt_fixture { intel_batchbuffer_free(batch);