summaryrefslogtreecommitdiff
path: root/src/legacy_output.c
AgeCommit message (Collapse)Author
2010-08-23radeon: fix legacy lvds dpms sequenceAlex Deucher
Take from my kms commit. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=19459 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-06-21Convert x(c)alloc/xfree to m/calloc/free.Michel Dänzer
Fixes deprecation warnings with xserver master and should also work with older xservers.
2010-01-04radeon: fix LVDS power sequence on Mac cardsAlex Deucher
Noticed by John R. Dunning. Fix taken from radeonfb. I'm not sure if this sequence would be useful on any PC laptops or not so make it mac specific for now.
2009-10-06radeon: Fix duplicated bit settingsRoel Kluin
[agd5f: adapted from kms patch] Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-01radeon: add some notes about DVO setupAlex Deucher
2009-04-23r2xx/r3xx/r4xx: further i2c fixupsAlex Deucher
- hw i2c engine has pin selection on r2xx/r2xx/r3xx chips - also switch hw i2c pin sel for external tmds
2009-04-04DCE3/3.2: fix up transmitter/encoder setupAlex Deucher
Should fix bug 21050
2009-02-03Fix encoder accountingAlex Deucher
Should fix bug 19924
2009-01-28Move encoder specific data to encoder dev_privAlex Deucher
2009-01-26Warning fixesAlex Deucher
2009-01-26Move legacy output setup functions to legacy_output.cAlex Deucher
2009-01-26Additional output cleanupAlex Deucher
2009-01-23Remove OutputType and other cruftAlex Deucher
2009-01-23track encoder stateAlex Deucher
2009-01-23Remove TMDSType, DACType, LVDSType from output recAlex Deucher
2009-01-21Fix logic cut and paste errorAlex Deucher
2009-01-21fix legacy crtc routing and add some debugging infoAlex Deucher
2009-01-21Switch legacy output code to use new encoder objectsAlex Deucher
2008-12-17Pre-avivo: fix FP setupAlex Deucher
- make sure to clear various shadow timing bits - crtc1 select bit was set wrong. - should fix bugs like 19100
2008-08-08Further cleanup and unification of i2c codeAlex Deucher
- unify the ddc and i2c code - add gpio mask support for legacy chips - remove the magic gpio dance for ancient monitors (if you have an ancient monitor that ddc stops working on let me know). This should speed up DDC on legacy chips. -- radeon sw gpio i2c -- 4 sets of gpio registers for clk and data and corresponding bit masks mask - locks the gpio for use by sw get - reads the value off the gpio pad put - sets the gpio direction to output a - "other stuff" On legacy chips you clear them if you want to use a gpio for i2c. In some cases they are used for the output value when the gpio in the output state.
2008-08-05IGP: attempt to get external TMDS workingAlex Deucher
RS4xx chips have a tmds init table in the mobile info table
2008-07-19Add oem quirk for external tmds setup on Dell Inspiron 8600Alex Deucher
Noticed by fnord42 on IRC.
2008-06-27Revert "IGP: attempt to fix VGA on IGP chips"Alex Deucher
This reverts commit e78e8a21b4040cd7f1983c241c860d9209398396.
2008-06-24IGP: attempt to fix VGA on IGP chipsAlex Deucher
VGA has never worked on some IGP chips. While the chip only has one DAC, it appears to use a mix of Primary DAC and TVDAC controls. See bug 15708
2008-05-20Change RMX code to follow the programming algorithm suggested by ATI.Egbert Eich
ATI provides the following algorithm to calculate the RMX scaling ratios in its programming specs: when RMX_AUTO_RATIO_HORZ_INC set to 1,Horizontal auto ratio result trucated, and then incremented by 1. Horz_Ratio = ( ((Active display width in characters (including overscan) + 1) / (Panel width in characters)) x 4096 + 1 ) else Horz_Ratio = ( ((Active display width in characters (including overscan)) / (Panel width in characters)) x 4096 + 1 ) when RMX_AUTO_RATIO_VERT_INC set to 1, Vertical auto ratio result trucated, and then incremented by 1. Vert_Ration = ( ((Active display width in characters (including overscan) + 1) / (Panel width in characters)) x 4096 + 1) else Vert_Ration = ( ((Active display width in characters (including overscan)) / (Panel width in characters)) x 4096 + 1) This patch implements this behavor. Additionally it avoids the use of floats.
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-27RADEON: decrease crtc/output verbosityAlex Deucher
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-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-02-12RADEON: make sure we always set up the FP crtc shadow registers for crtc0Alex Deucher
The behavior changed when I added rmx center mode support. In cases where crtc0 drives a DAC this can lead to a blank screen.
2008-02-10RADEON: Implement proper (hopefully) BIOS/DRIVER interaction for COM biosAlex Deucher
Tested on my M10-based laptop.
2008-02-03RADEON: rework i2c handlingAlex Deucher
Split out clk, data, and lock regs and masks. some cards use different regs and masks for each. For cards with ATOMBIOS, use the i2c bios table to grab the i2c data.
2008-02-01RADEON: don't restore LVDS_PLL_CNTL for nowAlex Deucher
seems to cause problems with resume for some users. this needs further investigation. see bug 12596
2008-02-01RADEON: remove redundant RADEONDisableDisplays()Alex Deucher
use RADEONBlank() instead
2008-02-01RADEON: Implement "center" mode for RMX on legacy radeonsAlex Deucher
2008-01-19RADEON: get dac2 adj values from the bios tablesAlex Deucher
2008-01-17RADEON: use radeon_output->Flags for tracking RMX rather than mode->FlagsAlex Deucher
2008-01-09RADEON: fix crtc routing on r4xx cards when using atom to init DVO chipKristian Høgsberg
2008-01-09RADEON: restore FP2 regs before external encodersAlex Deucher
This may fix krh's dvi problem
2007-12-26RADEON: fix typo that broke tv load detectionAlex Deucher
2007-12-21RADEON: various cleanupsArkadiusz Miskiewicz
2007-12-21RADEON: clean up prototypesAlex 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