summaryrefslogtreecommitdiff
path: root/src/atipreinit.c
AgeCommit message (Collapse)Author
2008-01-11[mach64] Drop symbol lists.George Sapountzis
egrep LOADER\|SymLists\|Symbols src/*.[hc] not needed after server commit bca9364f3f4a2376edbcf57a34f704ce28be21ba, i.e. xserver 1.2 compile-tested only
2007-08-28Merge branch 'master' into pci-reworkGeorge Sapountzis
Conflicts: src/ati.c
2007-03-24[mach64] Use Mach64Chipsets[] instead of ATIChipNames[].George Sapountzis
atimisc is PCI-only now, we can get the chip name with xf86TokenToString().
2007-03-23Drop now unneeded _X_EXPORT's.George Sapountzis
2007-03-21[mach64] Compute MMIO address once for each case (PIO, MMIO).George Sapountzis
For an MMIO-only driver, the extra MMIO address probing is not needed since we already compute the MMIO address during probe and do not make any BIOS calls. For a PIO driver, this extra probing could even result in a wrong MMIO address since the checking is done by reading through PIO, not MMIO. The MMIO address is later corrected but having the extra probe there is useless.
2007-03-21[mach64] Move setting of PIO and MMIO addresses up, after BIOS init.George Sapountzis
Partially revert "Minor refactoring of pATI->Block0Base computation." This parially reverts commit 2c8b33b761e4411451aea1eea3a89d629aeea40d.
2007-03-21[mach64] Add macros for pci-rework source-code compatibilty.George Sapountzis
2007-03-21[mach64] Drop checking that BAR base + size fits in 32 bit.George Sapountzis
I can't see how these tests could fail on 32-bit. OTOH they are potentially problematic with 64-bit PCI addresses.
2007-03-21[mach64] Single mapping per BAR.George Sapountzis
- We reset write-combining of the FB when MMIO registers fall in the linear aperture. - We set MMIOInLinear in all three aperture mappings since the mapping code depends on it. - We map the linear aperture in its entirety for MMIOInLinear also. This simplifies mapping of HW cursor and the LE aperture on BE archs, as they always fall in the linear aperture. - I assumed that BAR[2] is page-aligned (we know it's 4K-aligned for sure).
2007-03-21[mach64] Drop poking the VGA MMIO aperture.George Sapountzis
We will not be able to handle this when we do mappings for PCI BARs only and it should be handled with a CPIO driver anyway.
2007-03-08Move atioption.c from ati to atimisc.George Sapountzis
2007-03-08Move atiprobe.c from ati to atimisc.George Sapountzis
2007-02-13[mach64] PreInit: maxPitch, minor cosmetic.George Sapountzis
2007-02-13[mach64] PreInit: pitchInc is local.George Sapountzis
2007-02-13[mach64] PreInit: Use goto bail.George Sapountzis
Match ATILock - ATIUnlock.
2007-02-05Minor refactoring of pATI->Block0Base computation.George Sapountzis
2007-01-28Drop pATI->Chipset, no longer used.mach64-pci-1George Sapountzis
2007-01-28Sane probe, based on work by Luc Verhaegen <libv@skynet.be>.George Sapountzis
2007-01-28Minor refactoring of module (un)loading for TV_OUT.George Sapountzis
2007-01-28Drop support for non-programmable clocks.George Sapountzis
From README.ati: Clocks for supported programmable clock generators: The driver currently supports all programmable clock generators known to exist on Mach64 adapters. Clocks for unsupported programmable clock generators: This case is unlikely to occur, but is documented for the sake of completeness. Thus: - check for (pATI->ProgrammableClock > ATI_CLOCK_FIXED) && (pATI->ProgrammableClock < ATI_CLOCK_MAX) - drop "probe_clocks" option - pATIHW->ClockUnmap is no longer used - pATIHW->ClockMap is only used with NewHW.crtc which is always ATI_CRTC_MACH64 and has the identity map, so drop it - (pATI->ProgrammableClock != ATI_CLOCK_INTERNAL) => (pATI->depth <= 8)
2007-01-28Banked memory is no longer needed.George Sapountzis
- (pATI->BankInfo.BankSize = 0) in all cases, cull pATI->BankInfo - only keep the minimal pATIHW.SetBank interface for save/restore - clean ATISwap() a little, (NewHW.crtc != ATI_CRTC_VGA) - (UseSmallApertures == TRUE) <=> pATI->VGAAdapter
2007-01-28Always use the linear aperture.George Sapountzis
- drop (pATI->OptionLinear == FALSE) - AcceleratorVideoRAM is always set, i.e. VGAVideoRAM is not used - pATI->LinearBase is always set - xf86LinearVidMem() is now checked in atipreinit() for both CPIO and MMIO
2007-01-28We always use the accelerator CRTC within the xserver.George Sapountzis
- cull (pATI->NewHW.crtc != ATI_CRTC_MACH64).
2007-01-28Clean pATI->Adapter and pATI->VGAAdapter.George Sapountzis
- cull (pATI->Adapter != ATI_ADAPTER_MACH64) - treat pATI->VGAAdapter as Bool
2007-01-28Keep PCI mach64 only (atipreinit.c, atimode.c), drop:George Sapountzis
- Chip < ATI_CHIP_88800GXC - Chipset != ATI_CHIPSET_ATI - Adapter != ATI_ADAPTER_MACH64 - depth < 8 atimode.c only: - NewHW.crtc != ATI_CRTC_MACH64 This allows to drop VGACalculate(), VGAWonderCalculate() cruft early.
2007-01-28Drop probing for VGA, VGAWonder, 8514, Mach32.George Sapountzis
- ChipHasSUBSYS_CNTL - Coprocessor - SharedAccelerator - SharedVGA <=> (VGAAdapter != ATI_ADAPTER_NONE)
2006-09-25remove all CVS annotations from the ATI driver filesDave Airlie
2006-03-22Convert use of xf86fopen() and other xf86 wrapped libc symbols to use libcKristian Høgsberg
symbols directly. The xf86* versions aren't supposed to be used directly. Drop libc wrapper; don't include xf86_ansic.h and add includes now missing.
2005-08-28Bug #1109: Fix VGA init on Rage Mobility 7500 (Marc Le France)Adam Jackson
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_16XORG-6_8_99_15Adam Jackson
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.XORG-6_8_99_14Daniel Stone
2005-06-26Bug #3628: Fix video driver submodule visibility.XORG-6_8_99_13Adam Jackson
2005-06-04Sync with 6.8.2 branch: Bug #591XORG-6_8_99_11XORG-6_8_99_10Alan Coopersmith
(https://bugs.freedesktop.org/show_bug.cgi?id=591) attachment #308 (https://bugs.freedesktop.org/attachment.cgi?id=308): Fix video timing problems with Sony PCG-C1VN Vaio Picturebook notebook && co. Patch by Marc Aurele La France
2005-03-26bugzilla #2057 (https://bugs.freedesktop.org/show_bug.cgi?id=2057)Dave Airlie
attachment #1516 (https://bugs.freedesktop.org/attachment.cgi?id=1516) Add TVOUT Support for Mach64 (Leif Delgass, fixed up for Xorg by me).
2004-07-26Bug #848: Clean up gatos notice messages.Adam Jackson
2004-06-16DRI XFree86-4_3_99_12-merge importDRI-XFree86-4_3_99_12-mergeEric Anholt
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2004-01-29Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-012804-2330Egbert Eich
2003-12-19XFree86 4.3.99.902 (RC 2)xf86-4_3_99_902Kaleb Keithley
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley
2003-11-14Initial revisionKaleb Keithley