mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
drm/gma500: Increase max resolution for mode setting
commit cbbd379aa4
upstream.
By having a higher max resolution we can now set up a virtual
framebuffer that spans several monitors. 4096 should be ok since we're
gen 3 or higher and should be enough for most dual head setups.
Bugzilla:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-modesetting/+bug/1169147
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
800d5c2cab
commit
ce840e2f78
1 changed files with 2 additions and 2 deletions
|
@ -782,8 +782,8 @@ void psb_modeset_init(struct drm_device *dev)
|
||||||
for (i = 0; i < dev_priv->num_pipe; i++)
|
for (i = 0; i < dev_priv->num_pipe; i++)
|
||||||
psb_intel_crtc_init(dev, i, mode_dev);
|
psb_intel_crtc_init(dev, i, mode_dev);
|
||||||
|
|
||||||
dev->mode_config.max_width = 2048;
|
dev->mode_config.max_width = 4096;
|
||||||
dev->mode_config.max_height = 2048;
|
dev->mode_config.max_height = 4096;
|
||||||
|
|
||||||
psb_setup_outputs(dev);
|
psb_setup_outputs(dev);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue