From 76c7a71a13fd21fbf58ec2903c25acc980b7ddaf Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 27 Sep 2017 12:25:37 +0200 Subject: lib/igt_kms: Change output->pending_crtc_idx_mask to output->pending_pipe igt_output_set_pipe with PIPE_ANY used to mean that we bind the output to any pipe, but this is now a deprecated alias for PIPE_NONE, and means the output will be unbound. Because of this it's better to change output->pending_crtc_idx_mask to an enum pipe, because only a single choice may be given for a pipe. Signed-off-by: Maarten Lankhorst Reviewed-by: Mika Kahola --- tests/kms_cursor_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_cursor_legacy.c') diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c index 65a001a9..fc752683 100644 --- a/tests/kms_cursor_legacy.c +++ b/tests/kms_cursor_legacy.c @@ -155,7 +155,7 @@ static igt_output_t *set_fb_on_crtc(igt_display_t *display, enum pipe pipe, stru drmModeModeInfoPtr mode; igt_plane_t *primary; - if (output->pending_crtc_idx_mask) + if (output->pending_pipe != PIPE_NONE) continue; igt_output_set_pipe(output, pipe); -- cgit v1.2.3