diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-09-27 12:25:37 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-10-03 09:39:40 +0200 |
commit | 76c7a71a13fd21fbf58ec2903c25acc980b7ddaf (patch) | |
tree | 6061d06f73320d2a4a9ad4d5ac1a63c7ea76315a /tests/kms_cursor_legacy.c | |
parent | b5404f8435f828ca039a2e46be629b3d4c92465b (diff) |
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 <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r-- | tests/kms_cursor_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |