]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix radeonfb "noaccel" command line
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 15 Feb 2004 09:57:16 +0000 (01:57 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 15 Feb 2004 09:57:16 +0000 (01:57 -0800)
Fix proper detection of the "noaccel" command line argument for
new radeonfb so we can boot without acceleration. Useful when
diagnosing an accel-related problem.

drivers/video/aty/radeon_base.c

index 5bcd07878a461fd747a0d71bb0ea0329e195da7d..ffefa6c08e5a8d06e7f3d155e5b5e38502a053ee 100644 (file)
@@ -2332,7 +2332,7 @@ int __init radeonfb_setup (char *options)
                        continue;
 
                if (!strncmp(this_opt, "noaccel", 7)) {
-                       radeonfb_noaccel = 1;
+                       noaccel = radeonfb_noaccel = 1;
                } else if (!strncmp(this_opt, "mirror", 6)) {
                        mirror = 1;
                } else if (!strncmp(this_opt, "force_dfp", 9)) {