summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-21Drop pATI->Chipset, no longer used.mach64-pciGeorge Sapountzis
2007-01-21Add option "probe_sparse" to force probing sparse I/O bases.George Sapountzis
2007-01-21Sane probe, based on work by Luc Verhaegen <libv@skynet.be>.George Sapountzis
2007-01-21Drop checking of sparse I/O bases conflictsGeorge Sapountzis
This will be handled with an option somehow.
2007-01-21Minor refactoring of module (un)loading for TV_OUT.George Sapountzis
2007-01-21Drop 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-21We always use the accelerator CRTC within the xserver.George Sapountzis
- cull (pATI->NewHW.crtc != ATI_CRTC_MACH64).
2007-01-21Banked 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-21Clean pATI->Adapter and pATI->VGAAdapter.George Sapountzis
- cull (pATI->Adapter != ATI_ADAPTER_MACH64) - treat pATI->VGAAdapter as Bool
2007-01-21Require a 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 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 Sapountzis
- 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 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-21Drop probing for VGA, VGAWonder, 8514, Mach32.George Sapountzis
- ChipHasSUBSYS_CNTL - Coprocessor - SharedAccelerator - SharedVGA <=> (VGAAdapter != ATI_ADAPTER_NONE)
2007-01-21Drop 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
2007-01-04radeon: fixup fastwrites to be always offDave Airlie
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 Airlie
This might fix bug 9371
2007-01-03fix uninitialized mode regs (bug 9495)Roland Scheidegger
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 Sapountzis
2006-12-19radeon: Advertise 2D engine limits to EXA when we're not using the 3D engine.Michel Dänzer
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änzer
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 Walsh
This reverts commit 48ff33a1770f3684cd50184db8f1944a456d9974.
2006-12-15Convert callers of LookupWindow() to dixLookupWindow().Eamon Walsh
2006-12-08radeon: avoid unnecessary OUTPLL/INPLL calls when displaying videoRoland Scheidegger
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änzer
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änzer
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änzer
2006-12-06Makefile.am: re-add ChangeLog to CLEANFILESDaniel Stone
2006-12-06Makefile.am: fix changelog hookDaniel Stone
Make changelog hook safe for all situations.
2006-12-06radeon: fix up packed yuv broken by planar yuv patchRoland Scheidegger
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 Scheidegger
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 Airlie
2006-12-03make DDC function more genericairlied
2006-12-03re-program bios 4 scratch so we know if the LCD panel is there post startupDave Airlie
2006-12-03move crtc to connector mapping to a connector to crtc mapping.Dave Airlie
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 Airlie
2006-12-02make CRTCs malloc'ed rather than part of EntDave Airlie
This is leading towards randr-1.2 believe me :-)
2006-12-02move HasCRTC2 to pRADEONEnt from infoDave Airlie
2006-12-01Make log file output clear about origin of used overlay scaler buffer width.Michel Dänzer
2006-12-01Increase default overlay scaler buffer width for RV350.Michel Dänzer
Works with 1920x1080 video on my M10.
2006-12-01Fix build warning.Michel Dänzer
2006-11-29radeon: bug #1462, predownscale to make HD video work.Roland Scheidegger
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 commitairlied
2006-11-28radeon: initial move framebuffer away from zero prep.airlied
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 Deucher
2006-11-22Don't mess with the VIP bus on mobility chips. Seems to cause fanAlex Deucher
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éteut
patch and testing from Alain Péteut
2006-11-19radeon: Bug #8989: Fix page flipping artifacts with XAA.Michel Dänzer
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änzer