summaryrefslogtreecommitdiff
path: root/src/radeon_commonfuncs.c
AgeCommit message (Collapse)Author
2009-05-08r3xx-r5xx: switch to 1/12 subpixel precisionAlex Deucher
- based on similar patch in Jerome's cs ddx tree - also fix clipping offsets - should eventually allow for 4k render targets - mesa driver uses 1/12 mode, this avoids changing the subpixel mode when switching between ddx and mesa
2009-03-13R6xx/R7xx: return in RADEONWaitForIdleMMIO() if accel is offAlex Deucher
Don't wait for engine idle if we haven't initialized the engine. Behavior should be consistent with versions of the driver prior to accel support being added. Should fix bug 20645
2009-02-26Merge branch 'r6xx-r7xx-support' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
2009-02-24Only call RADEONWaitForVLine if it might actually do anything useful.Michel Dänzer
Otherwise it and RADEONBiggerCrtcArea show up pretty high in x11perf -aa*text profiles.
2009-02-19R6xx/R7xx: add wait for idle MMIO pathAlex Deucher
2009-02-07Fix bad range adjustment in VLINE code.Pierre Ossman
2009-02-03Initial R6xx/R7xx EXA and textured video supportAlex Deucher
2008-12-15r600: don't idle engineDave Airlie
(cherry picked from commit b77729448e487d37707ce028d8edc59352d1cc2d)
2008-12-05R200: Remove scissor setup from init3d()Alex Deucher
We aren't using them, so no need to set them up.
2008-12-05Make VSync for EXA and Xv configurableAlex Deucher
2008-12-05Optimise RADEONWaitForVLinePierre Ossman
Only avoid the vlines we are rendering to, instead of the entire screen. This way we don't stall the card for longer than we absolutely have to. EXA calls fixed by Alex Deucher.
2008-12-04Improve tearing avoidance for Xvideo in two stepsPierre Ossman
- Fix up VLINE handling to trigger whenever scanout is outside the visible area. - Render the video as a scissored triangle as R300+ cannot render a quad in a single pass.
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