From: Kristoffer Ericson Subject: patch - bitblt 2D acceleration for s1d13xxxfb Date: Fri, 5 Jun 2009 19:38:53 +0200 Message-ID: <20090605193853.d235e679.kristoffer.ericson@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by 335xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MCdI6-0000Ad-37 for linux-fbdev-devel@lists.sourceforge.net; Fri, 05 Jun 2009 17:33:18 +0000 Received: from mail-fx0-f225.google.com ([209.85.220.225]) by 1b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1MCdI4-00030L-HF for linux-fbdev-devel@lists.sourceforge.net; Fri, 05 Jun 2009 17:33:18 +0000 Received: by fxm25 with SMTP id 25so1643108fxm.10 for ; Fri, 05 Jun 2009 10:33:14 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: "linux-fbdev-devel@lists.sourceforge.net" Cc: Andrew Morton Greetings, Just wanted some feedback since this patch is quite large. Any comments are appreciated. It patches, compiles and runs like a fox on fire. This patch: enables 2D rectfill and copyarea acceleration for 13506, need to look at hardware sheets before I can say it works on other version but at minimal 13806. Also some cleans up the code. Will give a more detailed patchlog once the comments die down :) diff --git a/drivers/video/s1d13xxxfb.c b/drivers/video/s1d13xxxfb.c index 0726aec..49c96d2 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,27 +24,46 @@ #include #include #include - #include #include #include #include #include +#include +#include #include #include