From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Helt Subject: [PATCH] pm3fb: mtrr support and noaccel option Date: Sun, 17 Jun 2007 22:20:27 +0200 Message-ID: <4675978B.8080100@wp.pl> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010302080504070608020506" Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I01D4-0008EQ-33 for linux-fbdev-devel@lists.sourceforge.net; Sun, 17 Jun 2007 13:18:54 -0700 Received: from mx1.wp.pl ([212.77.101.5]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I01D3-0002LW-5y for linux-fbdev-devel@lists.sourceforge.net; Sun, 17 Jun 2007 13:18:53 -0700 Received: from host-87-99-61-239.lanet.net.pl (HELO [87.99.61.239]) (krzysztof.h1@[87.99.61.239]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 17 Jun 2007 22:18:49 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: Linux Fbdev development list This is a multi-part message in MIME format. --------------010302080504070608020506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Krzysztof Helt This patch adds usage of MTRR registers and two new options: noaccel and nomtrr. Signed-off-by: Krzysztof Helt --- I could not resist making porting mtrr support for pm3fb. This patch reverts Adrian Bunk removal of pm3fb_setup function. --- linux-2.6.21.old/drivers/video/pm3fb.c 2007-06-17 21:50:33.496752796 +0200 +++ linux-2.6.21/drivers/video/pm3fb.c 2007-06-17 21:38:19.618515886 +0200 @@ -32,6 +32,9 @@ #include #include #include +#ifdef CONFIG_MTRR +#include +#endif #include