diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-02 15:24:50 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-03-02 15:39:37 -0800 |
commit | acbaff24e071dce0d23c057c9890f3aec732b8ec (patch) | |
tree | 9a2569ac5bf4bdb4db7cd3e32050e5e423a21772 | |
parent | a0abb1b14ef60abfd1d5aacd83f06d6f94dc13a4 (diff) |
intel: Fix typo in conversion from IS_GEN to bufmgr_gem->gen.
Luckily I caught the bug with the first consumer of the interface.
-rw-r--r-- | intel/intel_bufmgr_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index c4ec6214..38e0ed9e 100644 --- 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 { |