summaryrefslogtreecommitdiff
path: root/src/radeon_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-03-05radeon: disable frac fb div with new pll codeAlex Deucher
fixes fdo bug 26897
2010-02-26Use/define RADEON_GPU_PAGE_SIZE instead of sprinkling 4096 everywhere.Matt Turner
Also, define RADEON_BUFFER_ALIGN in terms of it, and replace some RADEON_ALIGN(x, RADEON_BUFFER_ALIGN) with RADEON_ALIGN(x, RADEON_GPU_PAGE_SIZE) since this is really what was intended. CC: Jerome Glisse <jglisse@redhat.com> CC: Alex Deucher <alexdeucher@gmail.com> CC: Dave Airlie <airlied@redhat.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-02-22AVIVO: set frac fb divider pll flagAlex Deucher
matches previous behavior
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-15Allocate Xv buffers to GTT.Pauli Nieminen
KMS doesn't have acceleration for upload to vram. memcpy/memmove to VRAM directly is very slow (40M/s in benchmark) which causes visible problems to video. Allocating video buffer in GTT will give good performance (350-450M/s) for memmove operation. This is nice performance boost for Xv under KMS. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2010-02-01evergreen: add atombios crtc/pll functionsAlex Deucher
2010-02-01evergreen: add crtc set base/format supportAlex Deucher
2010-02-01evergreen: add lut supportAlex Deucher
2010-02-01evergreen: add base asic supportAlex Deucher
2010-01-27radeon: minor pll updatesAlex Deucher
add new fixed post divider option
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-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-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-27AVIVO: disable fractional feedback divsAlex Deucher
Doesn't seem to work well in all cases. Needs more investigation. fixes bug 21413
2009-04-23radeon: minor cleanup and warning fixAlex Deucher
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-16Revert "DCE3/3.2: cleanup dpms after previous changes"Alex Deucher
This reverts commit f8c7d6a6162196a743f6885ecaf63ba50de1722a. This is apparently still needed for some setups, however, I can't reproduce this locally anymore.
2009-04-04DCE3/3.2: cleanup dpms after previous changesAlex Deucher
2009-03-13radeon: add support for 30 bit LUTsAlex Deucher
All radeons have them. Thanks to Yang Zhao for figuring this out.
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-03Rotation: don't rotate if acceleration is not activeAlex Deucher
2009-02-26Merge branch 'r6xx-r7xx-support' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
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-03Allow rotation on r6xx/r7xxAlex Deucher
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.