lib: extract rendercopy functions from gem_stress
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Jan 2012 20:23:56 +0000 (21:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Jan 2012 20:23:56 +0000 (21:23 +0100)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/Makefile.am
lib/gem_stress_gen6.c [moved from tests/gem_stress_gen6.c with 100% similarity]
lib/gem_stress_i830.c [moved from tests/gem_stress_i830.c with 100% similarity]
lib/gem_stress_i915.c [moved from tests/gem_stress_i915.c with 100% similarity]
lib/gen6_render.h [moved from tests/gen6_render.h with 100% similarity]
lib/rendercopy.h [moved from tests/rendercopy.h with 100% similarity]
tests/Makefile.am

index 9607fcb..4e8d9e9 100644 (file)
@@ -21,5 +21,11 @@ libintel_tools_la_SOURCES =  \
        intel_mmio.c            \
        intel_pci.c             \
        intel_reg.h             \
-       intel_reg_map.c
+       gem_stress_i915.c       \
+       gem_stress_i830.c       \
+       gen6_render.h           \
+       gem_stress_gen6.c       \
+       intel_reg_map.c         \
+       gem_stress.h            \
+       $(NULL)
 
similarity index 100%
rename from tests/gen6_render.h
rename to lib/gen6_render.h
similarity index 100%
rename from tests/rendercopy.h
rename to lib/rendercopy.h
index 190d2d3..bb2581b 100644 (file)
@@ -4,15 +4,6 @@ noinst_PROGRAMS = \
        $(HANG) \
        $(NULL)
 
-gem_stress_SOURCES = \
-       gem_stress.c \
-       gem_stress.h \
-       gem_stress_i915.c \
-       gem_stress_i830.c \
-       gen6_render.h \
-       gem_stress_gen6.c \
-       $(NULL)
-
 TESTS_progs = \
        getversion \
        getclient \