mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 22:55:39 +00:00
tests/prime_self_import: Add racing handle2fd testcase
Similar to how we test flink races. Note that on unfixed kernels this oopses, and with my current set of patches it still leaks like mad. v2: Only close the prime fd if we've successfully created it. v3: Add a reimport test to check whether we don't race when reaping the obj->dma_buf link. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -195,6 +195,7 @@ gem_fence_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
|
||||
gem_fence_thrash_LDADD = $(LDADD) -lpthread
|
||||
gem_flink_race_LDADD = $(LDADD) -lpthread
|
||||
gem_threaded_access_tiled_LDADD = $(LDADD) -lpthread
|
||||
prime_self_import_LDADD = $(LDADD) -lpthread
|
||||
|
||||
gem_wait_render_timeout_LDADD = $(LDADD) -lrt
|
||||
kms_flip_LDADD = $(LDADD) -lrt
|
||||
|
||||
Reference in New Issue
Block a user