summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-11-05 13:33:55 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-05 13:35:34 -0800
commitc87585229b36790f883b9b8954ed061e00624df6 (patch)
treebe0b7064c9aa1e9fe44fa33ddfd34fc2e56c9cbe
parentcbcfb711747e3637f20145aed00ac3d6256d0d1d (diff)
Increase stride limit for IGDNG
It can go up to 32k. Upping this lets me use my 2560x1600 and 1920x1200 monitors in an extended desktop configuration. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--src/i830_memory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index f32abc2a..8fac2aaa 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -158,6 +158,9 @@ i830_check_display_stride(ScrnInfoPtr scrn, int stride, Bool tiling)
if (IS_I965G(intel) && tiling)
limit = KB(16);
+ if (IS_IGDNG(intel) && tiling)
+ limit = KB(32);
+
if (stride <= limit)
return TRUE;
else