summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
AgeCommit message (Collapse)Author
2008-07-29Increase default GART size to 32MB on >=R300Brice Goglin
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-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-13Only declare local variable when it's used.Michel Dänzer
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-07-08rv770 initial supportDave Airlie
adds pci ids and one register from AMD code
2008-07-04Revert "rotate: fix rotation in conf file."Alex Deucher
This reverts commit 22c6ca0d5d226c725ba448e5db63fdba9e32332c. There seems to be an ordering issue in that causes a nasty hang if the DRI is enabled. This needs more investigation.
2008-07-03rotate: fix rotation in conf file.Dave Airlie
need to set modes after init accel architecture reported-by: Christoph Bartoschek <bartoschek@or.uni-bonn.de>
2008-07-03radeon: drop all use of CPMode.Dave Airlie
We never test the other codepath and I don't think I've ever recommended it for anyone.
2008-06-30RS4xx: enable the DRI by default on all variantsAlex Deucher
Some RS4xx chips had the DRI disabled by default. With the recent drm and ddx changes these chips have been reported to work now with the DRI.
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.