summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
AgeCommit message (Collapse)Author
2010-12-03Add missing call to vbeFree (bug 4417)Matt Turner
Also kill unneeded vbe.h include from radeon_bios.c. Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-06-30remove rv100 quirkAlex Deucher
Some RV100 cards with 2 VGA ports show up with DVI+VGA, however some boards with DVI+VGA have the same subsystem ids. Better to have a VGA port show up as DVI than having a non-useable DVI port. reported by DHR in irc. 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.
2009-11-11radeon: fix support for external tmds on some legacy chipsAlex Deucher
Should fix bug 11801. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-21ATOM: fix up get clock infoAlex Deucher
Newer revisions of the atom firmware table have changed. This helps select better pll dividers in some cases. Noticed by Mathias Froehlich.
2009-05-14radeon: try harder when checking if a card is postedAlex Deucher
fixes debian bug 524280, possibly others.
2009-05-08R7xx: add support for reading disabled bios imagesAlex Deucher
2009-03-31COMBIS: Clarify case 0 for LCD DDC tableAlex Deucher
2009-03-31COMBIOS: fix default sclk/mclk from biosAlex Deucher
2009-01-28Move encoder specific data to encoder dev_privAlex Deucher
2009-01-23Remove TMDSType, DACType, LVDSType from output recAlex Deucher
2009-01-21Fixup encoder setup on pre-ATOM chipsAlex Deucher
2009-01-21clean up encoder setupAlex Deucher
- make sure not to duplicate encoders - use single encoder array
2009-01-20First pass at converting legacy code to encoder objectsAlex Deucher
2009-01-06ATOM: rework encoder/transmitter setupAlex Deucher
2008-12-01Add quirk for r200 card with the primary dac wired to both portsAlex Deucher
refactor load detection setup as a byproduct should fix bug 18719
2008-11-24Fix up posted logicAlex Deucher
noticed by benh on IRC
2008-11-24Get hardcoded edid from the bios for servers that support itAlex Deucher
should fix bug 11300
2008-11-06Check for LVDS on all IGP chipsAlex Deucher
- fixes bug 18395
2008-10-06Refactor atom LCD/DFP output setupAlex Deucher
Simplify the code, properly handle dithering, coherent mode, encoding, etc. Should fix bug 17897.
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-08Fix VT switching on M6 chipsAlex Deucher
Some M6 chips have a faulty MEM_SIZE register that in some cases reports 0 on 8 MB cards. On EnterVT we check the MEM_SIZE reg as a check to see if the card is posted or not. Since this reg returns 0, the driver attempts to post the card which can lead to a hang. Switch this to check if either crtc is active as is done in the bios init code. fixes bug 13994
2008-08-07RS4xx DDC fixes take 3Alex Deucher
2008-08-06RS4xx: Fix up ddc gpioAlex Deucher
- I mixed up the regs previously
2008-08-05IGP: fix typo in IGP quirk handlingAlex Deucher
2008-08-05IGP: attempt to get external TMDS workingAlex Deucher
RS4xx chips have a tmds init table in the mobile info table
2008-08-05IGP: Updated quirk handlingAlex Deucher
- Hopefully finally fix DDC on RS4xx chips - RS3xx/RS4xx do not have internal TMDS - general quirk handling cleanup - we don't currently support mm gpio for external TMDS so return false.
2008-07-28Add quirk for oem x300 cardAlex Deucher
- debian bug 492457
2008-07-17Fix console switch on R500Benjamin Herrenschmidt
This patch fixes the console switch for me on R5xx. There are two aspects to it: - Fix the ordering of avivo_restore() to better match what's happening in the driver & ATOM, properly locking/unlocking and only enabling the CRTCs after everything has been properly programmed. - Don't ASIC_INIT if the card has any CRTC enabled. This is the best I came up with for avoiding spurrious ASIC_INIT on cards that -are- POSTed but don't have the BIOS coming from c0000 on x86. The problem with spurrious ASIC_INIT is that we do it before we do RADEONSave(), so that screws up the console switch. Note that I think we also should save/restore the palette, I don't think we do. right now, it's a minor issue for me because I fixed offb to be able to set it on AVIVO's but it might still have to be done in the long run. Tested with a VGA analog setup on DACA and a DVI setup on TMDS 0. I haven't tested any other combo but that should get us going. Cheers, Ben. Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-07-15ATOM: fix for r4xx cards with no VRAM_Usage tablesAlex Deucher
fixes bug 15954
2008-06-27RADEON: IGP VGA fixes take 2Alex Deucher
It seems only RS300/350/400/480 are missing the primary dac See bug 15708
2008-05-29RADEON: don't enable legacy bios table based init yetAlex Deucher
Needs more work and we need to figure out how best to decide when to use it.
2008-05-28RADEON: only attempt to read vbios from legacy ISA space if it's primaryAlex Deucher
2008-05-27RADEON: improve support for secondary cardsAlex Deucher
this should fix bugs 16115, 16035
2008-05-27ATOM: remove duplicate codeAlex Deucher
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-04RADEON: add some quirksAlex Deucher
2008-03-31radeon: split quirks into separate function and new quirk for IBM RN50Dave Airlie
Add a connector table quirk for the IBM RN50.
2008-03-27radeon: size bios to max of bar vs 64k.Dave Airlie
reported by dwmw2: rhbz 438299
2008-03-06RADEON: option to override TVDAC adj values from bios with driver defaultsAlex Deucher
If you have a washed out image on the tv dac, try this option. Option "DefaultTVDACAdj" "TRUE"
2008-03-05RADEON: fix fetching of dac2 adj values from newer bios tablesAlex Deucher
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-01-20RADEON: re-work i2c for DDCAlex Deucher
Unify the radeon/avivo paths and grab the data/clk masks from bios if available
2008-01-19RADEON: get dac2 adj values from the bios tablesAlex Deucher
2008-01-19RADEON: grab pll_in_min/pll_in_max from bios tables if availableAlex Deucher
2008-01-10RADEON: clean up output handlingAlex Deucher
2008-01-05RADEON: Fix TVStandard optionAlex Deucher
2007-12-30atombios: add support for reading tv standard from atombiosDave Airlie
fix typo in atombios header file
2007-12-21RADEON: various cleanupsArkadiusz Miskiewicz