summaryrefslogtreecommitdiff
path: root/src/legacy_crtc.c
AgeCommit message (Collapse)Author
2010-04-13radeon: add support for pll algo selectionAlex Deucher
tv-out on atom systems is very particular about it's dividers. force it to use the old algo. Should fix fdo bug 27593.
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).
2009-12-15fix 200M freezes on VT switch if CRTC is disabledMatthias Hopf
It appears that RS4xx chips need to have the crtc enabled when the timing is programmed. agd5f: minor fixes/cleanup of the original patch
2009-12-03radeon: fix crtc2 dpmsMatthijs Kooijman
noticed by Matthijs Kooijman on fdo bug 22140
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-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-03-09R4xx: add R4xxATOM optionAlex Deucher
If set, enables the use of atombios for modesetting on r4xx cards.
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-01-21few more logic pasto's bits I missedAlex Deucher
2009-01-21More legacy reworkAlex Deucher
2008-12-10Add randr 1.3 panning supportAlex 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-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-09-30Update GEN_INT_CNTL register value after calling DRM modeset ioctl.Michel Dänzer
Fixes sync-to-vblank hangs after mode switch with DRM vblank-rework.
2008-09-24radeon: Further pll adjustmentsAlex Deucher
2008-08-25Switch to using radeon_drm.h from the drmAlex Deucher
modelled after Matthias' similar rhd change
2008-08-25Move DRI to a separate structAlex Deucher
based on Matthias' similar work in rhd
2008-08-14PLL adjustmentsAlex Deucher
Seems higher dotclocks prefer a higher FB div. Someone with a lot of should try and find out where the div sweet spots are for various dotclock ranges. fixes bug 17125
2008-07-28radeon: don't call ioctl unless DRI is initialisedOwain Gordon Ainsworth
2008-07-21Clear display priority bits before resetting themAlex Deucher
2008-07-21Clean up legacy display watermark setupAlex Deucher
- makes crtc1 and crtc2 watermark setup independant. - fixes the case where only crtc2 is active
2008-06-24RADEON: warning fixAlex Deucher
2008-06-23RADEON: PLL tweaksJiří Paleček
Patch from Jiří Paleček (see debian bug 465864) with some tweaks by me. - abort rather than programming bad dividers if no pll dividers can be found - improve the pll selection algorithm - in general, prefer lower ref dividers I've tested this patch on a wide variety of chips (r1xx-r6xx) and clocks.
2008-06-20legacy: use entity MMIO for dpms as this can crossover between zaphod infosDave Airlie
2008-06-03Call DRM_IOCTL_MODESET_CTL ioctl to avoid problems with DRM post vblank-rework.Michel Dänzer
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-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-04-03Revert "RADEON: memmap rework 1"Alex Deucher
This reverts commit dd8ee1b444f4b973a1e0fadca5f943f2162b5e94. Conflicts: src/radeon.h src/radeon_driver.c This rework seems to have caused more trouble than it was worth.
2008-03-23RS4xx: Revert back to previous fifo settings for nowAlex Deucher
Setup of these registers needs more investigation.
2008-03-22RS4xx: more work on disp/disp2 fifo setupAlex Deucher
2008-03-22RS4xx: missed this on the last commit.Alex Deucher
2008-03-21RS4xx: attempt to set up disp/disp2 fifos correctlyAlex Deucher
If you have an XPRESS chip, please test!!!
2008-03-21RS4xx: attempt to fix TMDS/DVO supportAlex Deucher
XPRESS chips added a second set of FP control registers. I don't have the hw to test however.
2008-03-07RADEON: Fix crash in last commitAlex Deucher
2008-03-06RADEON: fix tiling/interlaced interaction with randr 1.2Dave Airlie
2008-03-01RADEON: memmap rework 1Alex Deucher
Don't restore memmap regs on every mode switch. Just do memmap save/restore/setup on server start and VT switch.
2008-02-10RADEON: Implement proper (hopefully) BIOS/DRIVER interaction for COM biosAlex Deucher
Tested on my M10-based laptop.
2008-02-01RADEON: Implement "center" mode for RMX on legacy radeonsAlex Deucher
2007-12-21RADEON: more re-orgAlex Deucher
move save/restore routines into legacy_crtc/output
2007-12-21RADEON: re-org legacy crtc/output code into separate filesAlex Deucher