From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: [PATCH 19/33] pm2fb: mtrr support and noaccel option Date: Thu, 26 Jul 2007 20:24:36 +0800 Message-ID: <46A89284.6030005@gmail.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 1IE2ul-00013c-Hr for linux-fbdev-devel@lists.sourceforge.net; Thu, 26 Jul 2007 05:57:59 -0700 Received: from wa-out-1112.google.com ([209.85.146.178]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IE2ul-00084u-A1 for linux-fbdev-devel@lists.sourceforge.net; Thu, 26 Jul 2007 05:57:59 -0700 Received: by wa-out-1112.google.com with SMTP id k22so614502waf for ; Thu, 26 Jul 2007 05:57:59 -0700 (PDT) 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: Andrew Morton Cc: Linux Fbdev development list From: Krzysztof Helt This patch adds usage of MTRR registers and two new options: noaccel and nomtrr. Signed-off-by: Krzysztof Helt Signed-off-by: Antonino Daplas --- drivers/video/pm2fb.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 42 insertions(+), 2 deletions(-) diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c index 10c0cc6..5c6ff96 100644 --- a/drivers/video/pm2fb.c +++ b/drivers/video/pm2fb.c @@ -38,6 +38,9 @@ #include #include #include #include +#ifdef CONFIG_MTRR +#include +#endif #include