summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-21Drop pATI->Chipset, no longer used.mach64-pciGeorge Sapountzis4-87/+3
2007-01-21Add option "probe_sparse" to force probing sparse I/O bases.George Sapountzis5-0/+35
2007-01-21Sane probe, based on work by Luc Verhaegen <libv@skynet.be>.George Sapountzis4-655/+300
2007-01-21Drop checking of sparse I/O bases conflictsGeorge Sapountzis1-247/+9
This will be handled with an option somehow.
2007-01-21Minor refactoring of module (un)loading for TV_OUT.George Sapountzis3-35/+26
2007-01-21Drop support for non-programmable clocks.George Sapountzis9-1051/+24
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-21We always use the accelerator CRTC within the xserver.George Sapountzis7-285/+41
- cull (pATI->NewHW.crtc != ATI_CRTC_MACH64).
2007-01-21Banked memory is no longer needed.George Sapountzis12-378/+26
- (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-21Clean pATI->Adapter and pATI->VGAAdapter.George Sapountzis21-258/+33
- cull (pATI->Adapter != ATI_ADAPTER_MACH64) - treat pATI->VGAAdapter as Bool
2007-01-21Require a linear aperture.George Sapountzis9-377/+15
- 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 atipreinit.c only: - pVideo == NULL - NewHW.crtc != ATI_CRTC_MACH64 This allows to drop the "no linear aperture" cruft.
2007-01-21Keep PCI mach64 only, drop:George Sapountzis28-726/+16
- Chip < ATI_CHIP_88800GXC - Chipset != ATI_CHIPSET_ATI - Adapter != ATI_ADAPTER_MACH64 - depth < 8
2007-01-21Keep PCI mach64 only (atipreinit.c, atimode.c), drop:George Sapountzis15-1394/+26
- 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-21Drop probing for VGA, VGAWonder, 8514, Mach32.George Sapountzis8-898/+16
- ChipHasSUBSYS_CNTL - Coprocessor - SharedAccelerator - SharedVGA <=> (VGAAdapter != ATI_ADAPTER_NONE)
2007-01-21Drop AVOID_NON_PCI.George Sapountzis2-342/+2
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 Jyrinki1-1/+11
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 Airlie1-3/+0
2007-01-04radeon: fixup fastwrites to be always offDave Airlie2-5/+8
My 8500 in i845 doesn't work with fastwrites even setup by the firmware.
2007-01-04radeon: don't touch Controller[1] on single CRTC cards.Dave Airlie1-46/+49
This might fix bug 9371
2007-01-03fix uninitialized mode regs (bug 9495)Roland Scheidegger1-32/+55
Since the reorganization of the mode setting code, the mode registers relying on state already set (by bios) were not read, thus clearing out all bits the driver does not touch. At the very least, this could lead to completely nonfunctional to misbehaving dvi output (see bug 9495). Fix this by using the SavedReg values, which also makes it more obvious that those are bits which were not set by the driver previously, but come from register readback.
2006-12-19Use portable XORG_RELEASE_VERSION macro.George Sapountzis2-9/+4
2006-12-19radeon: Advertise 2D engine limits to EXA when we're not using the 3D engine.Michel Dänzer1-3/+3
Also round up to the maximum width and height, as that's what EXA compares.
2006-12-19radeon: Default to leaving AGP transfer mode and fast writes unchanged.Michel Dänzer4-61/+62
Based on the assumption that firmware should have set up the card and host bridge appropriately for these settings, this may actually be safer, at least for the transfer rate; leaving fast writes enabled is hopefully safe as well, it certainly is on my sytem. See https://bugs.freedesktop.org/show_bug.cgi?id=9284 .
2006-12-18Revert "Convert callers of LookupWindow() to dixLookupWindow()."Eamon Walsh1-9/+6
This reverts commit 48ff33a1770f3684cd50184db8f1944a456d9974.
2006-12-15Convert callers of LookupWindow() to dixLookupWindow().Eamon Walsh1-6/+9
2006-12-08radeon: avoid unnecessary OUTPLL/INPLL calls when displaying videoRoland Scheidegger4-20/+23
It is not necessary to always emit a OUTPLL/INPLL pair when we display a video frame. On some chips there are erratas for which the workarounds cause a 10ms delay by those calls. This is related to #5876 though those affected may suffer from other slowness issues too.
2006-12-07radeon: Move Xv option handling code into RADEONPreInitXv().Michel Dänzer1-113/+113
This unclutters RADEONPreInit() somewhat, but more importantly moves comparison against info->ChipFamily after that's initialized.
2006-12-07radeon: Make cache flushing for R300 series less invasive.Michel Dänzer3-43/+18
Instead of calling the DRM CP idle ioctl, just emit the cache flush commands into the CP stream.
2006-12-07Fix radeon compile warnings.Michel Dänzer2-16/+4
2006-12-06Makefile.am: re-add ChangeLog to CLEANFILESDaniel Stone1-0/+1
2006-12-06Makefile.am: fix changelog hookDaniel Stone1-5/+3
Make changelog hook safe for all situations.
2006-12-06radeon: fix up packed yuv broken by planar yuv patchRoland Scheidegger1-0/+1
fix the forgotten leftuv value for packed yuv which is needed to get correct uv starting pixel (fixes broken clipping / non-null src start pixel as tvtime uses)
2006-12-05radeon: use overlay scaler native planar yuv capability.Roland Scheidegger1-64/+134
Radeons can do planar yuv just fine, there is no need to convert all data to packed yuv manually. This saves some cpu cycles as well as some (graphic card) ram.
2006-12-03move monitor detection into single functionDave Airlie1-58/+78
2006-12-03make DDC function more genericairlied1-3/+2
2006-12-03re-program bios 4 scratch so we know if the LCD panel is there post startupDave Airlie1-0/+1
2006-12-03move crtc to connector mapping to a connector to crtc mapping.Dave Airlie4-153/+234
Still not allowing any clone modes, but heading in the correct direction I hope... there is a chance this will regress something from superpatch..
2006-12-03radeon: dynamically allocate connectorsDave Airlie5-163/+190
2006-12-02make CRTCs malloc'ed rather than part of EntDave Airlie4-98/+131
This is leading towards randr-1.2 believe me :-)
2006-12-02move HasCRTC2 to pRADEONEnt from infoDave Airlie4-25/+36
2006-12-01Make log file output clear about origin of used overlay scaler buffer width.Michel Dänzer1-3/+7
2006-12-01Increase default overlay scaler buffer width for RV350.Michel Dänzer1-0/+1
Works with 1920x1080 video on my M10.
2006-12-01Fix build warning.Michel Dänzer1-1/+1
2006-11-29radeon: bug #1462, predownscale to make HD video work.Roland Scheidegger5-23/+62
Use the overlay scaler's predownscale capability to make videos with large horizontal resolution work if it exceeds the scaler buffer width. Make the scaler buffer width user-configurable since we don't know it for all chips, and using predownscaling may otherwise reduce quality even if it wouldn't be needed. This should fix bug #1462.
2006-11-28fixup EXA after previous commitairlied1-1/+1
2006-11-28radeon: initial move framebuffer away from zero prep.airlied4-125/+135
In theory the driver should be able to handle the front buffer not at VRAM 0 In practice it didn't.. this is cleanup for at least XAA parts of the driver to allow for the frontbuffer to move. It has to re-organise a large part of ScreenInit so things happen in the correct order otherwise some things get setup in-correctly. (not sure EXA with fb not at 0 works yet...)
2006-11-22clean up previous VIP commit.Alex Deucher2-5/+3
2006-11-22Don't mess with the VIP bus on mobility chips. Seems to cause fanAlex Deucher2-1/+8
problems on asus laptops (see bug 7463). We don't support video-in on any laptops at the moment anyway.
2006-11-22enable i2c for PCI_CHIP_RV250_If. allows AIW fuctionality to work.Alain Péteut1-2/+2
patch and testing from Alain Péteut
2006-11-19radeon: Bug #8989: Fix page flipping artifacts with XAA.Michel Dänzer1-0/+8
We still have to force-sync the pages on enabling page flipping with XAA as the second page may have been clobbered by the offscreen pixmap cache since they were last synced.
2006-11-19Fix compile warnings.Michel Dänzer3-4/+1