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:
3d66d91
)
gem_stress: round max_dimension down to the next pot
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 6 Jun 2011 16:59:54 +0000
(18:59 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 6 Jun 2011 16:59:54 +0000
(18:59 +0200)
Creates funny rounding problems otherwise.
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
b5732ba
..
a94fe35
100644
(file)
--- a/
tests/gem_stress.c
+++ b/
tests/gem_stress.c
@@
-699,7
+699,8
@@
static void parse_options(int argc, char **argv)
if (optind < argc)
printf("unkown command options\n");
- options.max_dimension = 32767;
+ /* actually 32767, according to docs, but that kills our nice pot calculations. */
+ options.max_dimension = 16*1024;
if (options.use_render) {
if (IS_GEN2(devid) || IS_GEN3(devid))
options.max_dimension = 2048;