summaryrefslogtreecommitdiff
path: root/src/radeon_commonfuncs.c
AgeCommit message (Collapse)Author
2008-12-04First pass at tear-free accelAlex Deucher
if the dest pixmap is the front buffer, stall the pipe until the vline is outside the active area. For EXA, pick crtc based on the larger mode area; ideally we'd have one pixmap per crtc. For Xv, use dst window area to determine crtc.
2008-12-04Fix up US setup after r3xx bicubic mergeAlex Deucher
2008-08-25Move DRI to a separate structAlex Deucher
based on Matthias' similar work in rhd
2008-08-25Move accel state to a separate structAlex Deucher
2008-08-25Move CP into a separate structAlex Deucher
2008-08-25Additional cleanups and re-arragement following bicubic mergeAlex Deucher
2008-07-11R300: NUM_FPU adjustments for VAP_CNTLAlex Deucher
2008-06-03RADEON: minor cleanupsAlex Deucher
2008-05-14Add RS600 supportAlex Deucher
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-28R3xx+: further fix for IGP chipsStephan Wolf
see bug 15538
2008-04-27IGP: fix EXA composite corruptionAlex Deucher
2008-04-27RADEON: remove duplicate register defineAlex Deucher
Also add more bit defs to wait_until register
2008-04-17R300+: move more common code into init3d()Alex Deucher
- pre-load r3xx tex instructions - setup RS instructions in init3d()
2008-04-15fix up some things from the last commitAlex Deucher
2008-04-14R300+: properly setup vap_cntlAlex Deucher
this fixes tcl/pvs on RV515 among other things
2008-04-14R300: move more common code to init3d()Alex Deucher
2008-04-12R300+: consolidate some tcl/non-tcl pathsAlex Deucher
- Move more code to init3d() - MMIO textured video seems more reliable now on newer chips
2008-04-12R3xx+: more fixes to 2D/3D engine initAlex Deucher
2008-04-11R300+: pre-load vertex programs in init3D()Alex Deucher
2008-04-10R3xx+: consolidate more tcl codeAlex Deucher
2008-04-10R3xx+: consolidate some common 3D codeAlex Deucher
2008-04-10Revert "R3xx/R5xx: move more VAP, etc. state setup into common init3d() ↵Alex Deucher
function" This reverts commit 305a3310963a5dd07b3495015b06aa8c7c4e6b02. Conflicts: src/radeon_commonfuncs.c src/radeon_exa_render.c src/radeon_textured_videofuncs.c
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-03-24R3xx/R5xx: flush PVS state before enabling pvs-bypassAlex Deucher
2008-03-24R3xx/R5xx: move more VAP, etc. state setup into common init3d() functionAlex Deucher
Also some minor code cleanups
2008-03-05AVIVO: Initial support for DCE 3.0 using atombiosAlex Deucher
DACs are working well, DIG support (DVI, HDMI, LVDS, etc.) still has some issues.
2008-02-27R300/R400: bump up the clip limits for textured videoAlex Deucher
This allows up to 2560x2560 (hw limit)
2008-02-27R100/R200: move r100/r200 specific 3D setup into appropriate blocksAlex Deucher
R3xx+ doesn't have these regs.
2008-02-26R300/R500: fix up clippingAlex Deucher
Based on patch from Peter Zubaj.
2008-02-26R300/R500: set the number graphics pipes properlyAlex Deucher
This should fix the checkerboard issues on r300/r350 cards.
2008-02-26regs: fix spelling properlyDave Airlie
2008-02-24Merge master and fix conflictsAlex Deucher
Merge branch 'master' of ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati Conflicts: src/radeon_commonfuncs.c
2008-02-24R300: clean up magic numbers in RADEONInit3DEngineAlex Deucher
2008-02-24R300: replace magic numbers in cache flushAlex Deucher
2008-02-24rs690: initial rs690 rotateDave Airlie
suffers same problem as r500 with clipping
2008-02-23r500: initial rotate support - not fully working yet.Dave Airlie
Just an example of how to setup and run the r500 3D engine for rotation. this rotates for me but I get some strange clipping on the bottom of my screen
2008-02-23RADEON: add textured video support for r1xx-r4xx radeonsAlex Deucher
Based on the kdrive ati video code by Eric Anholt. R3xx/R4xx still have some clipping issues in certain situations
2008-02-06r300: move fragprog setup code to prepare composite for nowDave Airlie
2008-02-06r300: remove r300 specific vertex emissionDave Airlie
Set the vertex and fragment engine to expect the mask coords.
2008-01-16R300: only init3d on r3xxAlex Deucher
2008-01-16R300: First pass at render accelAlex Deucher
This first pass is pretty limited. All it currently supports is transforms for rotation. No blending yet. Based on inital implementation from Wolke Liu with additional lock-up fixes by Dave Airlie.
2007-12-18RADEON: driver cleanups, warning fixesArkadiusz Miskiewicz
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-10-22Bug #6756: Attempt to fix repeat picture acceleration.Michel Daenzer
Always use normalized texture coordinates on R200 and fall back if a POT texture pitch doesn't match the HW's implicit pitch.
2006-09-25remove all CVS annotations from the ATI driver filesDave Airlie
2006-06-15Fix some more cosmetic warnings.Michel Dänzer
2006-06-15fix more printf formatsDave Airlie
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.
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.