tests: add drm_threaded_access_tiled

This catches parallel access to bo->virtual causing sigbus

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
[danvet: applied some bikeshed
- changed prefix from drm_ to gem_, it's a kernel gem test
- added autohell magic to link with pthreads
- .gitignore entry
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2012-10-03 13:44:30 +02:00
parent 9965299cf3
commit 2d431fd6b6
2 changed files with 125 additions and 0 deletions
+2
View File
@@ -41,6 +41,7 @@ TESTS_progs = \
gem_partial_pwrite_pread \
gem_linear_blits \
gem_vmap_blits \
gem_threaded_access_tiled \
gem_tiled_blits \
gem_tiled_fence_blits \
gem_largeobject \
@@ -138,6 +139,7 @@ AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
gem_fence_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_fence_thrash_LDADD = $(LDADD) -lpthread
gem_threaded_access_tiled_LDADD = $(LDADD) -lpthread
gem_wait_render_timeout_LDADD = $(LDADD) -lrt