summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-12-22 16:07:08 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-03-07 20:25:08 +0100
commit1a441f268a8f2c39460e659b3fdba81577431722 (patch)
tree1dfd31e529f86c16a8f1bee3013456412bc9cffb /lib
parent2860d15a1ccb5d1cc3d33161a35ba4e6fa0fa3d3 (diff)
downloaddrakx-kbd-mouse-x11-1a441f268a8f2c39460e659b3fdba81577431722.tar
drakx-kbd-mouse-x11-1a441f268a8f2c39460e659b3fdba81577431722.tar.gz
drakx-kbd-mouse-x11-1a441f268a8f2c39460e659b3fdba81577431722.tar.bz2
drakx-kbd-mouse-x11-1a441f268a8f2c39460e659b3fdba81577431722.tar.xz
drakx-kbd-mouse-x11-1a441f268a8f2c39460e659b3fdba81577431722.zip
forbid 24bit for geode (mga#19927)
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/resolution_and_depth.pm2
1 files changed, 2 insertions, 0 deletions
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}) {