summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-11-15RADEON: set proper defaults for tv dac BGADJ/DACADJAlex Deucher
we should get these values from the bios tables, but for now use some reasonable defaults. This should fix the washed out color problems on bugs 1082 and 12844.
2007-11-15RADEON: Make sure we set the MT properly for connected status unknownAlex Deucher
2007-11-13ignore sometime bogus agp_mode bit from chip (bug #13190)Roland Scheidegger
bit is wrong on at least X700 cards with rialto pcie-agp bridge chip, should be safe to use just the bit from the bridge hopefully to make agp setup work on these cards and not adversely affect others.
2007-11-05radeon: Use indirect register access for (un)hiding the cursor.Michel Dänzer
This avoids hangs that occur when touching these registers while the card is busy with some cards.
2007-11-05radeon: Fix build warning on powerpc.Michel Dänzer
2007-11-05Revert "radeon: Reinstate sync in radeon_crtc_show/hide_cursor."Michel Dänzer
This reverts commit 0241cac643fa1c08a45ea44f5c670b290e760ad8. Taking the DRI lock in paths called from the SIGIO handler isn't safe. For example, the SIGIO handler may be called while the lock is held by an AIGLX context, resulting in deadlock. See e.g. https://bugs.freedesktop.org/show_bug.cgi?id=13005 .
2007-10-28Fix typo in 'disposing cursor'Brice Goglin
Bug #12984.
2007-10-27RADEON: disable FP DETECT for DVI.Alex Deucher
These bits don't seem to be reliable or routed right in all cases.
2007-10-25RADEON: Fix IgnoreEDID optionAlex Deucher
2007-10-25RADEON: clean up mode handling and improve reliability of DDCAlex Deucher
- Reduce the number of times we do DDC and don't skip the magical GPIO dance when doing DDC. - If no DDC modes are found, add the screen modes
2007-10-25RADEON: Add driver option to force TV DAC load detection onAlex Deucher
2007-10-18RADEON: fix possible crash in radeon_crtc_mode_set()Alex Deucher
when radeon_crtc_mode_set() is called during ScreenInit(), we don't have pScrn->pScreen yet.
2007-10-17RADEON: Remove LVDSBiosNativeMode OptionAlex Deucher
Shouldn't be needed any longer as I've finally sorted out the LVDS issues due to the crtc setup.
2007-10-16RADEON: finish fixing LVDS/RMXAlex Deucher
For panels, both the mode and crtc values need to be updated based on the native mode timing. This shoudl fix any remaining problems with RMX.
2007-10-16radeon: Handle 64 bit PCI resource bases better.Michel Dänzer
2007-10-15RADEON: allow the user to set any tv standardAlex Deucher
allow the user to set any tv standard rather than limiting it to what the bios says is supported.
2007-10-15RADEON: use native timing for RMXAlex Deucher
RMX should work again with native timings after the previous patch.
2007-10-15RADEON: Fix subtle change in crtc reg initAlex Deucher
At some point we changed how hsync_wid and vsync_wid were clipped. Previously we used the field size as a mask when building the register. This got changed to setting the value to the field size if it was greater. this probably explains number stange mode bugs.
2007-10-13radeon: Improve detection of default value for Option "MacModel" on Linux.Michel Dänzer
* Detect all PowerBooks with dual link DVI (according to developer.apple.com) and both Mac Mini G4 models. Other PowerBooks and iBooks should be covered by the 'detected as' line in /proc/cpuinfo. * Give specific instructions for overriding and reporting incorrect detection. * Only perform detection when Option "MacModel" isn't present with a valid value. * Close /proc/cpuinfo file handle when done with it. * Coding style cleanups.
2007-10-13radeon: Derive default value of Option "MacModel" from /proc/cpuinfo on Linux.Eugen Dedu
2007-10-11RADEON: return status unknown for flaky chip/connector combinationsAlex Deucher
This should at least get something on the screen. XPRESS chips, I'm looking in your general direction...
2007-10-11RADEON: fix potential crash in mode handlingAlex Deucher
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-10RADEON: attempt to detect lid status on legacy biosAlex Deucher
I'm not sure how reliable this is. The lid closed bit only seems to be set if the lid is closed at boot so LVDS will default to on if you restart X with the lid closed after boot.
2007-10-10RADEON: more XPRESS connector table hacksAlex Deucher
Seems XPRESS desktop chips with DVI-D list a proprietary connector type rather than DVI-D. try and do the right thing. Also, XPRESS chips seem to include connector type 8 and ddc type 8 which are unknown at this time.
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-09include stdint.h to fix the build on some platformsLars Weiler
fixes bug 12733
2007-10-09theatre compiles with pci-rework.George Sapountzis
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-06radeon: add support for DDC type 6Dave Airlie
thanks to arekm on xorg-devel for testing/feedback
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 compile warnings.Michel Dänzer
2007-10-04radeon: Fix for pci-rework.Michel Dänzer
Surprisingly easy, thanks to George's pci-rework changes.
2007-10-04Merge remote branch 'origin/pci-rework'Michel Dänzer
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-10-03RADEON: minor fixes for external TMDSAlex Deucher
2007-10-03RADEON: final fix for RMX/LVDSAlex Deucher
It seems that on quite a few laptops the LVDS H/V timing from the bios tables are way off or just doesn't work period. Either we are using it wrong or we need some additional checks when we parse it. Only the dot clock seems to really matter, so use cvt modes and update the dotclock. This seems to work correctly in all cases.
2007-10-03RADEON: Finally sort out LVDS modesAlex Deucher
- The panel timing from the bios tables is for the crtc, not the native panel mode, so add cvt modes for the panel and fix up the crtc values in mode_fixup(). - rename and reconfigure RADEONValidateFPModes() to what it really does: add screen modes. I suppose for backwards compatibility we ought to add the screen modes to every reasonable output, but everyone should really use xrandr or an output monitor section to add custom modes. Hopefully this will go away at some point.
2007-10-02RADEON: fix RADEONInitDispBandwidth() on single crtc cardsAlex Deucher
Should fix bug 12490
2007-10-01radeon: fix powerpc buildDave Airlie
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-30RADEON: remove cruftAlex Deucher
2007-09-30RADEON: more work on LVDS mode validation and fixupsAlex Deucher
Hopefully this will fix up the weird mode issues with LVDS and native and RMX modes, but I can't seem to get quite the right combo to fix everyone.
2007-09-28rc410: disable DRI by default due to it not workingDave Airlie
2007-09-27radeon: Fix build on little endian platforms.Michel Dänzer
This was accidentally broken when moving away from using pixmap data pointers directly.
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 .