summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
AgeCommit message (Collapse)Author
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
2008-12-10Add randr 1.3 panning supportAlex Deucher
2008-11-24Don't support rotation is accel is not availableAlex Deucher
Fixes bug 18068
2008-10-09radeon: rename radeon_memory to radeon_legacy_memory.Dave Airlie
This is a setup patch for the kms/memory management code.
2008-08-26fix some fallout from the common allocatorAlex Deucher
should fix bug 17317
2008-08-25Convert randr, Xv to a common allocatorAlex 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-25Move CP into a separate structAlex Deucher
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-21First pass at InitDispBandwidth() for AVIVO chipsAlex Deucher
- support for LB allocation - MC priority bumps for display1/2 on RV515 variants and RS690 If you are having display underflow problems (flickering on sides of screen in high res modes, etc.) on RV515 or RS690 boards, try setting: Option "DisplayPriority" "HIGH" in your config. - still no support for full display watermark programming yet Something similar might be useful in rhd as well.
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: remove extraneous line from new pll codeJiří Paleček
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-23RADEON: adjust randr crtc/output prepare/commit orderingAlex Deucher
This fixes some occasional mode change problems with multiple heads active. It seems radeons generally like to turn on the whole output/crtc setup in one shot.
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-29RADEON: assorted fixesAlex Deucher
- free rotate pixmaps on VT switch - save crtc/output status so we only turn on crtcs/outputs if they are off - show/hide cursors when changing modes
2008-03-19[PATCH] Compile warning fixes.Paulo Cesar Pereira de Andrade
Minor changes to avoid declarations mixed with code. Ansified functions with empty prototype to specify they don't receive arguments. Added some prototypes to radeon.h, and major reorder on radeon.h adding prototypes in alphabetical order and specifying to file that defines it.
2008-03-11DCE3: adjust PLL for DCE3 chipsAlex Deucher
this fixes stability issues on digital outputs and certain modes.
2008-03-07RADEON: Fix crash in last commitAlex Deucher
2008-03-06RADEON: fix tiling/interlaced interaction with randr 1.2Dave Airlie
2008-02-27AVIVO: make sure we select the right LUT for each crtcAlex Deucher
2008-02-12R6xx: when both crtcs are in use make sure they are both enabledAlex Deucher
sometimes setting a mode on one crtc can cuase a blank screen on the other. make sure they are both enabled if they should be.
2008-02-11RADEON: always restore crtc1 before crtc0 when using both crtcsAlex Deucher
In some rare cases restoring crtc0 first will result in a blank screen on crtc1. If you are having issues with a blank screen on crtc1 that used to work on 6.6.3 or before, this should help.
2008-01-16R300: First pass at render accelAlex Deucher
This first pass is pretty limited. All it currently supports is transforms for rotation. No blending yet. Based on inital implementation from Wolke Liu with additional lock-up fixes by Dave Airlie.
2008-01-03RADEON: fix crash when setting rotation in the config fileAlex Deucher
xf86CrtcRotate() accesses pScrn->pScreen which is not set during ScreenInit(). This should also be fixed in the server. See bug 12129
2008-01-02RADEON: various avivo tv-out related clean-upsAlex Deucher
2008-01-02PLL/r600: tweak pll to pick first one found instead of keeping goingDave Airlie
2007-12-21RADEON: various cleanupsArkadiusz Miskiewicz
2007-12-21RADEON: re-org legacy crtc/output code into separate filesAlex Deucher
2007-12-21Merge remote branch 'origin/atombios-support'Dave Airlie
Conflicts: src/radeon_display.c src/radeon_driver.c
2007-12-18RADEON: more cleanups and warning fixesArkadiusz Miskiewicz
2007-12-18RADEON: fix another merge errorAlex Deucher
this broken legacy radeons
2007-12-18RADEON: more PLL tweaksAlex Deucher
2007-12-17RADEON: post div tweaks for legacy radeonAlex Deucher
2007-12-17RADEON: fix typo from mergeAlex Deucher
2007-12-17Merge branch 'master' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support merge master and fix conflicts
2007-12-17RADEON: more PLL fixesAlex Deucher
- reduce the calculation accuracy - certain LVDS panels seem to only like certain ref_divs - add pll flags to handle special cases - adjust the pll limits on legacy cards
2007-12-15RADEON: clean up units in PLL calculationAlex Deucher
2007-12-15radeon: Warning fixes.Michel Dänzer
The lid detection code probably wouldn't work on other non-x86 platforms though...
2007-12-14RADEON: Fix PLL set up on certain notebooksAlex Deucher
Some LVDS panels require specific PLL dividers as specified in the bios tables. Make sure to use them if the output is LVDS.
2007-12-13RADEON: rework PLL calculationAlex Deucher
- Take into account the limits from the bios tables - Unify the PLL calculation between legacy and avivo chips
2007-12-12Merge branch 'master' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support merge and fix conflicts
2007-12-12RADEON: fix rotation on avivo chipsAlex Deucher
There are still some issues, but this is better than before.
2007-12-11sparse fixes and cleanups from arekmArkadiusz Miskiewicz
2007-12-11Merge branch 'master' of ↵Alex Deucher
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support fix conflicts
2007-12-11RADEON: rewrite PLL computationAlex Deucher
Algorithm adapted from BeOS radeon driver with some tweaks by me. Actually calulate and use the reference divider rather than using the bios default. Also, always calculate the PLL, rather than falling back to bios dividers. This should fix bugs 12913, 13590, 13533, possibly others.
2007-12-10Merge branch 'zaphod-lolz' of ↵Dave Airlie
git://git.freedesktop.org/git/xorg/driver/xf86-video-ati into atombios-support Conflicts: src/radeon.h src/radeon_crtc.c src/radeon_driver.c src/radeon_output.c
2007-12-07radeon: bring back zaphod all is forgiven.Dave Airlie
You've whined, you've cried, you've nagged, and you're guilt trippin has made me do it... It actually wasn't as hard as I thought it would be. Still not perfect, couple of things to fix yet
2007-12-07radeon: move savedreg/modereg into entity instead of infoDave Airlie