summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
AgeCommit message (Collapse)Author
2009-06-06Now automatically raises Xserver sched prio for single processor systems.upstream-lenny-with-frc-patchesThomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06New options for xorg.conf, bug fix in radeon DRM.Thomas Hilber
- made 'git clone git://anongit.freedesktop.org/git/mesa/drm' obsolete - introduced new xorg.conf options for both intel and radeon FRC patches - FRC (aka sync_fields) switch (default on) - process priority (default 0) - FRC debug output (default off) - fixed a driver bug in radeon DRM with possible cause of crash - removed code looking for lost VBLANK interrupt in radeon DRM. This issue has been fixed by standard lenny kernel. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Rebase everything to xorg V7.4 (xserver V1.5) and DRM Git.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2008-08-02Interlaced mode fixups for AVIVO chipsAlex Deucher
(cherry picked from commit b0378bb145c8a915c943bef7d17f2cdecfccc891)
2008-08-02Clear display priority bits before resetting themAlex Deucher
(cherry picked from commit c18fad622a3c4f9572051120d83af68b625b5686)
2008-08-02Clean up legacy display watermark setupAlex Deucher
- makes crtc1 and crtc2 watermark setup independant. - fixes the case where only crtc2 is active (cherry picked from commit dc231ff8e063313d2bcf5acccad67a9f8a7e3314)
2008-08-02Fix console switch on R500Benjamin Herrenschmidt
This patch fixes the console switch for me on R5xx. There are two aspects to it: - Fix the ordering of avivo_restore() to better match what's happening in the driver & ATOM, properly locking/unlocking and only enabling the CRTCs after everything has been properly programmed. - Don't ASIC_INIT if the card has any CRTC enabled. This is the best I came up with for avoiding spurrious ASIC_INIT on cards that -are- POSTed but don't have the BIOS coming from c0000 on x86. The problem with spurrious ASIC_INIT is that we do it before we do RADEONSave(), so that screws up the console switch. Note that I think we also should save/restore the palette, I don't think we do. right now, it's a minor issue for me because I fixed offb to be able to set it on AVIVO's but it might still have to be done in the long run. Tested with a VGA analog setup on DACA and a DVI setup on TMDS 0. I haven't tested any other combo but that should get us going. Cheers, Ben. Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit df53d12a06fad41f00cff849458cb358ab5e2098)
2008-06-25radeon: flush & wait for 2d & dma idle after 2d blitJerome Glisse
This should help to avoid 2d & 3d engine to step on each other dma transaction.
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-09R5xx: fix RADEONSetAgpBase() for R5xx chipsAlex Deucher
Is there any reason to still do this in the ddx? Maybe real old drms?
2008-05-30RADEON: update RADEONGetVRAMType() for newer chipsAlex Deucher
2008-05-27RADEON: improve support for secondary cardsAlex Deucher
this should fix bugs 16115, 16035
2008-05-20Change RMX code to follow the programming algorithm suggested by ATI.Egbert Eich
ATI provides the following algorithm to calculate the RMX scaling ratios in its programming specs: when RMX_AUTO_RATIO_HORZ_INC set to 1,Horizontal auto ratio result trucated, and then incremented by 1. Horz_Ratio = ( ((Active display width in characters (including overscan) + 1) / (Panel width in characters)) x 4096 + 1 ) else Horz_Ratio = ( ((Active display width in characters (including overscan)) / (Panel width in characters)) x 4096 + 1 ) when RMX_AUTO_RATIO_VERT_INC set to 1, Vertical auto ratio result trucated, and then incremented by 1. Vert_Ration = ( ((Active display width in characters (including overscan) + 1) / (Panel width in characters)) x 4096 + 1) else Vert_Ration = ( ((Active display width in characters (including overscan)) / (Panel width in characters)) x 4096 + 1) This patch implements this behavor. Additionally it avoids the use of floats.
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-30RADEON: lock the cursors when updatingAlex Deucher
this should fix occasional corruption seen when updating the cursor.
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-04-07Fix rendering of transformed sources for REPEAT_NONE with EXA on >= R300.Owen W. Taylor
Use the border color when possible, otherwise fall back to software.
2008-03-21RS4xx: attempt to set up disp/disp2 fifos correctlyAlex Deucher
If you have an XPRESS chip, please test!!!
2008-03-21RS4xx: attempt to fix TMDS/DVO supportAlex Deucher
XPRESS chips added a second set of FP control registers. I don't have the hw to test however.
2008-03-18R5xx: first pass at render support (untested)Alex Deucher
2008-03-18R5xx: bump tex/dst limits to 4096Alex Deucher
2008-03-14R3xx: odds and ends...Alex Deucher
still not working. - swizzle US output for BGR formats - no need to write to temps in ALU ops, write to output only - flush the PVS before updating
2008-03-14R3xx/R5xx: Fix magic numbers in vertex shadersAlex Deucher
2008-03-13R3xx: set the texture id and add some register infoAlex Deucher
2008-03-13R3xx/R5xx: enable blendingAlex Deucher
2008-02-28AVIVO: disable dithering on DFPsAlex Deucher
This should fix the color banding some people have noticed. Also save/restore DDIA regs on RS6xx
2008-02-27R500: fragment program clean up and magic number conversionAlex Deucher
2008-02-27R300: fix up magic numbers in fragment programAlex Deucher
2008-02-26R300: Fix clamping and pitch for textured videoPeter Zubaj
2008-02-26R300/R500: set the number graphics pipes properlyAlex Deucher
This should fix the checkerboard issues on r300/r350 cards.
2008-02-26R300/R500: clean up magic numbers in textured videoAlex Deucher
2008-02-26regs: fix spelling mistakeDave Airlie
pointed out by plaes on irc
2008-02-25R300/R500: clean up magic numbers in render codeAlex Deucher
2008-02-24R300: fill in some more 3D bitfieldsAlex Deucher
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-23Clarify R500 US setup.Adam Jackson
2008-02-23Add the R500 US index/data pair.Adam Jackson
2008-02-23R500: fix typo in new r5xx regsAlex Deucher
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-23Fix R500_US_CONFIG.Adam Jackson
2008-02-23Add R500 unified shader register block.Adam Jackson
2008-02-12R6xx: fix up use of bios scratch regs to reflect the new offsetsAlex Deucher
2008-02-11R6xx: make sure we set up the HDP base properlyAlex Deucher
2008-02-10RADEON: Implement proper (hopefully) BIOS/DRIVER interaction for COM biosAlex Deucher
Tested on my M10-based laptop.
2008-02-06r300: remove r300 specific vertex emissionDave Airlie
Set the vertex and fragment engine to expect the mask coords.
2008-02-01RADEON: Implement "center" mode for RMX on legacy radeonsAlex Deucher