summaryrefslogtreecommitdiff
path: root/src/radeon.h
AgeCommit message (Collapse)Author
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
2009-01-23Remove some unused cruftAlex Deucher
2009-01-19start to re-org outputsAlex Deucher
2008-12-22Merge branch 'atom-tvout'Dave Airlie
2008-12-22atombios/tv: add an option to enable atom tv-out for users.Dave Airlie
This code is still experimental but we will allow users to enable it for experimental reasons
2008-12-22radeon: setup 3D engine even when no DRI.Dave Airlie
This should fix some missing font issues in EXA without DRI cases.
2008-12-18radeon: add all new pci ids for rv730/rv710 familiesDave Airlie
2008-12-16DCE32: add support for DCE3.2 digital outputs.Dave Airlie
This adds support for the digital outputs on the RV730.
2008-12-15Remove remnants of unused DDCMode optionAlex Deucher
2008-12-10Add support for Apple eMacsAlex Deucher
Thanks to Joseph Adams for helping me sort this out. Verified on eMac G4/1.0 with radeon 7500 Later eMacs with radeon 9200 or 9600 chips may have different ddc setups. Need to verify.
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-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-03Make sure 3D state is emited when switching to 3D IBAlex Deucher
- fixes bug 18864
2008-12-03Only flush IB when direct rendering is enabledAlex Deucher
2008-12-02move 3d state init after RADEON_SWITCH_TO_3D()Alex Deucher
2008-11-25[PATCH] radeon: Fix PCI usage of 32-bit driver on 64-bit platformBenjamin Herrenschmidt
The radeon driver is storing PCI addresses in unsigned long's which won't work well on 32-bit platforms with 64-bit physical address space such as PowerPC 4xx. This fixes it by using unsigned long long instead.
2008-11-24Get hardcoded edid from the bios for servers that support itAlex Deucher
should fix bug 11300
2008-10-09radeon: rename radeon_memory to radeon_legacy_memory.Dave Airlie
This is a setup patch for the kms/memory management code.
2008-10-01Workaround to make initial rotation workAlex Deucher
Acceleration needs to be initialized before setting the mode for initial rotation to work. Changing the order in RADEONScreenInit() doesn't work because RADEONDRIKernelInit() hangs in the ioctl to initialize the CP if the mode is not set prior (even if the heads are turned off after setting the mode). The workaround is to set the modes twice, once before accel and once after. This needs to be looked into further.