From 1a441f268a8f2c39460e659b3fdba81577431722 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 22 Dec 2016 16:07:08 +0100 Subject: forbid 24bit for geode (mga#19927) --- lib/Xconfig/resolution_and_depth.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Xconfig/resolution_and_depth.pm') diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 50b89a4..05a61e5 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -64,6 +64,8 @@ sub allowed { my @depths; if (member($card->{Driver}, qw(fglrx qxl savage))) { @depths = 24; + } elsif ($card->{Driver} eq 'geode') { + @depths = qw(16); } elsif ($card->{BoardName} eq 'NVIDIA RIVA 128') { @depths = qw(8 15 24); } elsif ($card->{use_DRI_GLX}) { -- cgit v1.2.1