summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-12 09:11:55 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-12 09:12:42 +0100
commitf81d8eba4fb4448e6ea777aa2072c3b9f277e7cb (patch)
treeb3342b353cc29be418333a46f5f8e7fcbfbee61c
parent855dc6284d97931dbe59725cfc7b0b160b0a37b2 (diff)
igt/kms_render: Iterate only through the formats
When testing each format, iterate through the formats and not randomly through the modes. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83788 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tests/kms_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_render.c b/tests/kms_render.c
index db2ed458e..e74e73b65 100644
--- a/tests/kms_render.c
+++ b/tests/kms_render.c
@@ -181,7 +181,7 @@ static void test_connector(const char *test_name,
igt_get_all_formats(&formats, &format_count);
for (i = 0; i < format_count; i++)
test_format(test_name,
- cconf, &cconf->connector->modes[i],
+ cconf, &cconf->connector->modes[0],
formats[i], flags);
}