diff options
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r-- | lib/igt_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 07b0a4e3..eca0f6d0 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1122,7 +1122,7 @@ static igt_plane_t *igt_pipe_get_plane(igt_pipe_t *pipe, enum igt_plane plane) if (plane == IGT_PLANE_CURSOR) idx = pipe->n_planes - 1; else { - igt_assert_f(plane >= 0 && plane < (pipe->n_planes - 1), + igt_assert_f(plane >= 0 && plane < (pipe->n_planes), "plane=%d\n", plane); idx = plane; } |