summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-08-07 18:05:29 -0700
committerEric Anholt <eric@anholt.net>2009-08-07 18:20:24 -0700
commit222b52ef16895823fbf3a0fc0be4eb23b930ed1b (patch)
treeefd76ffbd4c1aa2243f90e7cc2ab42a8c379d5a0 /src/i830_memory.c
parent62494407e529cfa68529b7267155a12d75418f21 (diff)
Align tiled pixmap height so we don't address beyond the end of our buffers.
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index d3c9299a..434510a3 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -88,8 +88,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "i810_reg.h"
#include "i915_drm.h"
-#define ALIGN(i,m) (((i) + (m) - 1) & ~((m) - 1))
-
/* Our hardware status area is just a single page */
#define HWSTATUS_PAGE_SIZE GTT_PAGE_SIZE
#define PWRCTX_SIZE GTT_PAGE_SIZE