summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-04-21Tex vid: rework part 2Alex Deucher
- use pPriv->w/h directly for tex coords - take src x/y offset into account when calculating tex coords - when copying data, only optimize for y clipping. In order to deal with the x clipping optimization, the copy routines or tex coords would need to be fixed. This should fix clipping problems with the current code.
2009-04-21R4xx: avoid a PM related hangAlex Deucher
2009-04-21radeon PM: add some quirksAlex Deucher
2009-04-20Tex vid: cleanup and unify common codeAlex Deucher
2009-04-20Endian fixes for object tableAlex Deucher
2009-04-19Remove old messagesAlex Deucher
R5xx/r6xx support isn't really experimental anymore
2009-04-17R3xx/R5xx: only apply Xv attributes if bicubic is disabledAlex Deucher
Provides consistent output
2009-04-17R3xx/R4xx: set tex caching for Y texture when doing planar renderingAlex Deucher
Doesn't affect performance, but docs indicate its the right thing to do.
2009-04-17Tex vid: remove remnants of XV_HWPLANARAlex Deucher
no longer needed as bicubic is the only thing that uses the old csc code.
2009-04-17R3xx/R4xx: fix up planar shaderAlex Deucher
We were overwriting the coord fetch address with the first tex fetch. Seemed to work however, luck I guess. Reorder the fetches to write to temp0 last.
2009-04-17R5xx: add shader-based cscAlex Deucher
- native planar support - Xv attributes
2009-04-17R3xx/R4xx: Implement shader-based csc for packed formatsAlex Deucher
2009-04-17tex vid: fix attribute setup typo for XV_COLORSPACEAlex Deucher
2009-04-17R6xx/R7xx: implement Xv attributesAlex Deucher
- brightness, contrast, hue, etc. - TODO: implement gamma
2009-04-17R200: clean code, always use shader based cscAlex Deucher
- consolidate common r2xx csc shader code - always use shader based csc for both packed and planar formats - always use native planar csc on r1xx
2009-04-17Tex vid: general cleanupAlex Deucher
- convert macros to more meaningful VTX_OUT_4 and VTX_OUT_6 names to reflect that they actually do - fix indenting
2009-04-17R1xx: add support for native planar textured XvAlex Deucher
2009-04-17R2xx tex vid: append verts for clip boxesAlex Deucher
rather than sending a new draw packet for each rect
2009-04-17R1xx tex vid: append verts for clip boxesAlex Deucher
rather than sending a new draw packet for each rect
2009-04-17Tex vid: split by familyAlex Deucher
2009-04-17r200/r300: implement brightness/contrast/hue/saturation/gamma controls for ↵Roland Scheidegger
textured video This implements contrast/brightness/hue/saturation controls for r200/r300 plus gamma (same gamma value for all channels used though separate values would be trivial) control for r300. Some issues left: - only r200/r300 - still can't be combined with bicubic - controls will silently cease to work if the format used is packed and not planar (except for rv250) - gamma range is from 100 to 10000 corresponding to 0.1 and 10.0 like used in overlay. However, usable range is far smaller. Over 2.0 picture gets dark pretty quickly, and below 0.6 or so black seems to turn into purple (I've verified that even with gamma 1.0 black actually often seems to be RGB 1/0/1 so this explains this since that gets amplified by low gamma values - not sure if this is a rounding problem somewhere, bogus reference values or is somehow expected). - gamma adds a bit too many instructions for my taste (7) though the alternative (3 texture lookups + some swizzling instructions) doesn't seem any better.
2009-04-17radeon: tweak ddc fix for all r300s.Dave Airlie
Alex seems to think this might affect some other chips
2009-04-17radeon: fix DDC on rv410 VGA ports for non-atom use.Dave Airlie
The rv410 hw i2c block appears to hold down whatever i2c lines it is connected to when in reset, so when doing DDC change hw i2c to point at different i2c lines.
2009-04-16PM: fix reversed logic in pm block handlerAlex Deucher
2009-04-16RS400/RS480: attempt to fix ClockGating on RS4xx chipsAlex Deucher
2009-04-16RS690/RS740: fix connector enumeration in some casesAlex Deucher
Should fix Masta-G's issue reported on IRC.
2009-04-16R3xx/R4xx EXA: set explicit tex cache regionsAlex Deucher
When using a mask, set explicit cache partitions for each texture. Gives 1% performance improvement in x11perf with anti-aliased text.
2009-04-16Revert "DCE3/3.2: cleanup dpms after previous changes"Alex Deucher
This reverts commit f8c7d6a6162196a743f6885ecaf63ba50de1722a. This is apparently still needed for some setups, however, I can't reproduce this locally anymore.
2009-04-15Change ForceLowPowerMode to 4 pcie lanesAlex Deucher
This fixes corruption for some users
2009-04-15PM: don't touch clock gating regs unless ClockGating option is setAlex Deucher
Fixes an M26 hang reported by tormod on IRC
2009-04-15Unify ForceLowPowerMode and DynamicPM OptionsAlex Deucher
Force lower power mode and switch to a lower mode when idle.
2009-04-15Add DynamicPM OptionAlex Deucher
Dyanmically switch between power states. Switch to a low power state when the system is idle (DPMS off).
2009-04-15Set default low power PCIE lanes to 2Alex Deucher
1 lane seems to cause occasional corruption when blitting to/from gart memory.
2009-04-15Add support for setting the number PCIE lanesAlex Deucher
2009-04-15Add ForceLowPowerMode OptionAlex Deucher
Force the chip to a low power mode at the expense of performance.
2009-04-15radeon: Add functions to set sclk/mclk using atombiosAlex Deucher
2009-04-15radeon: Add functions to set sclk/mclk on r1xx-r4xxAlex Deucher
2009-04-15Add unified ClockGating OptionAlex Deucher
- replaces DynamicClocks Option as the name was misleading - unified interface for atom and com based bioses - fix up clock gating code for newer r3xx asics
2009-04-15radeon: legacy bandwidth calcs for later r3xx/r4xx cards.Dave Airlie
This is an attempt to rationalise the code using the register info files available to me here. Further info is required: r350 check for stop_req > 15 then subtract 10: what other chips need it? get rs480 working instead of using magic.
2009-04-10radeon: fix tmds_pll randr propertyAlex Deucher
2009-04-09radeon: remove old crtc size heuristicsAlex Deucher
IIRC, the old randr code used to use this to use for front buffer sizing, but it has since been changed.
2009-04-09R6xx/R7xx: cleanup macroAlex Deucher
2009-04-09Clear the framebuffer before initializing modes.Michel Dänzer
Fixes garbage being visible shortly on server startup or when VT switching back to X.
2009-04-08radeon: chip family typoAlex Deucher
2009-04-08R6xx/R7xx: set proper 3D client driver name for r600Alex Deucher
2009-04-07ATOM: code cleanupAlex Deucher
- remove cases that aren't possible (e.g., no TMDSA on DCE3 cards) - condense duplicate cases
2009-04-07DCE3/3.2: further fixesAlex Deucher
disable the dig transmitter and encoder before setup and enable
2009-04-07Cast info->sclk to intAlex Deucher
2009-04-07Fix missing ')' in PCIE macroAlex Deucher
2009-04-07radeon: fix Xv vsync for multi-headAlex Deucher