From 06579836fadfbbda2b1495f06d1dad90e2871c27 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Mon, 16 Feb 2004 17:35:07 +0000 Subject: [PATCH] oops - added forgotten desc for my mga-ppc-rs6k.patch ... git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2337 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/x11/xfree86/mga-ppc-rs6k.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/x11/xfree86/mga-ppc-rs6k.patch b/package/x11/xfree86/mga-ppc-rs6k.patch index 4ad771a98..769127893 100644 --- a/package/x11/xfree86/mga-ppc-rs6k.patch +++ b/package/x11/xfree86/mga-ppc-rs6k.patch @@ -17,6 +17,22 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +This patch fixes various tiny but accumulating issues in the mga +driver for big-endian machines - e.g. debugged and tested on PowerPC / +RS/6k: + +- use of the correct PCI config space register to get the MMIO range +- disable byte-swapping the framebuffer for a little-endian FB +- use a tinier probe size for g200 video-ram (the g200 seems to wrap + every 8MB boundary - at least here as configured in my RS/6k) and + harden the memory-access loop a bit +- fix the XVideo MGACopyMangled for big-endian (...) +- added some stray "ScrnInfoPtr pScrn" for compilation with DEBUG + defined +- fixed the debugging macros (for big-endian) and improved them a bit + to make debugging for people without the SPEC or long experience with + the driver easier + diff -ur xc/programs/Xserver/hw/xfree86/drivers/mga/mga.h xc-working/programs/Xserver/hw/xfree86/drivers/mga/mga.h --- xc/programs/Xserver/hw/xfree86/drivers/mga/mga.h 2003-10-10 13:06:02.000000000 +0200 +++ xc-working/programs/Xserver/hw/xfree86/drivers/mga/mga.h 2004-02-15 00:51:40.000000000 +0100