diff options
author | Julien Cristau <jcristau@debian.org> | 2008-01-17 22:34:21 +0800 |
---|---|---|
committer | root <root@zhen-devel.sh.intel.com> | 2008-01-17 22:34:21 +0800 |
commit | 633dbd28218fd8a746c1735fd44a14f35bd07faa (patch) | |
tree | 50d871789225e6b3b6ff0e9ce5bc53aff618e2db /src/i810_driver.c | |
parent | 4fec18e07f2b23306e885d63c74661ae0e4b04d9 (diff) |
Bug 14032: i810, set default depth to 16
X fails to start without an xorg.conf on i810, because the default depth set by
the server (32) is not supported by the driver. I think the driver should
default to 16 bits (it supports 24, but when I tested it that didn't seem to
work very well, and dri is disabled at 24 bits depth anyway) instead of letting
the server use 32 and failing later on.
Diffstat (limited to 'src/i810_driver.c')
-rw-r--r-- | src/i810_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c index 1ecb04a3..53121a6a 100644 --- a/src/i810_driver.c +++ b/src/i810_driver.c @@ -954,7 +954,7 @@ I810PreInit(ScrnInfoPtr pScrn, int flags) pScrn->monitor = pScrn->confScreen->monitor; flags24 = Support24bppFb | PreferConvert32to24 | SupportConvert32to24; - if (!xf86SetDepthBpp(pScrn, 0, 0, 0, flags24)) { + if (!xf86SetDepthBpp(pScrn, 16, 0, 16, flags24)) { return FALSE; } else { switch (pScrn->depth) { |