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>
This commit is contained in:
Chris Wilson 2014-09-12 09:11:55 +01:00
parent 855dc6284d
commit f81d8eba4f

View File

@ -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);
}