mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-23 17:58:15 +02:00
intel: set correct limits on screen width/height from DDX
This commit is contained in:
parent
576cba86b7
commit
74a49aea61
1 changed files with 7 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue