Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 11 Aug 2002 17:19:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 11 Aug 2002 17:19:15 -0400 Received: from codepoet.org ([166.70.99.138]:28388 "EHLO winder.codepoet.org") by vger.kernel.org with ESMTP id ; Sun, 11 Aug 2002 17:19:06 -0400 Date: Sun, 11 Aug 2002 15:22:44 -0600 From: Erik Andersen To: Marcelo Tosatti Cc: lkml , Ani Joshi Subject: [PATCH] radeonfb update vs 2.4.20-pre1 Message-ID: <20020811212244.GB27048@codepoet.org> Reply-To: andersen@codepoet.org Mail-Followup-To: Erik Andersen , Marcelo Tosatti , lkml , Ani Joshi References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Operating-System: Linux 2.4.18-rmk7, Rebel-NetWinder(Intel StrongARM 110 rev 3), 185.95 BogoMips X-No-Junk-Mail: I do not want to get *any* junk mail. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 30283 Lines: 1032 Here is an update to the radeonfb. This is based on a patch from Peter Horton that was posted to the lkml back in April http://www.uwsg.indiana.edu/hypermail/linux/kernel/0204.1/0364.html I have been carrying this patch along in my own tree since April and I find it a huge improvement. Using this patch, I find that the radeonfb is quite fast, and colors are correct. I have updated the patch to fit into 2.4.20-pre1, fixed a few obvious little things, and reworked the mtrr handling so it matches the behavior of the other framebuffers. Any chance we could get this into 2.4.20? -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons-- --- drivers/video/radeonfb.c.orig Sun Aug 11 03:43:12 2002 +++ drivers/video/radeonfb.c Sun Aug 11 03:43:18 2002 @@ -22,6 +22,13 @@ * * Special thanks to ATI DevRel team for their hardware donations. * + * 2002-04-02 Added MTRR support. Fixed 8bpp acceleration. Added + * acceleration for 16/32bpp. Applied fix from XFree86 + * for hard crash on accelerator reset. Fixed up the + * colour stuff. Peter Horton + * 2002-04-10 Make ypan work. More colour fixes, all modes >8bpp + * now DIRECTCOLOR. Match up CRTC and accelerator + * pitch. */ @@ -73,18 +80,24 @@ #include