summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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] Make mapping code friendlier to pci-rework source-code compatibility.George Sapountzis
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-15atimisc: Fix strict aliasing violation flagged by -Wall.Michel Dänzer
2007-03-15radeon: Fix build warnings.Michel Dänzer
2007-03-08Move atioption.c from ati to atimisc.George Sapountzis
2007-03-08Move atiprobe.c from ati to atimisc.George Sapountzis
2007-03-04[mach64] Bug 5586: overlay scaler limited to 720 pixels on ATI Rage Pro.George Sapountzis
2007-03-04[mach64] Xv: use single surface and encoding structs.George Sapountzis
2007-03-04radeon: add option to set pci aperture size from config fileDave Airlie
This requires a drm > 1.26 to work
2007-02-25[mach64] Consolidate adjustments of mode timings, part 3.George Sapountzis
Cosmetic.
2007-02-25[mach64] Consolidate adjustments of mode timings, part 2.George Sapountzis
Factor out to seperate function.
2007-02-25[mach64] Consolidate adjustments of mode timings, part 1.George Sapountzis
Move LCD block from atimode.c to atimach64.c .
2007-02-21add missing part of last commit...Roland Scheidegger
2007-02-21fix alignment issues with planar yuv and a bug with packed uyvyRoland Scheidegger
respect that all source planar yuv planes are already dword aligned. Some attempts to fix up odd widths and odd heights (which are a bit strange for 4:2:0 formats). They still don't quite work 100% correctly (at the borders) but neither do they with packed yuv formats. While here, fix totally broken packed UYVY format by inserting missing break... Both bugs reported by Felipe Contreras.
2007-02-20radeon: move some i2c registers out into common register fileDave Airlie
These regs are more useful than just multimedia
2007-02-16Add "DRI" optionAlex Deucher
This option allows you to disable the DRI per card. It also removes the "RN50Force3D" option as it is now covered by this option. RN50 users should set this to TRUE if they want to force the DRI on.
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-12[mach64] Enable RENDER acceleration on the Pro variants.George Sapountzis
2007-02-05Consolidate atixv.c w/ atimach64xv.c, part 2.George Sapountzis
Move {Initialize,Close}XVideo from atixv.c to atimach64xv.c .
2007-02-05Consolidate atixv.c w/ atimach64xv.c, part 1.George Sapountzis
Merge ATIXVInitializeAdaptor() in ATIMach64XVInitialiseAdaptor().
2007-02-05Consolidate aticursor.c w/ atimach64cursor.cGeorge Sapountzis
2007-02-05Consolidate atiaccel.c w/ atimach64accel.c, part 2.George Sapountzis
Merge ATIInitializeAcceleration() in ATIMach64AccelInit().
2007-02-05Consolidate atiaccel.c w/ atimach64accel.c, part 1.George Sapountzis
Move ATIResizeOffscreenLinear() from atiaccel.c to atimach64xv.c and make it static. It is only used by XV memory management functions.
2007-02-05Drop non-PCI support from atividmem.cGeorge Sapountzis
- we require a PCI device (pVideo != NULL) - map the VGA framebuffer with xf86MapDomainMemory()
2007-02-05Minor refactoring of pATI->Block0Base computation.George Sapountzis
2007-02-05Cleanup checks for pATI->PCIInfo.George Sapountzis
Fixes a bug where shadowfb would not be enabled by default in the non-accel case because pATI->PCIInfo is now set after ATIProcessOptions() is called.
2007-02-05Merge branch 'mach64-pci-1'George Sapountzis
2007-01-30add option to force the DRI on for RN50 chipsAlex Deucher
Allow user to force the DRI on for RN50 chips. 3D is not guaranteed to work on these chips, however in some cases it does. fixes bug 9802.
2007-01-28Drop pATI->Chipset, no longer used.mach64-pci-1George Sapountzis
2007-01-28Add option "probe_sparse" to force probing sparse I/O bases.George Sapountzis
2007-01-28Sane probe, based on work by Luc Verhaegen <libv@skynet.be>.George Sapountzis
2007-01-28Drop checking of sparse I/O bases conflictsGeorge Sapountzis
This will be handled with an option somehow.
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, drop:George Sapountzis
- Chip < ATI_CHIP_88800GXC - Chipset != ATI_CHIPSET_ATI - Adapter != ATI_ADAPTER_MACH64 - depth < 8
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)
2007-01-28Drop AVOID_NON_PCI.George Sapountzis
This was not set anyway, because configure.ac would compute ATIMISC_NON_PCI and then test ATI_AVOID_NON_PCI to set AVOID_NON_PCI...
2007-01-12ati: fix detection of some newer radeons using ati wrapperTimo Jyrinki
This is mainly due to the cards having a different resource 1. Fixes 6796
2007-01-12always create a second CRTC I think this should solve any problemsDave Airlie