Message ID | 1487588568-5033-4-git-send-email-brian.starkey@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 2073a6acfa7b..60c4c260bf2d 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1692,12 +1692,6 @@ void igt_display_init(igt_display_t *display, int drm_fd) memset(&pipe->planes[last_plane], 0, sizeof *plane); } - } else { - /* Add drm_plane-less cursor */ - plane = &pipe->planes[p]; - plane->pipe = pipe; - plane->index = p; - plane->type = DRM_PLANE_TYPE_CURSOR; } pipe->n_planes = n_planes;