projects
/
profile
/
extras
/
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:
6a860b7
)
gem_stress: fix set_tiling
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 28 Mar 2011 19:42:26 +0000
(21:42 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 29 Mar 2011 20:49:08 +0000
(22:49 +0200)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_stress.c
patch
|
blob
|
history
diff --git
a/tests/gem_stress.c
b/tests/gem_stress.c
index
238f4ef
..
3fe1248
100644
(file)
--- a/
tests/gem_stress.c
+++ b/
tests/gem_stress.c
@@
-448,7
+448,7
@@
static void set_tiling(drm_intel_bo *bo, unsigned *tiling, unsigned stride)
*/
set_tiling.handle = bo->handle;
set_tiling.tiling_mode = *tiling;
- set_tiling.stride =
stride
;
+ set_tiling.stride =
tiling ? stride : 0
;
ret = ioctl(drm_fd,
DRM_IOCTL_I915_GEM_SET_TILING,