summaryrefslogtreecommitdiff
path: root/src/intel_memory.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2010-08-21 17:32:25 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-08-22 09:52:54 +0100
commit7f86e5b5da88201e5443e26619c35a1a9745cf68 (patch)
tree0300ffd42d13feb120162f541897e15b5c590ccd /src/intel_memory.c
parentb611bced15c30f7bcd03106ce90668b684c1ada6 (diff)
Replace ROUND_* macros with ALIGN.
Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_memory.c')
-rw-r--r--src/intel_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_memory.c b/src/intel_memory.c
index b42e6d79..091e3d09 100644
--- a/src/intel_memory.c
+++ b/src/intel_memory.c
@@ -128,7 +128,7 @@ intel_get_fence_pitch(intel_screen_private *intel, unsigned long pitch,
/* 965 is flexible */
if (IS_I965G(intel))
- return ROUND_TO(pitch, tile_width);
+ return ALIGN(pitch, tile_width);
/* Pre-965 needs power of two tile width */
for (i = tile_width; i < pitch; i <<= 1) ;