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_busy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_busy.c') diff --git a/tests/kms_busy.c b/tests/kms_busy.c index f430beaf..0828a8b3 100644 --- a/tests/kms_busy.c +++ b/tests/kms_busy.c @@ -41,7 +41,7 @@ set_fb_on_crtc(igt_display_t *dpy, int pipe, struct igt_fb *fb) 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