summaryrefslogtreecommitdiff
path: root/src/mga.h
AgeCommit message (Collapse)Author
2007-08-31Use XSERVER_LIBPCIACCESS to detect pci-rework.Ian Romanick
2007-08-22Merge PCI-rework support and "classic" PCI interface support into one treeIan Romanick
First pass at merging both trees. So far, this has only been tested on the PCI-rework build on a PCI G450.
2007-08-20Merge branch 'master' of ↵Ian Romanick
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-mga into pci-rework
2007-03-28Fix various timing bugs on the G200SE.Adam Jackson
2006-12-11Merge branch 'master' of ↵Ian Romanick
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-mga into pci-rework
2006-12-11Merge branch 'master' of ↵Ian Romanick
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-mga into pci-rework Conflicts: src/mga_macros.h
2006-12-01Use the XORG_RELEASE_VERSION autoconf macro.Tilman Sauerbeck
2006-10-27Bump version to 1.4.4.xf86-video-mga-1.4.4Ian Romanick
2006-10-27Convert tests of pMga->Chipset to tests of single bit flags.Ian Romanick
Several places in the driver contain if-statements that test Chipset against several different values to determine what functionality to use. Some of these tests, HALCHIPSETS in particular, test as many as 6 different values. This bloats the code size unnecessarilly. Instead we cache the results of some of those tests in single bit flags stored in pMga. These changes are similar to some changes in the pci-rework branch.
2006-10-10Merge branch 'master' of ↵Ian Romanick
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-mga into pci-rework
2006-09-20Unbreak the build: MGAStormSync() is required by mga_dga.c.Tilman Sauerbeck
2006-09-10The XAA path in MGA_SYNC() now only syncs the engine if NeedToSync is set.Tilman Sauerbeck
This makes both paths behave the same way.
2006-09-09XV works with EXA now (dumb port of the Radeon code).Tilman Sauerbeck
2006-08-10Initial commit of the Exa bits.Tilman Sauerbeck
Based on ajax' mga-exa-2.patch with some straight forward fixes by myself.
2006-07-26Current state of MGA driver modified to work with the xserverIan Romanick
pci-rework branch.
2006-04-08Bump to 1.4.1 for Xv changes.mga-1_4_1XORG-7_1Adam Jackson
2006-04-07Unlibcwrap. Bump server version requirement. Bump to 1.4.0.mga-1_4_0Adam Jackson
2006-04-02Bug #6328: Add support for Matrox G200SE chips. (Matrox)Adam Jackson
2006-03-20Bug #5587: Refactor mga_storm.c to only build once for all color depths.Adam Jackson
(Ian Romanick)
2005-11-09Bump version numbers for X11R6.9/X11R7 RC2.XORG-6_99_99_902XORG-6_8_99_903XORG-6_8_99_902Kevin E Martin
2005-08-15Egbert's 64bit fixes for mixed 32/64bit clientsAlan Hourihane
2005-07-31Post-merge fixups:XORG-6_99_99_900XORG-6_8_99_900Adam Jackson
- Disable building the gamma driver - Fix numerous Imakefiles to get header paths and subdirs right - Symlink client-side GLX lib source from Mesa - Add new shader subdirs to the Mesa core build - Tweak the DDX drivers to not ask for "xf86dri.h"; they don't need it, since they don't generate protocol, and it was breaking the build.
2005-07-25PInS data on later cards (G200 and later) contains information about theIan Romanick
physical bus used for the card. This allows accurate detection of PCI cards that use a PCI-to-PCI bridge with an AGP chip. Correctly disable DRI on PCI cards used with pre-3.2 DRM. Previously the test was performed based on PCI ID (see above for why this is wrong) and was done *before* the DRM version was known. Bug #3759: <https://bugs.freedesktop.org/show_bug.cgi?id=3759> Correctly determine the PLL reference frequency from the PInS data. Previously the wrong bit was tested. Blame the dumb programmer that used cut-and-paste (that would be me).
2005-07-03Fix build issues.XORG-6_8_99_14Kevin E Martin
2005-07-01Re-write the PInS processing codeIan Romanick
This patch dumps all of the old BIOS processing code from the MGA DDX. The new code, located in mga_bios.c, is modeled after the code in matroxfb_misc.c (though no actual code was copied). Basically, the BIOS is processed in one place, with "device independent" values stored in a data structure. This data is then used, without extra switch-statments, throughout the driver. In addition, this patch adds support for processing the BIOS on PowerPC systems. On PPC cards, the magic offset values (that give the location of the PInS data) is not in the BIOS. Instead the driver has to search the BIOS for the PInS structure signature. The patch does this and correctly handles byte-ordering (and data alignement) issues. This code has been tested on an AGP G400 on x86 and a PCI G450 on PowerPC. NOTE: The file mga_bios.h is also removed. The "documentation" in that file was moved to the file mga_PInS.txt. This file documents, as much as possible, the layout of the various PInS datastructure versions. The information in that file is 100% based on the old mga_bios.h and the code in matroxfb_misc.c. No additional information from Matrox documentation is included in that file. This just puts the information that was already known in one place. Xorg Bug: 3553
2005-06-15Adds support for MGA DRM version 3.2.Ian Romanick
Update MGA DDX to use new features of MGA DRM ersion 3.2 to enable DRI support on PCI cards. Backwards compatability with older client-side drivers is enabled with new Device section settings. See mga.man for details. Xorg bug: 3259 Reviewed by: Eric Anholt
2005-06-07Numerous comments, clean-ups, and refactorings for the DRI portion of theXORG-6_8_99_11Ian Romanick
MGA driver. - Use mga_drm.h instead of mga_common.h. Due to this, all the MGA-specific DRM names were changed to generic versions (i.e., drmMGALock became drm_lock_t). - Merge MGADRIMapInit into MGADRIAGPInit and rename the resulting function MGADRIBootstrapDMA. - Eliminate several unnecessary drmMap calls. The server has no need to map MMIO space, primary DMA buffer space, secondary DMA buffer space, WARP microcode space, or the DRM status page. - Clarified which portions of the client / server DRI interface are no longer used. - Removed some unused fields from MGADRIServerPrivateRec. - Bump MGA_PATCHLEVEL. Reviewed by: Adam Jackson Reviewed by: Eric Anholt
2004-07-27- enable maven support for TV detection, DPMS, and DDC on crtc2 on G400Alex Deucher
(Ryan Underwood) (http://bugs.xfree86.org/show_bug.cgi?id=1098) - expose I2CStart; needed for mga maven support (Ryan Underwood)
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
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330Kaleb Keithley
2003-11-14Initial revisionXORG-STABLEKaleb Keithley