summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-06-11 10:14:15 +0300
committerAlon Levy <alevy@redhat.com>2012-06-11 10:14:15 +0300
commit406aeb35f89248cc59e44c0c0ebf06071afea0a5 (patch)
treec9b92f70ede4b7293584b8cbdb00d503ab2d18a2
parentb49ebf1090ef3184d5a3b643747ed7fb01ea7835 (diff)
qxl_driver: use less memory by default for 4 heads
-rw-r--r--src/qxl_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 89e94b8..53ca040 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1641,8 +1641,8 @@ qxl_init_randr(ScrnInfoPtr pScrn, qxl_screen_t *qxl)
maxWidth = 2048;
maxHeight = 1024;
default:
- maxWidth = (qxl->num_heads > 4 ? 4 : qxl->num_heads) * 1024;
- maxHeight = (qxl->num_heads > 4 ? 4 : qxl->num_heads) * 512;
+ maxWidth = (qxl->num_heads > 4 ? 4 : qxl->num_heads) * 1280;
+ maxHeight = 1024;
}
xf86CrtcConfigInit(pScrn, &qxl_xf86crtc_config_funcs);