mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 16:56:35 +00:00
kms_frontbuffer_tracking: remove duplicated pairs on multidraw
If we already tested the combination of m1+m2, don't test m2+m1 later: the drawing pattern used already has 4 squares, so we're already testing the "m2 followed by m1" case. This should reduce the test time from about 60s to about 30s. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
a2904ead74
commit
6de5b06112
@ -1939,9 +1939,7 @@ static void multidraw_subtest(const struct test_mode *t)
|
||||
target = pick_target(t, params);
|
||||
|
||||
for (m1 = 0; m1 < IGT_DRAW_METHOD_COUNT; m1++) {
|
||||
for (m2 = 0; m2 < IGT_DRAW_METHOD_COUNT; m2++) {
|
||||
if (m1 == m2)
|
||||
continue;
|
||||
for (m2 = m1 + 1; m2 < IGT_DRAW_METHOD_COUNT; m2++) {
|
||||
|
||||
igt_debug("Methods %s and %s\n",
|
||||
igt_draw_get_method_name(m1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user