diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-11-28 09:30:45 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-12-08 19:26:39 +0200 |
commit | f333981e1a2f5e7a16d030469c29b53c914a831c (patch) | |
tree | 9ca30d6f01dbb4b4ec4bac70ecb4760e4ded9558 /tests | |
parent | 092682a3e5a48bf3555fdb7c4931fecc1df09f9e (diff) |
tests/kms_flip: Target the back buffer with the dummy load
Aim the dummy load to the current back buffer instead if the front
buffer. Assuming the idea is to get the next flip to be stuck behind
the dummy load?
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_flip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 3d547184..7e86bbea 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -878,15 +878,15 @@ static unsigned int run_test_step(struct test_output *o) if (o->flags & TEST_DPMS_OFF_OTHERS) dpms_off_other_outputs(o); + if (!(o->flags & TEST_SINGLE_BUFFER)) + o->current_fb_id = !o->current_fb_id; + if (o->flags & TEST_WITH_DUMMY_BCS) emit_dummy_load__bcs(o, 1); if (o->flags & TEST_WITH_DUMMY_RCS) emit_dummy_load__rcs(o, 1); - if (!(o->flags & TEST_SINGLE_BUFFER)) - o->current_fb_id = !o->current_fb_id; - if (o->flags & TEST_FB_RECREATE) recreate_fb(o); new_fb_id = o->fb_ids[o->current_fb_id]; |