diff options
Diffstat (limited to 'tests/kms_atomic_interruptible.c')
-rw-r--r-- | tests/kms_atomic_interruptible.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/kms_atomic_interruptible.c b/tests/kms_atomic_interruptible.c index 4a2a5774..64a00559 100644 --- a/tests/kms_atomic_interruptible.c +++ b/tests/kms_atomic_interruptible.c @@ -158,8 +158,8 @@ static void run_plane_test(igt_display_t *display, enum pipe pipe, igt_output_t uint32_t count_props[3] = { 2, 1, 6 }; uint32_t props[] = { /* crtc: 2 props */ - plane->pipe->atomic_props_crtc[IGT_CRTC_MODE_ID], - plane->pipe->atomic_props_crtc[IGT_CRTC_ACTIVE], + plane->pipe->props[IGT_CRTC_MODE_ID], + plane->pipe->props[IGT_CRTC_ACTIVE], /* connector: 1 prop */ output->props[IGT_CONNECTOR_CRTC_ID], /* plane: remainder props */ @@ -255,6 +255,10 @@ static void run_plane_test(igt_display_t *display, enum pipe pipe, igt_output_t igt_waitchildren(); + /* The mode is unset by the forked helper, force a refresh here */ + if (test_type == test_legacy_modeset || test_type == test_atomic_modeset) + igt_pipe_refresh(display, pipe, true); + igt_plane_set_fb(plane, NULL); igt_plane_set_fb(primary, NULL); igt_output_set_pipe(output, PIPE_NONE); |