From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264185AbTDKLvZ (for ); Fri, 11 Apr 2003 07:51:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264338AbTDKLvZ (for ); Fri, 11 Apr 2003 07:51:25 -0400 Received: from griffon.mipsys.com ([217.167.51.129]:40902 "EHLO zion.wanadoo.fr") by vger.kernel.org with ESMTP id S264185AbTDKLvY (for ); Fri, 11 Apr 2003 07:51:24 -0400 Subject: [PATCH] More radeonfb fixes From: Benjamin Herrenschmidt To: linux-kernel mailing list , Linux Fbdev development list Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1050062592.562.14.camel@zion.wanadoo.fr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 11 Apr 2003 14:03:13 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Here's a new patch against 2.4.20 and 2.4.21-pre7 which brings more fixes to radeonfb: - Fix the M6 video RAM workaround - Some bits in the PM code were flipped, fix that. - RB2D_DSTCACHE_MODE shouldn't be cleared on r300 (and maybe not on others according to a comment in XFree, but we keep working code for now). - Re-change the pitch workaround. We now align the pitch when accel is enabled for a given mode, and we don't when accel is disabled. That should properly deal with all cases and allows us to remove the "special case" accel code - Bring in XFree workaround to not write the same value to the PLL (can cause blanking of some panels) - Bring in some of Peter Horton fixes (accel reset, cleanups) still some more to get in though... - Properly reset accel engine on each console switch so we work around switching from XFree leaving it in a weird state. Also extend the comparison of values causing us to reload the mode on console switch. NOTE: The 2.4.20 patch no longer mess with non related entries in pci_ids.h, however the 2.4.21 patch still adds a couple of new ones not related to radeons, but that should be harmless. Patches available at: http://www.penguinppc.org/~benh/radeonfb-041103-2.4.20.diff http://www.penguinppc.org/~benh/radeonfb-041103-2.4.21-pre7.diff Ben.