summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
AgeCommit message (Collapse)Author
2008-08-13Remove reset of 3D scissor registers when using the CP in the ddxAlex Deucher
They should only affect 3D and init3d() should take care of that case noticed by libv on IRC.
2008-07-03radeon: drop all use of CPMode.Dave Airlie
We never test the other codepath and I don't think I've ever recommended it for anyone.
2008-06-26RADEON: fix copy/paste error in accel codeBrad Smith
2008-06-17radeon: X_ERROR -> X_WARNING for num gb pipesAlex Deucher
This just means your drm is old, not fatal or anything
2008-06-11R3xx: use DSTCACHE_CTLSTAT rather than RB2D_DSTCACHE_CTLSTATAlex Deucher
According to the hw guys, you should use DSTCACHE_CTLSTAT to flush the 2D dst cache rather than RB2D_DSTCACHE_CTLSTAT.
2008-06-03RADEON: minor cleanupsAlex Deucher
2008-05-27R3/4/5xx: use get_param to get the num_gb_pipes from the drmAlex Deucher
2008-05-14Add RS600 supportAlex Deucher
2008-05-13RS4xx: Split out RS400 and RS480 as separate familiesAlex Deucher
RS400 (intel based IGP) and RS480 (AMD based IGP) have different MC setups and need to be handled differently
2008-05-12Replace CARD{8,16,32} with uint{8,16,32}_tMatt Turner
As has been done with xf86-video-intel, replace all CARD* datatypes with uint*_t datatypes available from stdint.h.
2008-04-27RADEON: remove duplicate register defineAlex Deucher
Also add more bit defs to wait_until register
2008-04-12R3xx+: more fixes to 2D/3D engine initAlex Deucher
2008-04-10R3xx+: use the right register for engine flushAlex Deucher
2008-04-10R3xx+: EXA/textured video fixesAlex Deucher
- get pipe config based on GB_PIPE_SELECT where applicable (adapted from a similar patch from Dave) - only flush the dst cache after submitting vertices, freeing the cache lines stalls the pipe - no need to wait for 3D idle after submitting vertices - fix PURGE_CACHE() and PURGE_ZCACHE() for r3xx+ - fix depth 16 with EXA composite
2008-02-27R300+: update RADEONCP_REFRESH() to reflect new location of scissor regsAlex Deucher
2007-12-21RADEON: more re-org. move XAA Mem init to radeon_accel.cAlex Deucher
2007-12-21Merge remote branch 'origin/atombios-support'Dave Airlie
Conflicts: src/radeon_display.c src/radeon_driver.c
2007-12-18RADEON: driver cleanups, warning fixesArkadiusz Miskiewicz
2007-12-10Merge branch 'zaphod-lolz' of ↵Dave Airlie
git://git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support Conflicts: src/radeon.h src/radeon_crtc.c src/radeon_driver.c src/radeon_output.c
2007-12-07radeon: move savedreg/modereg into entity instead of infoDave Airlie
2007-11-20r600: block r600 startup due to lack of memory controller infoDave Airlie
2007-11-06First round of avivo supportAlex Deucher
2007-10-04radeon: Fix for pci-rework.Michel Dänzer
Surprisingly easy, thanks to George's pci-rework changes.
2007-05-21radeon: Suppress debugging output by default.Michel Dänzer
It can be enabled at runtime by increasing the log verbosity level. Also change the prefix from (**) to (II) to make grepping the log file for defaults overridden by xorg.conf more useful again. Turn some MC related debugging output into normal informational output as it's useful for recognizing corner cases that can cause stability issues.
2006-09-25remove all CVS annotations from the ATI driver filesDave Airlie
2006-07-03Build and warning fixes for !defined(USE_XAA).Michel Dänzer
2006-06-15Fix some more cosmetic warnings.Michel Dänzer
2006-06-15fix more printf formatsDave Airlie
2006-06-15fix some more unused variables and bad parameter passingDave Airlie
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-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-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-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.
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-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.
2005-09-11Add support for EXA to the radeon driver. Building EXA and XAA support isEric Anholt
controlled at compile time, plus the runtime option of Option "AccelMethod" "EXA" or "XAA". The XAA support appears to remain as before, while the EXA pieces need just a little more polishing. Notable features: - Render acceleration working on Radeon 100 and 200-series with DRI on. - DRI works with EXA Notable issues: - DGA disabled in the EXA case. - Backbuffer moves disabled in the EXA case. - No textured XVideo. - MMIO render acceleration is close but still has some issues. - Memory pressure while using Composite is really troublesome with DRI on. This patch is based on an initial patch by Zack Rusin, with significant work by Benjamin Herrenschmidt and myself.
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_16XORG-6_8_99_15Adam Jackson
2005-03-24- radeon PLL access errata workarounds (Benjamin Herrenschmidt, acked byAlex Deucher
Hui Yu)
2005-01-26(Stephane Marchesin, me) Add support for color (framebuffer) tiling.Roland Scheidegger
Convert all XAA accel code to use explicit dst and src offset pitch control to make it work. Use the new drm surface ioctls to set up the tiled surfaces (if dri is enabled).
2004-12-17- Add VGAAccess option to r128 driver. Based on Benh's radeon patch. r128Alex Deucher
should now work on ppcs without usefbdev. To use this on ppc make sure you set "usefbdev" to false. (bug 2089) - Apply Benjamin Herrenschmidt's radeon patches (bug 2064)
2004-12-17Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c Move DMA robustness fix into radeon_dri.c::RADEONEnterServer() as per suggestion by Michel Dänzer. I could not trigger a lockup, even with r300_demo (possibly it has code that flushes cache inside ?), so this must be good enough..
2004-12-16Modified:xprint_packagertest_20041217_basexprint_packagertest_20041217Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c Add DMA robustness fix from Nicolai Haehnle. TODO: move this fix into DRM driver or other parts of Xserver when R300 support is more stable. This fix affects only R300 and later variants and results in small slowdown when using CP acceleration in comparison to the previous version of the driver. We are still a lot faster in CP mode than using MMIO register access.
2004-12-12Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c Make DMA blitting code more robust.
2004-12-12Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h programs/Xserver/hw/xfree86/drivers/ati/radeon_version.h Add R300 (and later) DRM support, protected by X_R300_DRM option. Note: at the moment this is for 2d support only, if enabled running glxgears locks up my machine, but DMAForXv=yes works fine.
2004-12-06When direct rendering is enabled, use hostdata blits to transfer data fromMichel Daenzer
system memory to video RAM, which should reduce CPU usage especially with larger videos. Can be disabled via Option "DMAForXv" if there should be any stability issues, but it's been stable for me during a week of testing. Based on a patch by Nikolaus Meine <meine@tnt.uni-hannover.de>. Probably fix endianness issues in some newer XVideo code, untested. Also use hostdata blits to transfer RENDER image data to video RAM to avoid idling the accelerator engine. Increases RENDER performance significantly for me. These changes were only tested on an M9 in a Titanium PowerBook but should work with all Radeons where direct rendering is supported.
2004-08-12Fix context switching on Radeons and build problem when XF86DRI is notXORG-6_7_99_2Kevin E Martin
defined (Bug #922, Eric Anholt).
2004-08-09Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339,Kevin E Martin
Harold L. Hunt II, Alexander Gottwald). Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). Fix several render problems: - MMIO mode support - Hang on IGP chips - VT switching hang - 3D render corruption (Bug #922, Hui Yu).
2004-07-30Support for New radeon chips: R420/M18, R423, RV370/M22, RV380/M24, RS300.Hui YU
Add special handlings for DELL triple-head server (RV100). Misc. bug fixes for flat panel, host aperture, etc (Bug #946)
2004-07-30Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, allAdam Jackson
framebuffer formats except cfb and the overlay modes should work, and r128 and radeon need to be loaded from the ati driver (both issues to be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga drivers. elfloader users shouldn't be affected.
2004-07-26- Add Radeon DynamicClocks optionAlex Deucher
- Add small fixes and clean ups from ati's last code drop (typo_fixes, remove_fudge, laptop, xvfix) - fix possible segfault in mga_dri.c (Ryan Underwood) - Add Xv support to pre-nm2160 neomagic chipsets