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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-03-01 09:21:03 +00:00
parent e05d2e4814
commit 4174c7bb14
1 changed files with 1 additions and 1 deletions

View File

@ -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;