From 6727e17c00b2ad0a801f96fc8a2afe404b95ec88 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 14 Feb 2019 16:57:11 +0000 Subject: i915/gem_create: Verify that all new objects are clear The kernel must not return stale information back to userspace when they create a new object. For that purpose, we always clear objects on creation, so verify that this is so. Signed-off-by: Chris Wilson Cc: Matthew Auld Reviewed-by: Matthew Auld --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 24ee8514..c5dd210c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -95,6 +95,8 @@ AM_LDFLAGS = -Wl,--as-needed drm_import_export_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS) drm_import_export_LDADD = $(LDADD) -lpthread +gem_create_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS) +gem_create_LDADD = $(LDADD) -lpthread gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS) gem_close_race_LDADD = $(LDADD) -lpthread gem_ctx_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS) -- cgit v1.2.3