projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0abb1b
)
intel: Fix typo in conversion from IS_GEN to bufmgr_gem->gen.
author
Eric Anholt
<eric@anholt.net>
Tue, 2 Mar 2010 23:24:50 +0000
(15:24 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 2 Mar 2010 23:39:37 +0000
(15:39 -0800)
Luckily I caught the bug with the first consumer of the interface.
intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr_gem.c
b/intel/intel_bufmgr_gem.c
index
c4ec621
..
38e0ed9
100644
(file)
--- a/
intel/intel_bufmgr_gem.c
+++ b/
intel/intel_bufmgr_gem.c
@@
-226,7
+226,7
@@
drm_intel_gem_bo_tile_size(drm_intel_bufmgr_gem *bufmgr_gem, unsigned long size,
return ROUND_UP_TO(size, 4096);
/* Older chips need powers of two, of at least 512k or 1M */
- if (bufmgr_gem->gen ==
2
) {
+ if (bufmgr_gem->gen ==
3
) {
min_size = 1024*1024;
max_size = 128*1024*1024;
} else {