From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Dec 2002 18:46:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Dec 2002 18:46:16 -0500 Received: from are.twiddle.net ([64.81.246.98]:38025 "EHLO are.twiddle.net") by vger.kernel.org with ESMTP id ; Fri, 27 Dec 2002 18:45:17 -0500 Date: Fri, 27 Dec 2002 15:53:22 -0800 From: Richard Henderson To: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: torvalds@transmeta.com Subject: [FB PATCH] tga update Message-ID: <20021227155322.A3915@twiddle.net> Mail-Followup-To: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, torvalds@transmeta.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline If you do bk, please pull from bk://are.twiddle.net/tga-2.5 That will get these two tga changesets, plus the three other generic fb patchlets I've sent over the last couple of days. Otherwise, there's the bare patches in the attached exports. I realized after the fact that I committed these in the wrong order for easily separating out, but I was pulling in bits from three other trees into my sandbox, so it did make things easier to have them committed. Anyway, enough rambling. This is a large-scale rewrite for the new FB API based on the skeletonfb.c driver. It's been tested on the ZLXp-E1 in my as200. It's definitely a big improvement over not compiling. r~ --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=yyy You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== ChangeSet@1.956, 2002-12-26 15:56:07-08:00, rth@are.twiddle.net [FB] First cut at updating tgafb to 2.5 fb api. A large scale rewrite modeled off of skeletonfb.c. b/drivers/video/Makefile | 2 b/drivers/video/tgafb.c | 1525 +++++++++++++++++++---------------------------- b/include/video/tgafb.h | 210 ++++++ drivers/video/tgafb.h | 199 ------ 4 files changed, 838 insertions, 1098 deletions diff -Nru a/drivers/video/Makefile b/drivers/video/Makefile --- a/drivers/video/Makefile Fri Dec 27 15:42:56 2002 +++ b/drivers/video/Makefile Fri Dec 27 15:42:56 2002 @@ -48,7 +48,7 @@ obj-$(CONFIG_FB_CLGEN) += clgenfb.o obj-$(CONFIG_FB_TRIDENT) += tridentfb.o obj-$(CONFIG_FB_S3TRIO) += S3triofb.o -obj-$(CONFIG_FB_TGA) += tgafb.o +obj-$(CONFIG_FB_TGA) += tgafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_VESA) += vesafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_VGA16) += vga16fb.o cfbfillrect.o cfbcopyarea.o \ cfbimgblt.o vgastate.o diff -Nru a/drivers/video/tgafb.c b/drivers/video/tgafb.c --- a/drivers/video/tgafb.c Fri Dec 27 15:42:56 2002 +++ b/drivers/video/tgafb.c Fri Dec 27 15:42:56 2002 @@ -2,10 +2,10 @@ * linux/drivers/video/tgafb.c -- DEC 21030 TGA frame buffer device * * Copyright (C) 1999,2000 Martin Lucina, Tom Zerucha - * + * * $Id: tgafb.c,v 1.12.2.3 2000/04/04 06:44:56 mato Exp $ * - * This driver is partly based on the original TGA framebuffer device, which + * This driver is partly based on the original TGA framebuffer device, which * was partly based on the original TGA console driver, which are * * Copyright (C) 1997 Geert Uytterhoeven @@ -28,982 +28,711 @@ * KNOWN PROBLEMS/TO DO ==================================================== */ #include -#include #include +#include #include #include #include #include #include -#include #include -#include -#include #include -#include +#include #include -#include +#include #include +#include