summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
AgeCommit message (Collapse)Author
2009-09-11Update to xextproto 7.1 support.Dave Airlie
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> Conflicts: src/drmmode_display.c
2009-05-08radeon: 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-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
2008-08-25Switch to using radeon_drm.h from the drmAlex Deucher
modelled after Matthias' similar rhd change
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-21Interlaced mode fixups for AVIVO chipsAlex Deucher
2008-07-14ATOM: Add support for UpdateCRTC_DoubleBufferRegisters cmd tableAlex Deucher
locks/unlocks the crtc/grph/mode regs before updating the crtc
2008-07-12atombios: use macro to get offset into tableDave Airlie
2008-07-08atombios: add support for other endians.Benjamin Herrenschmidt
This is a cleaned up (in as much as atombios can be..) of benh's patch. airlied - removed benh's debugging for now, it might need to be put back later..
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-05-24atombios: for LVDS set use ref div as per legacyDave Airlie
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-27RADEON: decrease crtc/output verbosityAlex Deucher
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-04-02atombios: fix the dual-head hopefully.Dave Airlie
tested on r600 with DVI and VGA
2008-04-02Revert "Revert "atombios: fixup the width/height to use the mode values not ↵Dave Airlie
the scrn ones"" This reverts commit fc9af578997b6f22ee8b17e83f37d98689291b0e. I see your revert and raise you one...
2008-04-01Revert "atombios: fixup the width/height to use the mode values not the scrn ↵Alex Deucher
ones" This reverts commit c2b1c8b706a6c7c1fd0af80091958473133d54e7. These registers hold surface size. Using the mode values breaks dualhead.
2008-03-30atombios: fixup the width/height to use the mode values not the scrn onesDave Airlie
this fixes it properly, legacy appears to be okay.
2008-03-30r500/r600: fix rotation to fill screenDave Airlie
I'm not 100% sure this is the correct fix (maybe we shouldn't be using scrn virtualX/Y)... this will fix it for now until I get more time.
2008-03-11[PATCH] Fix a few warningsMatt Turner
2008-03-11DCE3: adjust PLL for DCE3 chipsAlex Deucher
this fixes stability issues on digital outputs and certain modes.
2008-03-07AVIVO: clean up some unused variablesAlex Deucher
2008-03-06RADEON: fix tiling/interlaced interaction with randr 1.2Dave Airlie
2008-03-06DCE3.0: add support for crtc memreq tableAlex Deucher
2008-03-06DCE3.0: Minor fixupsAlex Deucher
2008-03-05AVIVO: Initial support for DCE 3.0 using atombiosAlex Deucher
DACs are working well, DIG support (DVI, HDMI, LVDS, etc.) still has some issues.