Message ID | 1402931541-29304-1-git-send-email-thomas.wood@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index ec1ab38..1d9362d 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -544,6 +544,8 @@ void igt_display_init(igt_display_t *display, int drm_fd) drmModePlaneRes *plane_resources; int i; + memset(display, 0, sizeof(igt_display_t)); + LOG_INDENT(display, "init"); display->drm_fd = drm_fd;