test/gem_userptr_*: Fix compile fail
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 15:52:02 +0000 (17:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 15:54:08 +0000 (17:54 +0200)
commit1b55886c4ba111b2ba331b03289658cbd1ae0e2e
tree76aa645298fbfecc8a29e053288a164d382b2dfb
parentd3057d7a1eba0c050f5d6d9674d56d1794b1f066
test/gem_userptr_*: Fix compile fail

Also shut up warnings. Those revealed incorrect usage of local
variables in conjunction with igt_fixture/igt_subtest. Since those use
longjmps we need to move the out of the stackframe those magic blocks
are declared in.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
benchmarks/gem_userptr_benchmark.c
tests/gem_userptr_blits.c