summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-11 10:36:33 -0800
committerEric Anholt <eric@anholt.net>2007-01-11 11:03:13 -0800
commitf5d528f8ea27de31054e7f1843e34d8379f811ea (patch)
tree08473ddc682e2d38381d1f2efab0e34e2ae3e80d /src/common.h
parentd13bc016c0723f1df633ddaf5610ad73003b7c96 (diff)
Don't limit cachelines to a vertical of 2048, and increase default allocation.
The cachelines are used for two things: XAA pixmap cache and XV memory. Only XAA pixmap cache is referred to using an offset pointing at the beginning of the front buffer in rendering, and XAA only uses the 2d BLT engine, which actually has a vertical limit of 65536. So, pixmap cache is now limited to that much vertical. Additionally, the previous cachelines allocation was too small for our advertised XV limits, so video at the limits would fail with BadAlloc. Now, XAA allocates the same approximate amount of offscreen memory as EXA: 3 times the screen size, plus one packed HD video.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h
index 2035862f..561dfac7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -339,10 +339,6 @@ extern int I810_DEBUG;
#define I810_CURSOR_X 64
#define I810_CURSOR_Y I810_CURSOR_X
-/* XXX Need to check if these are reasonable. */
-#define MAX_DISPLAY_PITCH 2048
-#define MAX_DISPLAY_HEIGHT 2048
-
#define PIPE_NAME(n) ('A' + (n))
#endif /* _INTEL_COMMON_H_ */