summaryrefslogtreecommitdiff
path: root/src/legacy
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/legacy
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/legacy')
-rw-r--r--src/legacy/i810/i810_common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/legacy/i810/i810_common.h b/src/legacy/i810/i810_common.h
index a526f736..14b29939 100644
--- a/src/legacy/i810/i810_common.h
+++ b/src/legacy/i810/i810_common.h
@@ -138,10 +138,6 @@ extern int I810_DEBUG;
#define I810_REG_SIZE 0x80000
#define GTT_PAGE_SIZE KB(4)
-#define ROUND_TO(x, y) (((x) + (y) - 1) / (y) * (y))
-#define ROUND_DOWN_TO(x, y) ((x) / (y) * (y))
-#define ROUND_TO_PAGE(x) ROUND_TO((x), GTT_PAGE_SIZE)
-#define ROUND_TO_MB(x) ROUND_TO((x), MB(1))
#define PRIMARY_RINGBUFFER_SIZE KB(128)
#define MIN_SCRATCH_BUFFER_SIZE KB(16)
#define MAX_SCRATCH_BUFFER_SIZE KB(64)