summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
AgeCommit message (Collapse)Author
2008-08-26Fix 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 (cherry picked from commit 268c848130ec1770bb645a74197b6aca7fc95abc)
2008-08-02Add quirk for oem x300 cardAlex Deucher
- debian bug 492457 (cherry picked from commit d5799ac53c3e1b2ca1da97780b171a44060c3aad)
2008-08-02Fix 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> (cherry picked from commit df53d12a06fad41f00cff849458cb358ab5e2098)
2008-08-02ATOM: fix for r4xx cards with no VRAM_Usage tablesAlex Deucher
fixes bug 15954 (cherry picked from commit e8c07270e1fc2ee455320370692aaf90abac2773)
2008-08-02RADEON: IGP VGA fixes take 2Alex Deucher
It seems only RS300/350/400/480 are missing the primary dac See bug 15708 (cherry picked from commit cfaa23d925e3c062cf87ea844566ac11ea02d69e)
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
2007-12-21RADEON: clean up prototypesAlex Deucher
2007-12-21set ddc line correctly post-mergeDave Airlie
2007-12-21Merge remote branch 'origin/atombios-support'Dave Airlie
Conflicts: src/radeon_display.c src/radeon_driver.c
2007-12-19RADEON: add support for legacy radeons with DVI and no connector tableAlex 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-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-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-10RADEON: bios PLL cleanupAlex Deucher
2007-12-01RADEON: convert atombios connector table parsing to use ATOM structsAlex Deucher
convert and add hpd info
2007-11-23atombios: add initial object header parsing for r600 cardsDave Airlie
2007-11-21RADEON: store devices ids from bios for each driver outputAlex Deucher
2007-11-20RADEON: fixup for bios tables with wrong connector typesAlex Deucher
2007-11-20RADEON: switch to using ATOM defines for bios device tableAlex Deucher
2007-11-19fix logic in connector table check for TVs and switch counter to symbolic namesAlex Deucher
2007-11-19Don't assign a gpio for TVAlex Deucher
2007-11-19CRTs/DFPs may share a DVI port, but TV and CV don'tAlex Deucher
2007-11-18fix typo in loopAlex Deucher
2007-11-18RADEON: unify connectortype handlingAlex Deucher
2007-11-18RADEON: unify DDC line handlingAlex Deucher
2007-11-17WIP: more new ATOM integration workAlex Deucher
2007-11-16WIP: sync up with the latest ATOM bios code in rhdAlex Deucher
doesn't compile ATM
2007-11-11fix from last commitAlex Deucher
2007-11-11Add full parsing support for atom bios connector tableAlex Deucher
2007-11-09combine outputs based on idAlex Deucher