summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-04-07Add a DrawablePtr argument to the XV functions to pave the way forAaron Plattner
redirected video.
2006-04-01- Fix dpi when switching from clone to dualhead with MergedFB.Alex Deucher
- Add ConstantDPI option to force a particlar dpi across mode changes Both based on Thomas Winischhofer's sis code.
2006-03-27Fix a regression of my latest fix that broke color tiling on some setups.Benjamin Herrenschmidt
RADEONRestoreMemMapRegisters() must not clear CRTC_OFFSET_CNTL and friends unconditionally but only when there is a map change or it will clear them after the DRI updates the AGP location, thus turning tiling back off on the CRTC. Also remove a duplicate call to RADEONInitCommonRegisters().
2006-03-23commit the actual changes instead of just the Changelog...Roland Scheidegger
2006-03-23Call RADEONRestoreCommonRegisters() before RADEONRestoreCrtc2Registers()Benjamin Herrenschmidt
instead of after. I can't find any good reason why we did it backward until now and it definitely causes problems as the workaround for VT switch in RADEONRestoreCommonRegisters() will break output to the secondary head in various situations. Also does an unrelated minor update to a comment.
2006-03-23Add atipciids.h.Kristian Høgsberg
2006-03-22Convert use of xf86fopen() and other xf86 wrapped libc symbols to use libcKristian Høgsberg
symbols directly. The xf86* versions aren't supposed to be used directly. Drop libc wrapper; don't include xf86_ansic.h and add includes now missing.
2006-03-18Clear the offsets when updating the memory map instead of when enabling theBenjamin Herrenschmidt
CRTCs and try to make that code more reliable. Doesn't disable the CRTCs beforehand.
2006-03-17Fix various small cosmetic issues. Change a driver message, get the orderRoland Scheidegger
right for requesting drm versions, replace the use of some numbers with the respective macro defines in radeon_video.c, and add some more macro defines. None of that really matters.
2006-03-16Add missing return statement (the driver would not start randomly), addBenjamin Herrenschmidt
RV410 to the list of new generation cards for the memory map setup and fix a bogus message.
2006-03-16Fix incorrect CRTC2_OFFSET values when using old-style dual head (notBenjamin Herrenschmidt
MergedFB). Fixes Xinerama for me.
2006-03-16Add various workarounds that seem to fix some remaning lockup scenarios I'mBenjamin Herrenschmidt
experiencing with the driver when setting the memory map. Some of the magic delays are a bit dodgy but they seem to work, I suppose I can't do better now without help from ATI. Also removed some really too noisy debug messages.
2006-03-15Fix various issues with DRI & server recycle by putting DRICloseSreen inBenjamin Herrenschmidt
the normal CloseScreen callback chain at a spot that matches the call to DRIFinishScreenInit in order to unwrap at the right time.
2006-03-15Add some autoconf to keep this driver from building EXA when a slightlyLuc Verhaegen
older server with older exa is installed. The way in which this problem was treated by the actually related developers explains a lot about this driver.
2006-03-13Fix typo in the function setting the color space transformation factors forBenjamin Herrenschmidt
old radeon
2006-03-13Earliest fix introduced a bug due to another chicken & egg problem in cardBenjamin Herrenschmidt
detection. Now split PreInitConfig into PreInitChipType and PreInitVRAM so that PreInitDRI can be done just in between. Restores proper AGPx4 functionality (when enabled)
2006-03-12Stop using xf86PciInfo.h, instead use a local copy of the PCI IDs we needBenjamin Herrenschmidt
in atipciids.h so we can update the ATI driver independently of the server when new chips are added
2006-03-11Add #ifdef XF86DRI guards around references to info->allowPageFlip andAlan Coopersmith
info->depthMoves, since they are only defined if building with DRI.
2006-03-10Use "FBTexPercent" option for XAA too (only for increasing memory reservedRoland Scheidegger
for textures).
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.