OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576cba8
)
intel: set correct limits on screen width/height from DDX
author
Dave Airlie
<airlied@linux.ie>
Thu, 8 May 2008 06:10:06 +0000
(16:10 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Thu, 8 May 2008 06:10:06 +0000
(16:10 +1000)
linux-core/intel_display.c
patch
|
blob
|
history
diff --git
a/linux-core/intel_display.c
b/linux-core/intel_display.c
index
46abb90
..
f66570c
100644
(file)
--- 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))