diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-26 20:41:00 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-26 20:55:54 +0200 |
commit | ad0f081f2b569a2392d0df1fe7bb140b57d91a46 (patch) | |
tree | e115e864de1611540238893e72b13ea137687b81 /tests | |
parent | 8869e1e6281139f2c12a9a774becd6c1f892274f (diff) |
Revert "tests/gem_concurrent_blit: Fix segmentation fault"
This reverts commit 912a7d855600aadb937517ec5bab26bfd9b8953d.
Now fixed for real!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_concurrent_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_concurrent_blit.c b/tests/gem_concurrent_blit.c index d9ef5b56..69477748 100644 --- a/tests/gem_concurrent_blit.c +++ b/tests/gem_concurrent_blit.c @@ -333,11 +333,11 @@ run_basic_modes(struct access_mode *mode, run_wrap_func(mode, src, dst, dummy, do_gpu_read_after_write); } -drm_intel_bo *src[MAX_NUM_BUFFERS], *dst[MAX_NUM_BUFFERS], *dummy = NULL; - static void run_modes(struct access_mode *mode) { + drm_intel_bo *src[MAX_NUM_BUFFERS], *dst[MAX_NUM_BUFFERS], *dummy = NULL; + igt_fixture { bufmgr = drm_intel_bufmgr_gem_init(fd, 4096); drm_intel_bufmgr_gem_enable_reuse(bufmgr); |