tests/gem_concurrent_blit: Fix segmentation fault
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Aug 2013 04:39:43 +0000 (06:39 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Aug 2013 04:42:10 +0000 (06:42 +0200)
commit912a7d855600aadb937517ec5bab26bfd9b8953d
tree6832b116cd7f443dc0a16f9aacd092d4378a2d4e
parent00282ed4589491732e921b66166ffa72e3ae11f3
tests/gem_concurrent_blit: Fix segmentation fault

Apparently the simple changes introduced in

commit 78865847f9fae7e590960f9836f2ec8b611a190e
Author:     Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Mon Aug 19 07:23:49 2013 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Mon Aug 19 08:09:25 2013 +0200

    lib/drmtest: skip fixtures after an igt_skip

pushed the stack space requirement for run_modes over some magic limit
(I guess where the strack grow logic starts to fail, but I didn't
check). Fix this by moving the data into .bss.

Also add some asserts to check that fixtures aren't abused while at
it (i.e. the useful parts of my debug printf/assert craze).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68299
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
tests/gem_concurrent_blit.c