mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
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>
This commit is contained in:
+3
-3
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user