Skip to contentSkip to conversation

tests: add drm_threaded_access_tiled

PATCH In review [email protected] 2 participants 2 messages Oct 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: add drm_threaded_access_tiled

From: Mika Kuoppala <[email protected]>

This catches parallel access to bo->virtual causing sigbus

---
 tests/Makefile.am                 |    1 +
 tests/drm_threaded_access_tiled.c |  123 +++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)
 create mode 100644 tests/drm_threaded_access_tiled.c
tests/Makefile.am +1 -0
index 956a724..6811290 100644
@@ -71,6 +71,7 @@ TESTS_progs = \
 	drm_vma_limiter_cpu \
 	drm_vma_limiter_gtt \
 	drm_vma_limiter_cached \
+	drm_threaded_access_tiled \
 	sysfs_rc6_residency \
 	sysfs_rps \
 	flip_test \
tests/drm_threaded_access_tiled.c new file +123 -0

123 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · On Wed, Oct 03, 2012 at 03:27:04PM +0300, [email protected] wrote:

From: Mika Kuoppala <[email protected]>

This catches parallel access to bo->virtual causing sigbus

Patch applied with some tiny amount of bikeshed (as discussed on irc), thanks a lot. Now please bring on the fix ;-)
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch