summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-05-08 16:10:06 +1000
committerDave Airlie <airlied@linux.ie>2008-05-08 16:10:06 +1000
commit74a49aea6104ebea7525a04760ef21646a3ffaf4 (patch)
tree0732b94084d85862f2c90185be79fe56bb5b657c /linux-core
parent576cba86b704c0de484ba852b8dce5b24d683f7e (diff)
intel: set correct limits on screen width/height from DDX
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/intel_display.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c
index 46abb90c..f66570c2 100644
--- a/linux-core/intel_display.c
+++ b/linux-core/intel_display.c
@@ -1448,8 +1448,13 @@ void intel_modeset_init(struct drm_device *dev)
dev->mode_config.min_width = 0;
dev->mode_config.min_height = 0;
- dev->mode_config.max_width = 4096;
- dev->mode_config.max_height = 4096;
+ if (IS_I965G(dev)) {
+ dev->mode_config.max_width = 8192;
+ dev->mode_config.max_height = 8192;
+ } else {
+ dev->mode_config.max_width = 2048;
+ dev->mode_config.max_height = 2048;
+ }
/* set memory base */
if (IS_I9XX(dev))