summaryrefslogtreecommitdiff
path: root/src/radeon.h
AgeCommit message (Collapse)Author
2009-09-24radeon: remove old pre-randr rotation cruftAlex Deucher
leftover from the randr 1.2 conversion. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-08radeon: replace dga code with DiDGAAlex Deucher
2009-08-25r6xx/r7xx: first pass at kms accel supportAlex Deucher
Adapted from various patches from Dave and Jerome.
2009-08-19radeon/kms: add initial colortiling support (disabled by default).Dave Airlie
This requires an X server from git with createpixmap2 support fixed up in it. On 1.6 and previous it won't do any tiling, if you are running git server please upgrade to latest git. Option "AllowColorTiling" "true" to enable and do some testing
2009-08-11radeon/r600: abstract vertex buffer for r600 & r700 hardwareJerome Glisse
Abstract vertex buffer, preliminary work before others change to bring cs support along IB support.
2009-08-01radeon: reload bicubic Xv texture on VT switchAlex Deucher
fixed bicubic filtering after VT switch or suspend/resume
2009-07-14R3/4/5xx: only upload the bicubic texture onceAlex Deucher
Upload the bicubic texture once during textured video init rather than once per frame. Suggested by Michel Daenzer on IRC.
2009-07-08Further non-KMS fixes / cleanups.Michel Dänzer
Only compile tested.
2009-07-08Fix the build for the !XF86DRM_MODE caseAlex Deucher
compile tested only.
2009-07-08Don't always flush CS when switching from 2D to 3D.Michel Dänzer
This works fine here and doubles x11perf -aa10text scores, but may cause problems on other setups according to Dave. Let's see...
2009-07-08KMS CS fixes, take two.Michel Dänzer
Avoid flushing CS in the middle of (setting up state for) an operation, properly finish/restart the operation.
2009-07-06radeon: port to new space checking in libdrm interfaceDave Airlie
This uses a new libdrm interface which shares code with mesa. It also fixes the bo to flush when full instead of never flushing. It survives gtkperf -a here which the driver didn't before now
2009-07-06Revert "KMS CS fixes."Dave Airlie
This reverts commit 11cf8a28eb46f48d101888552266921bee8b63fc. I'll bring this back in a few minutes, I've got a big change introducing a new cs space accounting scheme which this messes up and I think probably conflicts with what I've done. I promise i'll go over this and pick the bits that are still useful :)
2009-07-05KMS CS fixes.Michel Dänzer
* Flush CS before running out of space. * Don't flush CS every time when switching between 2D and 3D engine, but make sure to re-initialize 2D/3D state after flushing. Doesn't seem quite perfect yet (some rendering seems to get dropped on the floor sometimes), but this should fix a lot of CS failures people have been seeing.
2009-07-02radeon: add KMS support (still disabled)Dave Airlie
This adds DRI2 + KMS + driver pixmaps support to the driver. I've decided to just do a completely separate KMS driver file instead of hacking the crap out of radeon_driver.c. So now I do the KMS check in radeon_probe.c time and set the DDX pointed up to a completely different set at this stage. This avoids a lot of if (kms) type crap in the code at the expense of making sure we make changes to both files if necessary. This code is still disabled in configure.ac as I broke EXA composite rendering somehow in KMS mode
2009-06-30radeon: initial preparation for kms patch.Dave Airlie
This patch contains most of the changes to the EXA and texture video accel code. It adds a few bits of pixmap support but doesn't actually do anything useful KMS yet. Testing this should not have any regressions over what we have already, biggest worries are r6xx, I've fixed a textured video one, but no idea what other might lurk It won't build against libdrm radeon yet either
2009-06-11Add PLL flag to prefer frequencies <= the target freqAlex Deucher
This appears to be needed when using fractional feedback dividers. Based on a patch from Tom Hirst. See fdo bug 22229 for more details.
2009-05-29Add RV740 (HD4770) supportAlex Deucher
Verified by ernstp on IRC
2009-04-30AVIVO: first pass at display watermark setupAlex Deucher
This helps with flickering and blanking when there is contention for MC bandwidth.
2009-04-27AVIVO: disable fractional feedback divsAlex Deucher
Doesn't seem to work well in all cases. Needs more investigation. fixes bug 21413
2009-04-23r2xx/r3xx/r4xx: further i2c fixupsAlex Deucher
- hw i2c engine has pin selection on r2xx/r2xx/r3xx chips - also switch hw i2c pin sel for external tmds
2009-04-22radeon pll: add support for fractional feedback divsAlex Deucher
Allows us to hit dot clocks much closer, especially on chips with non-27 Mhz reference clocks like most IGP chips. This should fix most flickering and blanking problems with non-exact dot clocks.
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-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-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-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-08radeon: chip family typoAlex Deucher
2009-03-31Add PCIE register accessorsAlex Deucher
2009-03-26R6xx/R7xx EXA: rework composite pixel shaderAlex Deucher
- move to vram storage - move swizzle logic to tex setup
2009-03-22radeon: add new chip idsAlex Deucher
2009-03-13r600: reload shaders into VRAM on resumeDave Airlie
As VRAM gets zeroed out over s/r, we need to reload the shaders.
2009-03-09R4xx: add R4xxATOM optionAlex Deucher
If set, enables the use of atombios for modesetting on r4xx cards.
2009-03-02R6xx/R7xx EXA: combine composite mask/non-mask VSAlex Deucher
Also fix set_bool_const() the CF bool consts are not contiguous by shader type There are 96 boolean constants (32 each for PS, VS, GS) and they are ordered as follows: ps, vs, gs ... ps, vs, gs
2009-03-02R6xx/R7xx Xv: combine packed and planar shadersAlex Deucher
use a bool const to select the tex fetch routine
2009-03-01R6xx/R7xx: write vertexes directly to the IBAlex Deucher
Reduces the vertex buffer setup overhead
2009-02-26Merge branch 'r6xx-r7xx-support' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
2009-02-24R6xx/R7xx EXA: use a temp surface for overlapping copyMark van Doesburg
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-18R6xx/R7xx: fixup accel pathsAlex Deucher
2009-02-12R6xx/R7xx EXA: handle running out of vertex space in the copy pathAlex Deucher
2009-02-12AVIVO: fix dualhead/rotation for realAlex Deucher
2009-02-11Revert "Radeon EXA: wait for the engine to be idle before sw access"Alex Deucher
This reverts commit 0c4694c58f2ec152b19023626bc7ced891d9da65. This patch just adds latency and thus isn't a real solution
2009-02-11R6xx/R7xx Xv: Add native support for packed formatsAlex Deucher
2009-02-10Radeon EXA: wait for the engine to be idle before sw accessAlex Deucher
Really we need proper fencing with timestamps but this should help in the short term. This should help with minor corruption issues and possibly lockups.
2009-02-09R6xx/R7xx Xv: implement native shader for planar formatsAlex Deucher
2009-02-03Initial R6xx/R7xx EXA and textured video supportAlex Deucher
2009-01-28Move encoder specific data to encoder dev_privAlex Deucher
2009-01-26Additional output cleanupAlex Deucher