mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
kms_flip: fix seq_step for 2xcrtc subtests
This also raises the absolute wait-for-vblank sequence step from 5 to 10, just to make it consistent with the corresponding 1x subtests. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69161 Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f034817b40
commit
2c6c4cf2a1
@ -1262,11 +1262,17 @@ static void run_test_on_crtc_pair(struct test_output *o,
|
||||
wait_for_events(o);
|
||||
|
||||
o->current_fb_id = 1;
|
||||
o->flip_state.seq_step = 1;
|
||||
if (o->flags & TEST_VBLANK_ABSOLUTE)
|
||||
o->vblank_state.seq_step = 5;
|
||||
if (o->flags & TEST_FLIP)
|
||||
o->flip_state.seq_step = 1;
|
||||
else
|
||||
o->vblank_state.seq_step = 1;
|
||||
o->flip_state.seq_step = 0;
|
||||
if (o->flags & TEST_VBLANK)
|
||||
o->vblank_state.seq_step = 10;
|
||||
else
|
||||
o->vblank_state.seq_step = 0;
|
||||
|
||||
/* We run the vblank and flip actions in parallel by default. */
|
||||
o->seq_step = max(o->vblank_state.seq_step, o->flip_state.seq_step);
|
||||
|
||||
elapsed = event_loop(o, duration_ms);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user