ntel-gpu-tools/tests/Makefile.am
Chris Wilson 371f87f2d8 Exercise the whole aperture with tiled blits
After full-gtt, gem_tiled_blits doesn't allocate enough to force
eviction. So query the total aperture and accommodate.

Also introduce a similar test that utilizes fences rather than
use the BLT to perform the tiling and detiling.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01 10:56:46 +00:00

45 lines
873 B
Makefile

TESTS = getversion \
getclient \
getstats \
gem_basic \
gem_exec_nop \
gem_exec_blt \
gem_flink \
gem_readwrite \
gem_ringfill \
gem_mmap \
gem_pwrite \
gem_pread_after_blit \
gem_tiled_pread \
gem_tiled_blits \
gem_tiled_fence_blits \
gem_largeobject \
gem_bad_address \
gem_bad_blit \
gem_bad_batch \
gem_hang \
gem_fence_thrash \
gem_gtt_speed \
$(NULL)
EXTRA_PROGRAMS = $(TESTS)
CLEANFILES = $(EXTRA_PROGRAMS)
AM_CFLAGS = $(DRM_CFLAGS) $(WARN_CFLAGS) \
-I$(srcdir)/.. \
-I$(srcdir)/../lib
LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS)
if HAVE_CAIRO
if HAVE_LIBUDEV
if HAVE_GLIB
TESTS += testdisplay
LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS)
AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
endif
endif
endif
gem_fence_thrash_CFLAGS = $(AM_CFLAGS) -pthread
gem_fence_thrash_LDADD = $(LDADD) -lpthread