summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-20R3/4/5xx: fixup logic from last commitAlex Deucher
Spotted by otaylor and MrCooper
2008-05-20R3/4/5xx: fix EXA rotationAlex Deucher
xrandr uses PictOpSrc for rotation which we were falling back on since render semanties require alpha=0 for REPEAT_NONE when there is no alpha channel and there is a transform. If the dst has no alpha channel we should be ok I think. Otayler and I discussed this on IRC. the more general fix would be to clip the dst to the src and mask for bounded ops like in/add/over in the pixel exact transform case.
2008-05-14RADEON: missing stdint.h includesCorbin Simpson
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-13Reinstate CARD* types that are part of external interfaces.Michel Dänzer
The compiler pointed this out...
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-05-12RADEON: fix lockup on startAvi Rozen
see debian bug 480312
2008-05-12radeon: fix set_cursor_colours remove fb offsetDave Airlie
2008-05-12radeon: rs485 vs rs485m.. mobile? non-mobile? bi?Dave Airlie
So it appears we have in the wild two chipsets with the same PCI ID (0x1002:0x5974) that are mobile and non-mobile. the RH bug references is a desktop system. The Dell Vostro 1100 also has this chipset with LVDS bits.
2008-05-12radeon: add initial support for cloning outputs. (single-CRTC cards only)Alex Deucher
airlied - This code was originally written by Alex, and I've modified it to only run on single-CRTC cards for now until we can test it some more.
2008-05-09RADEON: fixup ifdef from last commitAlex Deucher
2008-05-08RADEON: disable MMIO paths for EXA composite/texvid on IGP/R5xxAlex Deucher
The MMIO paths eventually lead to a hang on r5xx/IGP. I haven't been able to find out why yet.
2008-05-07radeon: fix zaphod EXA with texture videoDave Airlie
2008-05-07avivo: fix zaphod cursor in theoryDave Airlie
2008-05-07radeon: fix textured-xv on zaphodDave Airlie
2008-05-07radeon: zaphod: fix render accel for EXADave Airlie
2008-05-07radeon: fix EXA pixmap offset on zaphodDave Airlie
2008-05-07radeon: zaphod fixes for pciaccess not allowing multiple MMIO mapsDave Airlie
2008-05-07radeon: zaphod fix for cursor on second headDave Airlie
We don't need to add fbOffset here as the mmap we have of the framebuffer starts half way.
2008-05-02Add a test for __GLIBC__ to CD_Common_Types.h.Julien Cristau
Atombios redefines the standard types but the definitions conflict with the ones from glibc (causes build failures on GNU/Hurd and GNU/kFreeBSD).
2008-05-02ATOM: add support for DragonFlyBSDthegraze
2008-04-30RADEON: lock the cursors when updatingAlex Deucher
this should fix occasional corruption seen when updating the cursor.
2008-04-29RADEON: assorted fixesAlex Deucher
- free rotate pixmaps on VT switch - save crtc/output status so we only turn on crtcs/outputs if they are off - show/hide cursors when changing modes
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-27RADEON: decrease crtc/output verbosityAlex Deucher
2008-04-17Emulate repeats by drawing in tilesOwen Taylor
When we can't turn on hardware repeats, because the texture is non-power-of-two, or has padding at the ends of lines, try to draw the image in multiple tiles rather than falling back to software. (We can only do this when there is no transform.)
2008-04-17Turn on wrapping when repeating on R100 + R200Owen Taylor
Actually enable repeats for R100 and R200. This corresponds to a R300 change made in the patch in: http://bugs.freedesktop.org/show_bug.cgi?id=15333
2008-04-17R300+: move more common code into init3d()Alex Deucher
- pre-load r3xx tex instructions - setup RS instructions in init3d()
2008-04-17Radeon: Omit mask coordinatesOwen Taylor
Adapted from Owen's patch on bug 15546 This fixes the slowness with aatext on r300 and may speed up other chips marginally.
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-14EXA: Don't wait for 3D idle after each Composite()Alex Deucher
wait in CompositeDone() instead
2008-04-14R300: move more common code to init3d()Alex Deucher
2008-04-14R3xx+: 3D engine documentation and minor cleanupsAlex Deucher
- document the R300 exa/textured video code - minor cleanups of textured video code to clarify meaning
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+: fix XAA + textured video on non-TCL pathAlex Deucher
2008-04-12R3xx+: more fixes to 2D/3D engine initAlex Deucher
2008-04-11Fix exa glyph corruption on newer chipsAlex 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-10R3xx+: tcl wipAlex Deucher
2008-04-10R300+: textured video tcl cleanupAlex Deucher
2008-04-10RADEON: cleanupAlex 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-10RADEON: store tcl status in driver recAlex Deucher