From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Krzysztof Helt" Subject: [REPOST][PATCH] pm2fb: mtrr support and noaccel option Date: Thu, 21 Jun 2007 09:04:15 +0200 Message-ID: <467a22ef07292@wp.pl> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="part467a22ef0998c" 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 1I1GiL-0005Ei-KR for linux-fbdev-devel@lists.sourceforge.net; Thu, 21 Jun 2007 00:04:21 -0700 Received: from mx1.wp.pl ([212.77.101.5]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1I1GiJ-0005KF-Pk for linux-fbdev-devel@lists.sourceforge.net; Thu, 21 Jun 2007 00:04:21 -0700 Received: from poczta-17.free.wp-sa.pl (HELO localhost) ([10.1.1.76]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 21 Jun 2007 09:04:15 +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-devel This is a multi-part message in MIME format. --part467a22ef0998c Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: Krzysztof Helt This patch adds usage of MTRR registers and two new options: noaccel and nomtrr. Signed-off-by: Krzysztof Helt --- The previous patch does not applied if the mm patches were applied. This one fixes it. --- linux-2.6.21/drivers/video/pm2fb.c 2007-06-21 08:32:07.000000000 +0200 +++ linux-2.6.22/drivers/video/pm2fb.c 2007-06-21 08:30:09.000000000 +0200 @@ -38,6 +38,9 @@ #include #include #include +#ifdef CONFIG_MTRR +#include +#endif =20 #include