summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-03-09More memory map fixes !!! This time, we add a way to get the DRM kernelBenjamin Herrenschmidt
module version early, in order to properly limit the framebuffer size when a module that doesn't support the new map is loaded. That will improve backward compatibility. I also made the minimum required kernel module version 1.3 which hopefully shouldn't be a problem for anybody, and cleaned up the ordering in which we test for DRM version to enable features
2006-03-09RN50: Skip modes that exceed memory bandwidth.Michel Daenzer
Bugzilla #5766 <https://bugs.freedesktop.org/show_bug.cgi?id=5766> Patch #4636 <https://bugs.freedesktop.org/attachment.cgi?id=4636> - Acknowledge that RN50 only has one CRTC, and use this to distinguish it from RV100. - Fix detection of RN50 memory type and bus width. - Model RN50 memory bandwidth limits by capping the pixel clock range based on memory clock, bpp and memory bus width. (ATI Technologies Inc.)
2006-03-09Update drivers that support EXA for the new EXA ABI. This consists ofEric Anholt
moving all the accel and card members into the driver ptr, filling in the exa_major/ exa_minor fields, and always using LoadSubModule so we can check the module version up front. Only tested on ATI.
2006-03-03Add Option "FBTexPercent" to override the amount of video RAM reserved forMichel Daenzer
OpenGL textures with EXA.
2006-03-02Fix the fix ... I didn't interpret PciInfo->size properly and forgot thatBenjamin Herrenschmidt
the function works in Kb not bytes... Ooops.
2006-03-01Extend the alignement workaround to post-rv280 chips as well (thanks Hui)Benjamin Herrenschmidt
and also limit the CPU accessible memory to the size of the PCI BAR size (yeah, it was passed to the driver, I just got blind for a while it seems)
2006-02-28Workaround for rv280 bug which needs the framebuffer memory mapping to beBenjamin Herrenschmidt
aligned to its own size. Also add back limit of 128Mb of mapped fb space for now until I fully sort out what's up with dual function cards. I would really need to access the PCI BAR sizes here but that information seem to be missing from the PCI info passed to the driver.
2006-02-28Add the newly added (and tons of previously forgotten ones) pci ids to theRoland Scheidegger
ati wrapper too (probably not required for it to work as everything should default to radeon anyway there).
2006-02-26Fix page flipping with XAA. The new code ended up calling ShadowFBInit()Benjamin Herrenschmidt
before XAAInit(), which breaks ShadowFB.
2006-02-25Add pci ids known to exist (see #4284 for instance). There are stillRoland Scheidegger
entries which probably don't really exist (cancelled cards and such), leave them as-is. Fix the name of some entries, mostly based on the .inf file of the newest catalyst driver. Use own family id for rv410 and rs400, though there is no different code (yet?).
2006-02-16Memory map and misc fixes. This completely reworks the way the driverBenjamin Herrenschmidt
detects available & accessible video memory and initializes the card internal memory map. Along the way, I re-ordered some of the stuffs in pre-init in order to remove some dodgy codepath, fixed various init, exit and vt switch issues, and overall made the driver more robust. The full memory map fix requires an updated DRM. The X driver no longer tries to position the AGP aperture, this becomes entirely DRM responsibility.
2006-02-15The engine setup would trigger a bogus line write before the properBenjamin Herrenschmidt
addresses are setup, thus causing the card to try to bus master over the system bus to some stale location (usually 0 but could depend on whatever was used before X). Remove that useless init bit, and always setup some good enough engine source & destination pointers in case we have some other spurrious engine activity going on.
2006-02-13Fix EXA acceleration of textures with byteswap or tiling From John ClemensBenjamin Herrenschmidt
<john@deater.net>
2006-02-07Fix a copy'n'paste-o in the EXA render implementation that resulted inEric Anholt
[ax]8b8g8r8 pict formats not being supported on r200, but no other issues.
2006-01-19Bug #5656: Set all Radeon XPRESS 200 R[CS]4xx-based chips to have IsIGP =Daniel Stone
1, fixing modesetting issues.
2006-01-13XF86_VERSION_CURRENT -> XORG_VERSION_CURRENTAlan Coopersmith
2006-01-13When failing to parse MetaModes, reset CRT2pScrn to NULL after free'ing itAlan Coopersmith
so we don't crash when trying to use it later (such as in RADEONFreeRec).
2006-01-08Bug #5523: Make radeon compile without USE_XAA. (Tilman Sauerbeck)Adam Jackson
2005-12-15Update package version number for final X11R7 release candidate. BumpXORG-6_99_99_904Kevin E Martin
driver version number.
2005-12-14Bug #1760: Fix ati wrapper multihead to be dlloader friendly.Adam Jackson
2005-12-09Bug #3869: Don\'t walk off the end of an array in connector detection.MODULAR_COPYAdam Jackson
(Eric Anholt)
2005-12-09Bug #1106: Fix memory allocation for Render. (Michel Daenzer)Adam Jackson
2005-12-08Add configure options to allow hard-coded paths to be changed.Kevin E Martin
2005-12-08Allow hard-coded paths to be configurable.Kevin E Martin
2005-12-03Bump version numbers for X11R6.9/X11R7 RC3.XORG-6_8_99_903Kevin E Martin
2005-11-21Add .cvsignores for drivers.Eric Anholt
2005-11-11Bug #1028: Don't (incorrectly) mark the 24/8 z/stencil case as slow, whichEric Anholt
resulted in whining at runtime about the visual not being supported.
2005-11-09Bump version numbers for X11R6.9/X11R7 RC2.XORG-6_99_99_902XORG-6_8_99_902Kevin E Martin
2005-11-09Bug #4998: Add ';' and ',' as valid separators for MetaModes as well.Matthias Hopf
2005-11-09Fix DoLoadableServer NO build.Kevin E Martin
2005-11-08bugzilla #988 (https://bugs.freedesktop.org/show_bug.cgi?id=988) Fix typoMichel Daenzer
which may or may not have had a negative impact on stability with R300 class cards.
2005-11-08bugzilla #4494 (https://bugs.freedesktop.org/show_bug.cgi?id=4494) CallMichel Daenzer
RADEONDGAInit() even if EXA is enabled; the problematic DGA acceleration hooks are already disabled in that case. This fixes DGA issues such as DGA mouse (typically used by games in fullscreen mode) not working. Fix suggested by Eric Anholt.
2005-11-08bugzilla #4916 (https://bugs.freedesktop.org/show_bug.cgi?id=4916) FixMichel Daenzer
segfault with MergedFB and EXA enabled and HW cursor temporarily disabled.
2005-11-08bugzilla #4951 (https://bugs.freedesktop.org/show_bug.cgi?id=4951)Michel Daenzer
attachment #3689 (http://bugs.freedesktop.org/attachment.cgi?id=3689) Fix HW cursor getting silently disabled with EXA.
2005-11-07Replaced the variadic macros(gcc) by macros according to C99 standardBogdan Diaconescu
2005-11-06Sun bug #6325220: Xorg dumps core in dual monitor configuration with radeonAlan Coopersmith
driver if CRT2Position not specified in xorg.conf <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6325220> (Stuart Krietman - Sun Microsystems)
2005-10-21Bug #4829: Remove some useless DRI symbol checks.accelerated_indirect-0-0-1Adam Jackson
2005-10-09Secure the Radeon PCIE GART tables in framebuffer memory by not allowingXORG-6_8_99_901Dave Airlie
the clients to get access to a secure area of framebuffer.
2005-10-03Bug #4001: Don't crash when PanelSize is unset. (Alan Coopersmith)Adam Jackson
2005-10-01missed one missing return value.Matthieu Herrb
2005-10-01add missing return value on success in RADEONSetupMemXAA().Matthieu Herrb
2005-09-28Make ati driver distcheckSøren Sandmann Pedersen
radeon_commonfuncs.c \ radeon_exa_render.c \ radeon_exa_funcs.c \
2005-09-27Move the RADEONEnablePageFlip/RADEONChangeSurfaces calls back to the end ofRoland Scheidegger
the function (the code above will cause pixmap cache to be freed and copied around, and these functions must be called after that otherwise pixmap damage will occur). May be related to #4440, #4456 (unclear if these setups involve 3d apps)
2005-09-27Fix Radeon MMIO Render acceleration with EXA by writing out floating- pointEric Anholt
coordinates rather than integers.
2005-09-24Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreenAdam Jackson
stubs from drivers, comment the non-empty ones.
2005-09-20Only include radeon_dri.h & radeon_sarea.h if XF86DRI is defined.Alan Coopersmith
Include "compiler.h" to define __inline__ on non-gcc compilers
2005-09-18Break EXA ABI while we still can. Add coordinates to the UploadToScreenEric Anholt
hook so we can upload a subset of a pixmap, and convert the current drivers to respect that. Use this support to directly UploadToScreen in exaGlyphs, providing a 47.4% +/-2.4% decrease in wall time for ls -lR programs/Xserver in an antialiased gnome-terminal on an M6 (n=3, caches hot). I would have bumped major version, only I can't tell what the EXA_VERSION_* is supposed to be doing as opposed to the module version.
2005-09-17- Don't try to upload 0 byte-per-pixel (PICT_a1) data usingEric Anholt
RADEONHostDataBlit. - Disable the shortcut for switching from 3d to 3d in radeon_exa.c. It appears that we do need the cache flush here, thought it's not clear why. Disable the 2d to 2d shortcut while here, since I'm unsure of what we're doing. Exposed by the following bit: - Bug #4485: Add a new routine, exaGlyphs, to handle font drawing. Glyphs were being accumulated in from non-migratable scratch pixmaps, causing the destination pixmap to move towards screen but the migration necessary for source never to happen, leading to abysmal performance. Instead, copy the scratch glyph data into a real pixmap first, then composite from that into the destination, allowing for migration. time ls -lR from programs/Xserver showed 26.9% (+/- 6.3%) decrease in wall time (n=3). - Create exaDrawableUse* wrapping exaPixmapUse*, but which are aware of windows needing backing store. Makes migration code prettier, and ensures that composited windows will be migrated as normal when we turn off cw for EXA. (issue brought up by keithp)
2005-09-17Switch radeon driver to using a card type rather than having a IsPCI flag,Dave Airlie
allow for PCI/AGP/PCIE cards. Set PCI gart allocation to only happen on PCIE cards. Add Radeon PCIE card detection using capability bits.
2005-09-14Bug #2573: Remove the disabling of automatic cache flushing on non-r300Eric Anholt
cards. It has been implicated in hanging at least r300s and some r100s, and seemed to be the cause of some bad rendering for me.