summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-03-13 12:44:21 +1000
committerDave Airlie <airlied@linux.ie>2008-03-13 12:44:21 +1000
commit0bb813fa212b0c349b92c3ae2f9165738003533d (patch)
tree1a13af76bcb4741fb39a437cb4528c86a5f506f0
parent2cece73303455fb9a28e723d6b8c1e3eb867b8ed (diff)
cirrus: set default depth to 24bpp
this fixes autoconfiguation and it shouldn't override anything else.
-rw-r--r--src/alp_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index a282c21..cf41080 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -602,7 +602,7 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
* The first thing we should figure out is the depth, bpp, etc.
* We support both 24bpp and 32bpp layouts, so indicate that.
*/
- if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support24bppFb | Support32bppFb |
+ if (!xf86SetDepthBpp(pScrn, 0, 0, 24, Support24bppFb | Support32bppFb |
SupportConvert32to24 | PreferConvert32to24)) {
return FALSE;
} else {