diff options
author | Matt Wilson <msw@redhat.com> | 2000-07-29 22:19:07 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-07-29 22:19:07 +0000 |
commit | ef03c4b29ef043b1b9aeb9c60e9fa557158ecada (patch) | |
tree | 0f8abb35d6107a4e3e7ab2c7605f1f884846c344 | |
parent | fbdba2e9da48b094547f16872ff1ebfe5c01efa6 (diff) | |
download | anaconda-ef03c4b29ef043b1b9aeb9c60e9fa557158ecada.tar.gz anaconda-ef03c4b29ef043b1b9aeb9c60e9fa557158ecada.tar.xz anaconda-ef03c4b29ef043b1b9aeb9c60e9fa557158ecada.zip |
add more resolutions if we have enough ram
-rw-r--r-- | xf86config.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/xf86config.py b/xf86config.py index d87cd2ecc..eb3a9e6b2 100644 --- a/xf86config.py +++ b/xf86config.py @@ -612,7 +612,15 @@ class XF86Config: if laptop: self.modes = laptop return - if string.atoi(self.vidRam) >= 4096: + if string.atoi(self.vidRam) >= 8192: + self.modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] + self.modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] + self.modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] + elif string.atoi(self.vidRam) >= 6144: + self.modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] + self.modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] + self.modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024"] + elif string.atoi(self.vidRam) >= 4096: self.modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] self.modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1600x1200"] self.modes["32"] = ["640x480", "800x600", "1024x768", "1152x864"] @@ -879,6 +887,7 @@ class XF86Config: def laptop (self): if not self.descr: return None + # PCI descr, (horiz, vert), modes laptops = (("ATI|Rage Mobility", ("30-60", "60-90"), { "8" : ["1024x768"], |