From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Helt Subject: [PATCH] pm2fb: mtrr support and noaccel option Date: Sun, 17 Jun 2007 22:21:17 +0200 Message-ID: <467597BD.4080109@wp.pl> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030100090708000108010600" Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I01Dr-0008KZ-KB for linux-fbdev-devel@lists.sourceforge.net; Sun, 17 Jun 2007 13:19:43 -0700 Received: from mx1.wp.pl ([212.77.101.5]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I01Dq-0006Jp-Pc for linux-fbdev-devel@lists.sourceforge.net; Sun, 17 Jun 2007 13:19:43 -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:19:39 +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. --------------030100090708000108010600 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 --- --- linux-2.6.21.old/drivers/video/pm2fb.c 2007-06-06 18:44:49.000000000 +0200 +++ linux-2.6.21/drivers/video/pm2fb.c 2007-06-17 21:54:16.009433094 +0200 @@ -38,6 +38,9 @@ #include #include #include +#ifdef CONFIG_MTRR +#include +#endif #include