summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
AgeCommit message (Collapse)Author
2007-08-22Merge PCI-rework support and "classic" PCI interface support into one treepci-reworkIan Romanick
First pass at merging both trees. So far, this has only been compile tested. I need to dig out a savage card to put in a system for testing, so it may take another hour or two.
2007-08-22Merge branch 'master' into pci-reworkIan Romanick
Conflicts: src/savage_driver.h
2007-08-17Include <unistd.h> to get a declaration for usleep()Julien Cristau
2007-07-12Unmap mem before freeing driverPrivateAlex Deucher
2007-07-11Add panel native mode automatically.Alex Deucher
Based on Henry Zhao's code from nv
2007-07-11Add "DRI" option to enable/disable DRI supportTormod Volden
fixes bug 10746
2007-07-11fix segfault in SavageDoAdjustFrame() on server 1.3Alex Deucher
tracked down by Tormod Volden, fixes bug 10934
2007-07-11fix console corruption due to invalid shadow statusAlex Deucher
tracked down by Tormod Volden, fixes bug 11237
2007-07-11disable randr when savage rotation is enabledDavid Nusinow
fixes bug 7899
2007-03-06small exa fix ups, remove an errant commentAlex Deucher
2007-01-03fix savage respawn crashMikko Rapeli
SavageCloseScreen() unmaps memory, but SavageScreenInit() never maps it again.
2006-12-11Merge branch 'master' of ↵Ian Romanick
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-savage into pci-rework Conflicts: src/savage_driver.c
2006-09-17re-order SavageMapMem() so that ram detection works again.Alex Deucher
2006-08-08Minimal change set to convert driver to the new PCI interfaces. Enjoy.Ian Romanick
2006-08-08Instead of passing SavagePciChipsets in the p_chip parameter ofIan Romanick
xf86ConfigPciEntity, pass RES_SHARED_VGA in the res parameter.
2006-08-08Add some more missing license statements. Trivial whitespace clean-ups.Ian Romanick
2006-08-07Do a single mapping per BAR. This cleans up the code a bit and pavesIan Romanick
the way for the pci-rework branch. The disadvantage is that the Savage3D puts MMIO and framebuffer in the same BAR. This has to be fixed-up after the mapping by altering the write-combine setting for the framebuffer subrange.
2006-08-07Introduce the savage_region structure, which is used to track mappableIan Romanick
regions of PCI space.
2006-08-04Make a couple local, static arrays const. The RamSavage4 array is notIan Romanick
const because it can be modified for some quirky cards. Neat!
2006-08-04Merge SavageMapMMIO and SavageMapFB into a single, new function calledIan Romanick
SavageMapMem. Eliminate the MapBaseDense cruft.
2006-08-04Pass the HaveDriverFuncs flag to xf86AddDriver. Make sure theIan Romanick
DriverFuncs pointer is NULL. Delete a duplicate #define.
2006-07-20Make sure CLUTs are enabled
2006-07-20no accel at depth 24 in dualhead mode in MX/IX chips (hardware limitation)
2006-07-18make sure to map full FB in dualhead mode. fixes some issues with dualhead.
other dualhead drivers may need this.
2006-04-30- Add exa support (solid, copy, UTS)Alex Deucher
2006-02-08Some trivial savage fixes:Luc Verhaegen
- Remove insane usage of pScrn->clocks. Set maxClock directly. - Fix trivial and harmless warning in DRI code (FrameBufferBase)
2005-11-09Fix DoLoadableServer NO build.Kevin E Martin
2005-08-05I have resolved this by making all the "Direct rendering disabled" messagesIan Romanick
X_WARNING and all the "Direct rendering enabled" messages X_INFO. Ideally, we need to factor some of this stuff out to common code. There is a *LOT* of duplication among the *_dri.c files under programs/Xserver/hw/xfree86/drivers. I'm trying to clean up as much low hanging fruit as I can and got tired of waiting for ajax. :P
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Adam Jackson
2005-06-25Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_14XORG-6_8_99_13Adam Jackson
2005-05-17Set the hardware to 8bit CLUT mode in 8 bpp. We used to flag anEgbert Eich
8 bit DAC to DDX but did not make sure it actually was running in 8 bit mode. On Savage4 the HW cursor doesn't seem to be truecolor in 8bpp - not even with the streams engine running. Fix SavageProbeDDC() to load vbe module and initialize it before using it (Bugzilla #3309).
2005-04-20Fix includes right throughout the Xserver tree:sco_port_update-baseXORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4Daniel Stone
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-14User reports indicate that both command and vertex DMA on SuperSavages lockXORG-6_8_99_3Felix Kuehling
up the engine. Disabling DMA on SuperSavages until someone figures out how to make it work.
2005-03-17Invalidate 3D hardware state in SavageEnterVT. This fixes 3D applicationsXORG-6_8_99_1Felix Kuehling
running during a suspend-resume cycle.
2005-03-06- Support for the new DRM version 2.4 with command DMA.Felix Kuehling
- Added an option "DmaMode" to choose between vertex and command DMA. - Allow ShadowStatus to be explicitly disabled even with DRI enabled. - Updated the man page.
2005-02-26Fixed ShadowStatus handling with DRI:Felix Kuehling
- always enable ShadowStatus when DRI is enabled - if DRI initialization fails, reset ShadowStatus to configured setting - if DRI initialization fails, fall back to ShadowStatus in framebuffer
2005-02-04Applied patch (id=1354) by Mike A. Harris from bug #1901: The attachedFelix Kuehling
patch updates a couple of PCI IDs for the Savage driver -- Debian/Ubuntu/Red Hat/Fedora.
2005-02-02- fix long standing bug in depth 24 that made colors look dithered. TheAlex Deucher
CLUT was not being switched to 8 bit mode.
2005-02-01- Changed option ForcePCIMode to option BusType for consistency with otherFelix Kuehling
drivers (radeon) and the DmaType option. - Changed the type of a few more messages in SavagePreInit. - Updated the manual page. - Moved option CrtOnly to a more sensible place in the man page.
2005-01-31- Shadow status update thresholds on Savage4 were reversed. Fixed now.Felix Kuehling
- Fixed cobIndex on Savage2K. It used only a 4K COB so far. Now we have full 128K. - Program the shadow status thresholds correctly on Savage2K. - Savage2K reports used entries in the queue in qword units instead of dwords. Fixed WaitQueue2K accordingly. - Event counter 0 is in status word 2 instead of status word 1 on Savage2K. Fixed ShadowWait accordingly. - Added a ShadowWaitQueue function that doesn't idle the engine all the time. This improves 3D animation smoothness with concurrent 2D activity when shadow status is enabled.
2005-01-30Added two new options "DmaType" and "ForcePCIMode".Felix Kuehling
2005-01-10- Support for PCI Savages: on PCI cards don't run SAVAGEDRIAgpInit, add PCIFelix Kuehling
DMA buffers instead of AGP buffers. Set dma_type properly in SAVAGEDRIKernelInit. - Something's still wrong with ShadowStatus on the PCI card I'm testing here. Probably a DRM issue. - Fixed error handling. Call SAVAGEDRICloseScreen instead of DRICloseScreen. - Added AGP/PCI detection (copied from the radeon driver).
2005-01-01Updates to support the new Savage DRM driver (version 2.0.x) which was justFelix Kuehling
committed to DRM CVS. Cleaned up the interface to the DRI driver. Bumped the Savage DDX version to 2.0.0 due to incompatible changes in that interface.
2004-11-23- fix and enable HW Cursor on crtc2xprint_packagertest_20041125_basexprint_packagertest_20041125Alex Deucher
- enable independant CLUT access
2004-11-23- fixed tiled framebuffer on savage2000Alex Deucher
2004-10-31Make the Savage driver work with the dl-loader.Felix Kuehling
2004-10-21Make sure the overlay is off when switching modes, otherwise you can get aAlex Deucher
chip lockup if you switch modes with a video playing
2004-10-21when using the overlay for Xv, only enable it when displaying the videoAlex Deucher
otherwise the overlay breaks on mode changes.
2004-10-20Take doublescan and interlace flags into account when choosing a BIOS mode.Felix Kuehling
Otherwise it choses modes with double refresh rates for double scan modes or half refresh rates for interlaced modes.
2004-10-16- fix savage2000, savage3DAlex Deucher
- attempt to fix Xv on savage2000 (not there yet)