summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-06-15.cvsignore -> .gitignoreMichel Dänzer
2006-06-08Bug #5678: Fix setting of transfer mode for AGPv3 devices (TilmanMichel Daenzer
Sauerbeck).
2006-06-03Bug #1889: Stop the CCE before an engine reset. (Conn)Daniel Stone
2006-05-21Derive ATI_VERSION_{MAJOR,MINOR,PATCH} from package version in order toMichel Daenzer
hopefully confuse bug triagers a little less.
2006-05-09Drop support for radeon DRM <= 1.7. The 2.4 kernel has version 1.7, andMichel Daenzer
various problems up to system hangs on X server startup have been reported with that and DRI enabled.
2006-05-08Bugzilla #4640 <https://bugs.freedesktop.org/show_bug.cgi?id=4640> PatchMichel Daenzer
#5273 <https://bugs.freedesktop.org/attachment.cgi?id=5273>: Add cases for FOURCC_RGBA32 and FOURCC_RGB24. This prevents clients from receiving incorrect data sizes with these formats. (Jan Schmidt)
2006-05-03Enable decoding of version 4 TMDS PLL config tables, they actually work,Benjamin Herrenschmidt
the problem in the comment only concerned pre-production cards that Hui tested apparently. Also set back the default value to what it was initially, fixes some more cards that don't have a proper table (Mac Mini for example)
2006-05-01Bugzilla #6755 <https://bugs.freedesktop.org/show_bug.cgi?id=6755> PatchMichel Daenzer
#5536 <https://bugs.freedesktop.org/attachment.cgi?id=5536>: Change HostDataBlit interface to take dst_offset_pitch and coordinates instead of just a destination pointer, as the latter is not sufficient with tiling. Also, use HW clipping to avoid overwriting destination data outside of the specified width. Adapt to new HostDataBlit interface. This fixes corruption with UploadToScreen to the front buffer (from exaPutImage).
2006-04-29Bugzilla #1992 <https://bugs.freedesktop.org/show_bug.cgi?id=1992> PatchMichel Daenzer
#4988 <https://bugs.freedesktop.org/attachment.cgi?id=4988>: Fix Option "DisplayPriority" "HIGH" for R300 family.
2006-04-29Properly de-initialize EXA driver data, so EXA can be initialized again inMichel Daenzer
the next generation.
2006-04-29Fix tests for (un)forcing HW cursor. The broken tests caused problems whenMichel Daenzer
switching to console with 3D clients running.
2006-04-29Prefer double-buffered visuals. As a consequence, the root window's visualMichel Daenzer
is double-buffered by default, which is desirable in a number of situations, in particular when running a GLX compositing manager with AIGLX.
2006-04-28Bug #6761: Fix font rendering in non-DRI mode by replacing RB2D_DSTCACHE_*Eric Anholt
with RB3D_DSTCACHE_*. The RB2D versions are read-only mirrors of the RB3D. This is masked when DRI is enabled because the DRM uses the right registers in its flushing.
2006-04-26Make the ATI driver use the PCI BAR size to determine the MMIO registerDave Airlie
aperture size. Otherwise it tries to overmap things if they are up near the end of memory.
2006-04-26Add support for some component-alpha operations (InReverse, OutReverse)Eric Anholt
necessary for testing upcoming general component alpha acceleration assistance in EXA. Tested with rendercheck on an r100.
2006-04-24Fix enabling of external VGA output on some cards with dual entity setupBenjamin Herrenschmidt
instead of MergedFB. This was broken due to bogus manipulations of a register between the 2 entities. This fix is a big "violent" in that it always enables the analog output regardless of what is plugged. It should work though (at the expense of some additional power consumption). A proper fix should be easy to do once Alex gets his output mapping rework in.
2006-04-21Bugzilla 6672: fix interrupts on radeon since memmap changesDave Airlie
2006-04-21Add support for backing up the PCIE GART table on VT switch. This makesDave Airlie
suspend/resume work a lot better on PCIE cards.
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>