summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
AgeCommit message (Collapse)Author
2007-10-11RADEON: small cleanup from last commitAlex Deucher
2007-10-11RADEON: tell the bios not to muck with the hardware while the driver is activeAlex Deucher
by toggling the appropriate bios scratch regs you can tell the bios not the touch the hw while the driver is active. This should prevent the bios from scrambling the hardware when users open the lid or toggle bios hotkeys. fixes bug 12567
2007-10-09RADEON: fix console restore on netbsdMatthieu Herb
Include the mode restore bugfix from monolithic Xorg, that is derived from the version in xsrc which in turn was provided by Matthieu Herb over 3 years ago on the XFree86 lists. Suggested by various developers, hold-back due to the working state in xorg-server 1.1.1. Tracing down the exact change showed that the changed default color depth made this issue a lot more prominent again. Discussed with Eric Anholt.
2007-10-07RADEON: still more LVDS fixesAlex Deucher
Seems some laptops need the native mode from the bios for LVDS while others seem to prefer a CVT mode. Add an option to pick the preferred mode. The default it to use the bios table timing.
2007-10-05RADEON: rename to PCI_CHIP_RS485_5975 everywhereTormod Volden
RS482_5975 is actually RS485. see bug 12048
2007-10-05RADEON: Disable DRI by default for RS482 cardsTormod Volden
fixes bug 12048
2007-10-04radeon: Fix for pci-rework.Michel Dänzer
Surprisingly easy, thanks to George's pci-rework changes.
2007-10-03RADEON: remove some cruftAlex Deucher
2007-10-03RADEON: more fixes for single crtc chipsAlex Deucher
2007-10-03RADEON: remove RADEONSaveMode()Alex Deucher
It's only called by RADEONSave(), so just move its contents into RADEONSave(). this mirrors RADEONRestore().
2007-09-30RADEON: add support for ext tmds table and ext tmds chip initAlex Deucher
This probably won't work on all chips as the various gpio lines seem to need special magic to to actually talk to the i2c slave chips.
2007-09-28rc410: disable DRI by default due to it not workingDave Airlie
2007-09-27radeon: EXA pitch fixes.Michel Dänzer
The combined pitch/offset registers only support pitches up to 16320 bytes. With EXA >= 2.3, set the maxPitchBytes field accordingly. With older versions, limit maxX such that the pitch of 32bpp pixmaps doesn't exceed the limit. Also check the limit in RADEONGetOffsetPitch just in case. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12551 .
2007-09-23RADEON: fix up LVDS handling for r3xx and newerAlex Deucher
2007-09-20RADEON: round 3 on the PLLs. should fix the LVDS issuesAlex Deucher
2007-09-19Revert "RADEON: initial pass at external TMDS support"Alex Deucher
This reverts commit 4000a710c93dd2d82891e4082bc7fa922ba9c5f4. This needs to be reworked and needs more soak time. so revert for now.
2007-09-18RADEON: fix plls againAlex Deucher
previous fix seemed to break other chips. Lets see how this goes.
2007-09-18RADEON: Remove more mergedfb cruftAlex Deucher
2007-09-18RADEON: adjust pll restoreAlex Deucher
some chips seem to be pickier than others. fixes bug 12467
2007-09-18RADEON: note that MergedFB support has been replaced with randr 1.2Alex Deucher
2007-09-17RADEON: initial pass at external TMDS supportAlex Deucher
- Based on Dave Airlie's initial work and the dvo support in the intel driver. - Only sil164 is supported at the moment. - Once we get some testing and such, we ought to move the dvo drivers out of the drivers so they can be shared among all drivers - Doesn't seem to work on my card (r4xx ATOM) card ATM - Legacy bios table programming sequence not implemented yet
2007-09-15RADEON: don't restore bios scratch regsAlex Deucher
Leave them as programmed by the bios fixes bug 12424
2007-09-01RADEON: automatically disable tiling if requested virtual desktop exceeds ↵Alex Deucher
surface limits Also, tweak default desktop sizes and add some informational messages
2007-08-30radeon: Fix Option "MacModel".Sjoerd Simons
2007-08-30radeon: Don't build currently unused RADEONSavePalette.Michel Dänzer
2007-08-29RADEON: Add quirk and connector tables for apple laptopsAlex Deucher
As far as I can tell there are three apple laptop variants: ibook - LVDS, TVDAC drives TV or VGA via dongle powerbook-duallink - LVDS, TV, External TMDS/Primary DAC powerbook - LVDS, TV, Internal TMDS/Primary DAC use Option "MacModel" "<string>" to enable the appropriate quirks where string is one of the above We can't yet init the external TMDS directly, but if OF inits it, it should work. This should also fix bug 9955. Please test!
2007-08-28RADEON: add option to force tmds pll to default tableAlex Deucher
Also rework the tmds pll output attribute handling a bit
2007-08-26RADEON: fix depth 16 palette for real this timeAlex Deucher
2007-08-25RADEON: remove fbdev optionAlex Deucher
FBDev support is currently broken, and it not really compatible with randr
2007-08-2464 bit warning fixes.Michel Dänzer
For printf vs. CARD32, use %u or %x and and a cast to unsigned.
2007-08-23RADEON: set (hopefully) reasonable default max desktop sizesAlex Deucher
Based on the amount of vram. We really need ttm...
2007-08-23radeon: Sane handling of timeouts in WaitForVerticalSync(2).Alon Ziv
RADEONWaitForVerticalSync() and RADEONWaitForVerticalSync2() need to wait for a timeout specified in milliseconds; looping around usleep() causes the timeout to be unnecessarily long, as the OS may sleep longer than requested (on Linux the minimum actual sleep value may be several ms). The new logic uses gettimeofday() in the loop to see when the (absolute) timeout has arrived. Signed-off-by: Alon Ziv <alonz@nolaviz.org>
2007-08-23radeon: Restore memmap registers even if only AGP location changed.Michel Dänzer
2007-08-23radeon: bug 11899 + debian 435040 - test for usefbdev before calling int10Dave Airlie
(cherry picked from commit 3334c247540b113f9c4a5ce1879d8648a45a959a)
2007-08-23radeon: cleanup some warningsxf86-video-ati-6.7.191Dave Airlie
2007-08-23Merge remote branch 'origin/randr-1.2'Dave Airlie
2007-08-23Merge branch 'master' into randr-mergeDave Airlie
Conflicts: src/radeon.h src/radeon_bios.c src/radeon_display.c src/radeon_dri.c src/radeon_driver.c src/radeon_modes.c src/radeon_probe.h src/radeon_video.c
2007-08-21RADEON: more tv out fixes and clean upAlex Deucher
2007-08-20RADEON: Add DefaultConnectorTable optionAlex Deucher
This option skips the parsing the BIOS connector table and falls back to chip specific defaults. Also remove man page section for the now gone bioshotkeys option.
2007-08-15RADEON: Remove RADEONRestoreMode()Alex Deucher
Since we no longer use it to write modes all it did was restore some of the regs for a console restore. Just move the relevant bits into RADEONRestore() and remove it.
2007-08-15RADEON: fix console restore on r3xx and r4xxLisa Wu
When restoring the console we need to: 1) we need to restore DAC registers after all other registers are restored and CRTCs are enabled. 2) we need to enable CRTC2 registers before CRTC1 registers
2007-08-04Clean up PortInfo to CRTC mappingLuc Verhaegen
Also sanitise blanking and DPMS functions Fixes from Novell Bug 264720, and fd.o 10772
2007-08-02RADEON: avoid a divide by 0 and only save tv out regs if the chip has themAlex Deucher
2007-08-02RADEON: fix tv-out enable/disableAlex Deucher
2007-08-01RADEON: convert hard coded tv out values to calculationsAlex Deucher
2007-07-31RADEON: more fixes...Alex Deucher
2007-07-31RADEON: tv-out fixes. works now. tested on rv350.Alex Deucher
VT siwtch is busted, and xrandr doesn't play nice yet. uncomment code in radeon_output.c to test.
2007-07-29RADEON: Initial pass at integrated tv out supportAlex Deucher
Based on the GATOS tv-out support by Federico Ulivi <fulivi@lycos.com> and information from ati with substantial rework by myself. Code is not actually hooked up yet.
2007-07-25RADEON: Compute PLL VCO gainAlex Deucher
2007-07-25RADEON: write out saved vclk and pixclk valuesAlex Deucher