Commit 1e057f43 authored by Nicholas Kazlauskas's avatar Nicholas Kazlauskas Committed by Harry Wentland

tests/kms_plane: Set output to PIPE_NONE at end of test_format_plane

AMDGPU rejects commits that have an active CRTC without an active
primary plane.

The pixel-format-pipe-* tests fail on AMDGPU during the cleanup at
the end of the test due to the final commit disabling all the planes but
not the CRTC.

Disable the CRTC when cleaning up by setting the output to PIPE_NONE.
Signed-off-by: Nicholas Kazlauskas's avatarNicholas Kazlauskas <>
Reviewed-by: Ville Syrjälä's avatarVille Syrjälä <>
parent c4605133
Pipeline #24061 passed with stages
in 11 minutes and 17 seconds
......@@ -586,6 +586,7 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
igt_plane_set_fb(primary, NULL);
igt_plane_set_fb(plane, NULL);
igt_output_set_pipe(output, PIPE_NONE);
igt_display_commit2(&data->display, data->display.is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
igt_remove_fb(data->drm_fd, &fb);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment