lib/drmtest: extract gem_set_domain and gem_sync
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Jan 2012 15:05:34 +0000 (16:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Jan 2012 15:05:34 +0000 (16:05 +0100)
commit673e6b220a34fb7600cbf272bc46a4ac1ca08905
tree41020c3923d71a96a3f9259288aa7375724cc8d0
parenta7a80c2c2f7ac15ae50d75dc2fcaf59834b47e0c
lib/drmtest: extract gem_set_domain and gem_sync

gem_sync just does a gtt sync by using set_domain(GTT, GTT).

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
lib/drmtest.h
tests/gem_exec_blt.c
tests/gem_exec_faulting_reloc.c
tests/gem_exec_nop.c
tests/gem_fence_thrash.c
tests/gem_gtt_speed.c
tests/gem_mmap_gtt.c
tests/gem_stress.c
tests/gem_vmap_blits.c