summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
AgeCommit message (Collapse)Author
2010-02-22radeon: update new pll algoAlex Deucher
- add support for pre-avivo chips - add support for fixed post/ref dividers - add support for non-fractional fb dividers By default avivo chips use the new algo and pre-avivo chips use the old algo. Use the "NewPLL" option to toggle between them (set to TRUE for the new algo, FALSE for the old).
2010-02-03evergreen: use external clock source for DP PHYAlex Deucher
DP CRTC clock always comes from DCPLL. This frees up PPll1/2 for non-DP-mode PHYs and CRTCs
2010-02-03evergreen: pll fixesAlex Deucher
SetPixelClock needs to be called for DP outputs with a valid PLL.
2010-02-02evergreen: DP requires coherent modeAlex Deucher
2010-02-02evergreen: fix units on frac_fb_divAlex Deucher
2010-02-01evergreen: add atombios crtc/pll functionsAlex Deucher
2010-02-01evergreen: add crtc set base/format supportAlex Deucher
2009-12-10ATOM: split set base/format into separate functionsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-09AVIVO: add new PLL codeAlex Deucher
This should hopefully help the problems with flickering and blinking monitors reported on some systems. If there are problems, the old PLL algorithm can be selected with: Option "NewPLL" "FALSE" in the device section of your X config. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-01radeon/atom: fix tv-out on r5xxAlex Deucher
fixes bug 24796 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-27ATOM: fix up DVO for DCE 3.xAlex Deucher
AdjustDisplayPll takes care of this for us.
2009-10-27radeon: fix DVO on AVIVO chipsAlex Deucher
DVO generally requires 2x ppll on AVIVO cards due to the way the tmds chip is wired up. Because of this, disable cloning of DVO outputs. fixes fdo bug 21857. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-22R7xx: program additional CUR/GRPH regs for 40 bit addressesAlex Deucher
The *_HIGH regs are reversed. The secondary ones are in the primary block and vice versa.
2009-10-12ATOM: minor cleanups to pll setupAlex Deucher
2009-10-07ATOM: rework crtc modesetAlex Deucher
- clean up tv timing handling - unify SetCRTCTiming and SetCRTCDTDTiming interfaces
2009-10-07ATOM: reorder crtc dpms based on bios recommendationsAlex Deucher
2009-10-07ATOM: add support for AdjustDisplayPll tableAlex Deucher
Depending on the output and clock, this table will adjust the pixelclock accordingly.
2009-08-19rs600: add support for DisplayPriority HIGHAlex Deucher
Still haven't implemented the actual watermark calculation, but this forces the display requests to urgent if the user specifies DisplayPriority HIGH.
2009-08-18AVIVO: add support for DisplayPriority HIGHAlex Deucher
If the DisplayPriority option is set to HIGH, force the diplay mem requests to urgent.
2009-07-16Update to xextproto 7.1 support.Peter Hutterer
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-09RS740: fixup display latency setting as per rs690Alex Deucher
Both chips program the same in this regard
2009-06-11Only enable frac fb divs on rs600/rs690/rs740 for nowAlex Deucher
fixes bug 21413
2009-06-11Re-enable frac feedback dividers on AVIVO hardwareAlex Deucher
Preferring a freq <= target frequency seems to fix the previous issues with frac fb divs. Appears to work fine on all hardware I've tested on. See fdo bug 22229 for details. Should fix bugs: 22229, 21553, 21413, and possibly other ones related to unstable images at certain resolutions.
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-29radeon: fix several dpms issuesAlex Deucher
- atom dpms was unblanking for standby/suspend - return if r600+ in radeon_crtc_modeset_ioctl() - remove seprate standby/suspend handling in legacy crtc dpms. we turn the outputs off, so turn the crtcs off too. - disable the crtcs in legacy crtc dpms - move radeon_crtc_modeset_ioctl() calls to radeon_crtc_dpms() so they will get called for both atom and legacy paths Should fix bug 21321
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-02Enable byte swapping for r6xx/r7xx HardwareEduard Fuchs
Patch from Eduard Fuchs with some cleanup from me. Tested at 32 bpp on MPC8641HPCN board (PowerPC) with HD2400 PCIe card
2009-03-09R4xx: add R4xxATOM optionAlex Deucher
If set, enables the use of atombios for modesetting on r4xx cards.
2009-03-09AVIVO: fix panningAlex Deucher
low 2 bits of X need to be 0.
2009-03-04ATOM: don't use fixed ref div for LVDSAlex Deucher
The bios doesn't provide one. If there are problems with certain panels, we may need to adjust the PLL flags in certain cases. Should fix bug 20458
2009-03-03AVIVO: add aspect scaling modeAlex Deucher
No luck yet for aspect on pre-avivo chips
2009-02-17ATOM: don't unblank uninitialized crtcsAlex Deucher
If the crtc timing isn't setup, you might get stuck in a loop in the BlankCRTC command table fixes bug 16781
2009-02-12AVIVO: fix dualhead/rotation for realAlex Deucher
2009-02-06AVIVO: better fix for rotationAlex Deucher
This should handle initial rotation as well.
2009-02-06AVIVO: fix rotationAlex Deucher
When rotation is active, virtualX and virtualY change.
2009-01-28Merge branch 'atom-rework' and fix conflictsAlex Deucher
2009-01-28Move encoder specific data to encoder dev_privAlex Deucher
2009-01-26Warning fixesAlex Deucher
2009-01-26Fix off by one when printing encoder nameAlex Deucher
- also cleanup some debugging output
2009-01-23Remove TMDSType, DACType, LVDSType from output recAlex Deucher
2009-01-06ATOM: Adjust PLL setup for recent atom changesAlex Deucher
2008-12-17Allow arbitrary tv-out modesAlex Deucher
2008-12-17atom: spc3 only requires ucEncoderMode for DIG outputsDave Airlie
2008-12-10Add randr 1.3 panning supportAlex Deucher
2008-12-09radeon: memset the pll setting functionDave Airlie
Thanks to Peter Zijlstra for making me debug this and providing feedback.
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-04Improve tearing avoidance for Xvideo in two stepsPierre Ossman
- Fix up VLINE handling to trigger whenever scanout is outside the visible area. - Render the video as a scissored triangle as R300+ cannot render a quad in a single pass.
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-10-10radeon: hopefully fix plls for 30" monitors.Dave Airlie
Only do the HIGH trick on the DCE3 cards. Tested on rv610/630/770.
2008-09-24radeon: Further pll adjustmentsAlex Deucher