Message ID | 1461164389-15726-6-git-send-email-robert.foss@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 522ede5..f6d0760 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1388,7 +1388,7 @@ void igt_display_init(igt_display_t *display, int drm_fd) pipe->n_planes = plane_counter; /* make sure we don't overflow the plane array */ - igt_assert(pipe->n_planes <= IGT_MAX_PLANES); + igt_assert_lte(pipe->n_planes, IGT_MAX_PLANES); } /*