summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
AgeCommit message (Collapse)Author
2009-06-06Now automatically raises Xserver sched prio for single processor systems.upstream-lenny-with-frc-patchesThomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06New options for xorg.conf, bug fix in radeon DRM.Thomas Hilber
- made 'git clone git://anongit.freedesktop.org/git/mesa/drm' obsolete - introduced new xorg.conf options for both intel and radeon FRC patches - FRC (aka sync_fields) switch (default on) - process priority (default 0) - FRC debug output (default off) - fixed a driver bug in radeon DRM with possible cause of crash - removed code looking for lost VBLANK interrupt in radeon DRM. This issue has been fixed by standard lenny kernel. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
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-02Interlaced mode fixups for AVIVO chipsAlex Deucher
(cherry picked from commit b0378bb145c8a915c943bef7d17f2cdecfccc891)
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-02atombios: 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.. (cherry picked from commit 61f82ace0210251beb0bcc492218a75a193e1deb)
2008-06-20r600: don't add fb offset here to make shadowfb work.Dave Airlie
discovered on irc with wpwrak.
2008-06-05radeon: fix typo in memory calcsDave Airlie
noticed by ghepeu on irc.
2008-06-03Call DRM_IOCTL_MODESET_CTL ioctl to avoid problems with DRM post vblank-rework.Michel Dänzer
2008-05-30RADEON: update RADEONGetVRAMType() for newer chipsAlex Deucher
2008-05-30RADEON: add Int10 optionAlex Deucher
On some radeons you can't read the bios without initializing int10. On ATOM-based secondary cards, intitializing int10 tends to hang the card.
2008-05-28ATOM: fail of we are not able to get a bios imageAlex Deucher
2008-05-27RADEON: improve support for secondary cardsAlex Deucher
this should fix bugs 16115, 16035
2008-05-28radeon: fix surface access on avivo chips.Dave Airlie
This should fix VT switch on vesafb
2008-05-27r600: fix vt switch issueMichael Babej
RH BZ 441492
2008-05-14Add RS600 supportAlex 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-13Reinstate CARD* types that are part of external interfaces.Michel Dänzer
The compiler pointed this out...
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-05-12RADEON: fix lockup on startAvi Rozen
see debian bug 480312
2008-05-12radeon: rs485 vs rs485m.. mobile? non-mobile? bi?Dave Airlie
So it appears we have in the wild two chipsets with the same PCI ID (0x1002:0x5974) that are mobile and non-mobile. the RH bug references is a desktop system. The Dell Vostro 1100 also has this chipset with LVDS bits.
2008-05-07radeon: zaphod fixes for pciaccess not allowing multiple MMIO mapsDave Airlie
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-04-14R300+: properly setup vap_cntlAlex Deucher
this fixes tcl/pvs on RV515 among other things
2008-04-10RADEON: store tcl status in driver recAlex Deucher
2008-04-04ATOMBIOS: Add support for DynamicClocks optionAlex Deucher
This patch adds support for dynamic clock gating and static power management using the atom command tables. In some cases the bios may already set this up during post, so YMMV. I was only able to test on desktop cards, so I haven't tested to see how much (if any) power this saves or how it affects the thermal footprint.
2008-04-03Minor cleanupAlex 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-03Revert "RADEON: remove driver rec copies of mc info, use save rec directly"Alex Deucher
This reverts commit be0858a84fbdf74c0b844f462933a221d48c707d. Conflicts: src/radeon_driver.c
2008-03-27RADEON: fix lid issues on AVIVO chips for real this time :)Alex Deucher
2008-03-27Revert "RADEON: attempt to fix lid issues"Alex Deucher
This reverts commit 9b4473c1d830b88866dd22e8174a07195bd6fcf4. This doesn't help.
2008-03-26AVIVO: no need to call PreinitXv() on AVIVO chips as they have no overlayAlex Deucher
2008-03-26RADEON: attempt to fix lid issuesAlex Deucher
On some laptops the bios attempts to re-program the chip when a lid event comes in. This should hopefully prevent the bios from doing that.
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-17RADEON: Revert to old behavior when resetting the memmap on VT switchAlban Browaeys
Not sure why this needs to be done twice. Should fix bug 14980 Probably needs more investigation.
2008-03-17RADEON: fix typo in RADEONAdjustMemMapRegisters()Alex Deucher
2008-03-17RADEON: make sure var is initialized properly in RADEONAdjustMemMapRegisters()Alex Deucher
2008-03-11RADEON: fix vblank interrupts after VT switch or suspend/resumeAlex Deucher
2008-03-07RADEON: Fix crash in last commitAlex Deucher
2008-03-06Merge branch 'master' of ↵Alex Deucher
ssh://agd5f@git.freedesktop.org/git/xorg/driver/xf86-video-ati
2008-03-06AVIVO: fix up memsize detection for IGP chipsAlex Deucher
2008-03-06Bug #14826: Fix a bogus check around xf86SetOperatingState.Doug Chapman
2008-03-06Merge branch 'master' of ↵Adam Jackson
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-ati
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-05AVIVO: Initial support for DCE 3.0 using atombiosAlex Deucher
DACs are working well, DIG support (DVI, HDMI, LVDS, etc.) still has some issues.
2008-03-02[PATCH] Ensure symbols used by other modules are visible.Paulo Cesar Pereira de Andrade
The xf86-video-ati drivers are one of the cases where LoaderSymbol is widely used in some obscure ways. This patch fixes the problem, and allows compiling with -fvisibility=hidden.
2008-03-01RADEON: use xf86SetDesiredModes() in screeninit and enterVTAlex Deucher
this should restore the proper output state on VT switches
2008-03-01RADEON: remove driver rec copies of mc info, use save rec directlyMaciej Cencora
info->mc_* were used and the immediately copied into info->ModeReg ones. Just use the ModeReg copies directly.
2008-03-01RADEON: memmap rework 1Alex Deucher
Don't restore memmap regs on every mode switch. Just do memmap save/restore/setup on server start and VT switch.
2008-03-01RADEON: only restore legacy dac regs on legacy radeonsAlex Deucher