From 4174c7bb14ea3428d86dc327950e76d0589e0cc4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 1 Mar 2013 09:21:03 +0000 Subject: sna: Use depth-15 rather than depth-16 for reduced bw devices Keeping the number of bits identical between the RGB channels helps prevent discoloration. Signed-off-by: Chris Wilson --- src/sna/sna_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 5d7a1a21..bc1daefd 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -512,7 +512,7 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags) flags24 = Support32bppFb | PreferConvert24to32 | SupportConvert24to32; - preferred_depth = sna->info->gen < 040 ? 16 : 24; + preferred_depth = sna->info->gen < 040 ? 15 : 24; if (!xf86SetDepthBpp(scrn, preferred_depth, 0, 0, flags24)) return FALSE; -- cgit v1.2.3