From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kristoffer Ericson Subject: PATCH - Add accelerated bitblt functions to s1d13xxxfb Date: Sat, 6 Jun 2009 14:10:37 +0200 Message-ID: <20090606141037.7debdb08.kristoffer.ericson@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__6_Jun_2009_14_10_37_+0200_Cvtg4LcHeQ2lHWK/" Return-path: Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MCue2-0005NF-3g for linux-fbdev-devel@lists.sourceforge.net; Sat, 06 Jun 2009 12:05:06 +0000 Received: from mail-fx0-f225.google.com ([209.85.220.225]) by 29vjzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1MCudx-0007z0-BN for linux-fbdev-devel@lists.sourceforge.net; Sat, 06 Jun 2009 12:05:06 +0000 Received: by fxm25 with SMTP id 25so1999763fxm.10 for ; Sat, 06 Jun 2009 05:04:59 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: Andrew Morton Cc: "linux-fbdev-devel@lists.sourceforge.net" This is a multi-part message in MIME format. --Multipart=_Sat__6_Jun_2009_14_10_37_+0200_Cvtg4LcHeQ2lHWK/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit This patch adds accelerated bitblt functions to s1d13xxx based video chipsets, more specificly functions copyarea and fillrect. It has only been tested and activated for 13506 chipsets but is expected to work for the majority of s1d13xxx based chips. This patch also cleans up the driver with respect of whitespaces and other formatting issues. We update the current status comments. Signed-off-by: Kristoffer Ericson diff --git a/drivers/video/s1d13xxxfb.c b/drivers/video/s1d13xxxfb.c index 0726aec..a2a893f 100644 --- a/drivers/video/s1d13xxxfb.c +++ b/drivers/video/s1d13xxxfb.c @@ -2,6 +2,7 @@ * * (c) 2004 Simtec Electronics * (c) 2005 Thibaut VARENE + * (c) 2009 Kristoffer Ericson * * Driver for Epson S1D13xxx series framebuffer chips * @@ -10,18 +11,10 @@ * linux/drivers/video/epson1355fb.c * linux/drivers/video/epson/s1d13xxxfb.c (2.4 driver by Epson) * - * Note, currently only tested on S1D13806 with 16bit CRT. - * As such, this driver might still contain some hardcoded bits relating to - * S1D13806. - * Making it work on other S1D13XXX chips should merely be a matter of adding - * a few switch()s, some missing glue here and there maybe, and split header - * files. - * * TODO: - handle dual screen display (CRT and LCD at the same time). * - check_var(), mode change, etc. - * - PM untested. - * - Accelerated interfaces. - * - Probably not SMP safe :) + * - probably not SMP safe :) + * - support all bitblt operations on all cards * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for @@ -31,19 +24,24 @@ #include #include #include - #include #include #include #include #include +#include +#include #include #include