Add a test for pread after blitting to an object.

This caught a bug with get_user_pages usage in the kernel, which would
result in zeroes being read out of the object when faulting in a new page.
This commit is contained in:
Eric Anholt
2009-04-07 16:18:11 -07:00
parent 00c7571fce
commit cd9ba0a3b6
6 changed files with 231 additions and 3 deletions
+1 -2
View File
@@ -3,8 +3,7 @@ bin_PROGRAMS = \
intel_gpu_top \
intel_stepping
intel_gpu_top_LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS)
intel_stepping_LDADD = $(PCIACCESS_LIBS)
LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS)
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \
-I$(srcdir)/.. \