summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 12:07:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 12:07:44 +0000
commit7614bf7ac9b6163f47b9492d013aba6ed71319af (patch)
treef4d729cfaa4f4dc5f3ce9a72b4ce19ca328c1d9b
parent3ad5bf06a3888fb17e1b5025e96ff7f6f253730e (diff)
downloaddrakx-7614bf7ac9b6163f47b9492d013aba6ed71319af.tar
drakx-7614bf7ac9b6163f47b9492d013aba6ed71319af.tar.gz
drakx-7614bf7ac9b6163f47b9492d013aba6ed71319af.tar.bz2
drakx-7614bf7ac9b6163f47b9492d013aba6ed71319af.tar.xz
drakx-7614bf7ac9b6163f47b9492d013aba6ed71319af.zip
enable UseFBDev in X configs on ppc, for rage128 and radeon
-rw-r--r--perl-install/Xconfig/card.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index b34d97d41..85644eca7 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -53,6 +53,9 @@ sub to_raw_X {
# $default_ATI_fglrx_config need to be move in proprietary ?
$_->{raw_LINES} ||= default_ATI_fglrx_config();
}
+ if (arch() =~ /ppc/ && ($_->{Driver} eq 'r128' || $_->{Driver} eq 'radeon')) {
+ $_->{UseFBDev} = 1;
+ }
}
$raw_X->set_devices(@cards);