projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16bc619
)
tests: re-enable commented-out testcase
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 17 Apr 2012 20:38:44 +0000
(22:38 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 17 Apr 2012 20:38:44 +0000
(22:38 +0200)
Meh, I suck.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_set_tiling_vs_pwrite.c
patch
|
blob
|
history
diff --git
a/tests/gem_set_tiling_vs_pwrite.c
b/tests/gem_set_tiling_vs_pwrite.c
index
217cbea
..
35ec5cd
100644
(file)
--- a/
tests/gem_set_tiling_vs_pwrite.c
+++ b/
tests/gem_set_tiling_vs_pwrite.c
@@
-67,7
+67,6
@@
int main(int argc, char **argv)
gem_set_tiling(fd, handle, I915_TILING_X, TEST_STRIDE);
-#if 0
/* touch it */
gem_set_domain(fd, handle, I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
*ptr = 0xdeadbeef;
@@
-78,7
+77,6
@@
int main(int argc, char **argv)
gem_read(fd, handle, 0, data, OBJECT_SIZE);
for (i = 0; i < OBJECT_SIZE/4; i++)
assert(i == data[i]);
-#endif
/* touch it before changing the tiling, so that the fence sticks around */
gem_set_domain(fd, handle, I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);