summaryrefslogtreecommitdiff
path: root/src/radeon.h
AgeCommit message (Collapse)Author
2007-10-04radeon: Fix for pci-rework.Michel Dänzer
Surprisingly easy, thanks to George's pci-rework changes.
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-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-22RADEON: preliminary support for mac miniAlex Deucher
Option "MacModel" "mini" may not be 100% correct yet
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: Remove more mergedfb cruftAlex 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-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-27RADEON: enable load detection for tvdac if output count for tvdac < 2Alex Deucher
2007-08-25RADEON: remove fbdev optionAlex Deucher
FBDev support is currently broken, and it not really compatible with randr
2007-08-24radeon: don't disable dac if either tv or vga is using itDave Airlie
On my rs480 I had to vt switch to get hotplug VGA working due to the tv-out code turning off the dac when the vga code was actually using it.
2007-08-23radeon: Remove unnecessary #include <time.h>.Michel Dänzer
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: Don't synchronize DRI windows between pages when possible.Michel Dänzer
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-16RADEON: fix Xv clipping and overlay sourcingAlex Deucher
- Basically just copied from the intel driver. I'm planning to push this to the server soon, but add it now to get things working and to provide compat for older servers. - Overlay crtc source control attribute now called XV_CRTC The old attribute XV_SWITCHCRT has been removed. If anyone cares, we can add it back as an alias to XV_CRTC XV_CRTC: -1 auto, 0 crtc0, 1 crtc1
2007-08-09AGPFastWrite risk reduction.Luc Verhaegen
Actively warn the user in the log about the effects of AGPFastWrite and sanitise AGPFastWrite handling while we're here.
2007-08-05RADEON: add tv out propertiesAlex Deucher
2007-08-05RADEON: Major rework of BIOS table parsingAlex Deucher
- greatly simplify ATOM and legacy connector table parsing - use bios tables to detect LVDS and TV outputs - add support for TV table parsing (legacy only)
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-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: write out saved vclk and pixclk valuesAlex Deucher
2007-06-29RADEON: save crtc on/off state for console restoreAlex Deucher
- prevents a possible hang if console is only using 1 crtc
2007-06-29RADEON: simplify console restoreAlex Deucher
- still need to track crtcs for blank/unblank when restoring text console
2007-06-19RADEON: Split FP reg restore to only touch regs relevant to the outputAlex Deucher
- only restore output specific regs - restore fp2_gen_cntl on R200 DAC restore as R200 DAC2 is connected via DVO
2007-06-06RADEON: implement support for posting cards based on x86 bios tables (untested)Alex Deucher
This is based on the netbsd radeonfb driver by Garrett D'Amore. The code is not hooked up yet, but should allow you to post cards without needing to execute bios code. This should be useful on non-x86 platforms, for posting secndary cards, and for suspend/resume. Works on legacy bioses only (no ATOM support).
2007-06-05RADEON: fixup RADEONDisplayVideo() to better handle the crtc being usedAlex Deucher
2007-06-03radeon: disable vbl interrupts when no 3d is running on a new enough drmDave Airlie
2007-06-03randr-1.2: add support for vblank on both headsDave Airlie
Also disable vbl when 3D isn't running
2007-05-30radeon: Lots of warning fixes.Michel Dänzer
Move code where it's used, remove unused variables, etc.
2007-05-30Merge branch 'origin' into randr-1.2-testDave Airlie
Conflicts: src/radeon_cursor.c src/radeon_display.c src/radeon_driver.c
2007-05-30rs480: more unknown regsDave Airlie
Hardcode the values from a working fglrx run, this works for me now I've no idea what it might do for anyone else
2007-05-29rs480: make second crtc work with magic number in magic register.Dave Airlie
I've no idea why or what this does.
2007-05-26RADEON: more rotation work (still not there)Alex Deucher
- once again borrowed heavily from intel
2007-05-23RADEON: add output properties (not functional yet)Alex Deucher
2007-05-22radeon: Provide new DRI texOffsetStart hook when available with EXA.Michel Dänzer
2007-05-21radeon: Suppress debugging output by default.Michel Dänzer
It can be enabled at runtime by increasing the log verbosity level. Also change the prefix from (**) to (II) to make grepping the log file for defaults overridden by xorg.conf more useful again. Turn some MC related debugging output into normal informational output as it's useful for recognizing corner cases that can cause stability issues.
2007-05-18RADEON: cleanupAlex Deucher
2007-05-15RADEON: Lots of small fixesAlex Deucher
- remove extra crtc2_base set - remove some debugging code - clean up RestoreMode() - make sure a DDC reg gets assigned for LCD_DDC - make sure we adjust the right frame in AdjustFrame() - rename RADEONMapControllers() to RADEONPrintPortMap() to reflect what it actually does now - make i2c bus name match the DDC port - remove or comment out un-needed code
2007-05-13RADEON: Further cleanupAlex Deucher
2007-05-13RADEON: add new ConnectorTable option and re-add PanelSize optionAlex Deucher
2007-05-13RADEON: remove mergedfb, etc. cruft from man pageAlex Deucher
2007-05-13RADEON: remove old mergedfb and dualhead options that are no longer usedAlex Deucher
2007-05-13RADEON: move crtc offset handling into init/save/restore functionsAlex Deucher
2007-05-13RADEON: don't need to pass pScrn to EnableDisplay()Alex Deucher