summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
AgeCommit message (Collapse)Author
2007-10-03RADEON: minor fixes for external TMDSAlex Deucher
2007-09-23RADEON: fix up LVDS handling for r3xx and newerAlex 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-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-23radeon: Wait for pending overlay flip to finish before emitting new one.Michel Dänzer
2007-08-21RADEON: more tv out fixes and clean upAlex Deucher
2007-08-14RADEON: Add load detectionAlex Deucher
Based on the beos driver by Thomas Kurschel and the existing load detection code in this driver.
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-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-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: implement backlight control for LVDSAlex Deucher
This code is currently disabled as I'm not sure which laptops actually use this method for backlight control. My laptop seems to use another method as adjusting the backlight level doesn't seem to touch LVDS_GEN_CNTL. Maybe just macs?
2007-05-25RADEON: fixup last commit and add support for ext TMDS detectAlex Deucher
2007-05-21radeon: HW cursor cleanup.Michel Dänzer
Don't needlessly turn the HW cursor on/off in RADEONLoadCursor*(). Besides cleaning up the code, this semms to avoid some HW cursor related 3D lockups, see https://bugs.freedesktop.org/show_bug.cgi?id=10815 . My best guess is that this is because the engine is now always idled before touching the CRTC registers.
2007-04-22radeon: add support for DDC on some laptop chipsetsDave Airlie
I noticed fglrx has DDC for the panel in the rs480 laptop, however radeon didn't pick it up, so I valgrinded fglrx and spotted 0x1a0/0x1a4 accesses I actually noticed this before from the BIOS but never figured it out. So now I get DDC from the LCD on this laptop.
2007-02-20radeon: move some i2c registers out into common register fileDave Airlie
These regs are more useful than just multimedia
2006-12-07radeon: Make cache flushing for R300 series less invasive.Michel Dänzer
Instead of calling the DRM CP idle ioctl, just emit the cache flush commands into the CP stream.
2006-10-03remove bogus registersAlex Deucher
2006-09-25remove all CVS annotations from the ATI driver filesDave Airlie
2006-09-18radeon: add missing tv-out registers to register listAlex Deucher
2006-07-23Bug #6819: Fix broken rendering with *8b8g8r8 source formats.Michel Dänzer
Use the corresponding texture formats with R200 family. Unfortunately, it looks like the R100 family can't accelerate these source formats, so we have to fall back for them.
2006-03-23commit the actual changes instead of just the Changelog...Roland Scheidegger
2006-03-18Clear the offsets when updating the memory map instead of when enabling theBenjamin Herrenschmidt
CRTCs and try to make that code more reliable. Doesn't disable the CRTCs beforehand.
2006-03-17Fix various small cosmetic issues. Change a driver message, get the orderRoland Scheidegger
right for requesting drm versions, replace the use of some numbers with the respective macro defines in radeon_video.c, and add some more macro defines. None of that really matters.
2006-03-16Add various workarounds that seem to fix some remaning lockup scenarios I'mBenjamin Herrenschmidt
experiencing with the driver when setting the memory map. Some of the magic delays are a bit dodgy but they seem to work, I suppose I can't do better now without help from ATI. Also removed some really too noisy debug messages.
2006-02-16Memory map and misc fixes. This completely reworks the way the driverBenjamin Herrenschmidt
detects available & accessible video memory and initializes the card internal memory map. Along the way, I re-ordered some of the stuffs in pre-init in order to remove some dodgy codepath, fixed various init, exit and vt switch issues, and overall made the driver more robust. The full memory map fix requires an updated DRM. The X driver no longer tries to position the AGP aperture, this becomes entirely DRM responsibility.
2005-09-17Switch radeon driver to using a card type rather than having a IsPCI flag,Dave Airlie
allow for PCI/AGP/PCIE cards. Set PCI gart allocation to only happen on PCIE cards. Add Radeon PCIE card detection using capability bits.
2005-09-11Add support for EXA to the radeon driver. Building EXA and XAA support isEric Anholt
controlled at compile time, plus the runtime option of Option "AccelMethod" "EXA" or "XAA". The XAA support appears to remain as before, while the EXA pieces need just a little more polishing. Notable features: - Render acceleration working on Radeon 100 and 200-series with DRI on. - DRI works with EXA Notable issues: - DGA disabled in the EXA case. - Backbuffer moves disabled in the EXA case. - No textured XVideo. - MMIO render acceleration is close but still has some issues. - Memory pressure while using Composite is really troublesome with DRI on. This patch is based on an initial patch by Zack Rusin, with significant work by Benjamin Herrenschmidt and myself.
2005-07-01- fix depth tiling for r3/4xx chips (Aapo Tahkola)Alex Deucher
- adjust limits for tiled surfaces on r3/4xx
2005-06-30- add support for colortiling on r3/4xx hardware (disabled by default). InAlex Deucher
order for pageflipping to work on r3/4xx we will need to update the the sarea and drm so that the crtc1/2 xytiling regs get updated. Initially worked out by Aapo Tahkola.
2005-06-30- Increase the priority of display 0/1 in the memory controller for r3/4xxAlex Deucher
hardware when displaypriority is set to HIGH. Fixes display problems in high res modes. Originally reported by Aapo Tahkola.
2005-01-26(Stephane Marchesin, me) Add support for color (framebuffer) tiling.Roland Scheidegger
Convert all XAA accel code to use explicit dst and src offset pitch control to make it work. Use the new drm surface ioctls to set up the tiled surfaces (if dri is enabled).
2005-01-26fix issues with mergedfb + pageflip (fix up sarea frame values)Roland Scheidegger
2004-12-12- add AGP 8x support (Hui Yu, Michel Daenzer) bug 1819Alex Deucher
2004-12-12- only mess with Dynamicclocks on mobility chips (Benh, me) bug 1912Alex Deucher
- fix display detection (Hui Yu) bug 1559 - Add new option "BIOSHotkeys" to allow the bios to control output switching (off by default) bug 2000 - update the savage man page to document the "CrtOnly" option
2004-10-24Add registers to facilitate work with stereo 3d.Vladimir Dergachev
2004-10-03Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.[c,h] xc/programs/Xserver/hw/xfree86/drivers/ati/theatre.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h Port the rest of GATOS Radeon-specific code. Remove "checkpoint" noise from logs. Test with AIW Radeon 7500
2004-10-02Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/Imakefile xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.[c,h] xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_vip.c Add VIP bus access code, hook it into initialization system.
2004-10-02Add more multimedia registers.Vladimir Dergachev
2004-08-09Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339,Kevin E Martin
Harold L. Hunt II, Alexander Gottwald). Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). Fix several render problems: - MMIO mode support - Hang on IGP chips - VT switching hang - 3D render corruption (Bug #922, Hui Yu).
2004-07-30Support for New radeon chips: R420/M18, R423, RV370/M22, RV380/M24, RS300.Hui YU
Add special handlings for DELL triple-head server (RV100). Misc. bug fixes for flat panel, host aperture, etc (Bug #946)
2004-07-26- Add Radeon DynamicClocks optionAlex Deucher
- Add small fixes and clean ups from ati's last code drop (typo_fixes, remove_fudge, laptop, xvfix) - fix possible segfault in mga_dri.c (Ryan Underwood) - Add Xv support to pre-nm2160 neomagic chipsets
2004-06-20Bug #748:Eric Anholt
- Add Render acceleration for Radeon 100 and 200-series cards, enabled by default. Notable performance gains include 27fps in cairogears instead of 6fps (compared to 50 with glitz), and my disks are now the bottleneck in an ls -lR in gnome-terminal. Only supported in DRI mode because the MMIO submission hangs the card so far, but the code is left in because it may be supportable soon. - Add xorg.conf options to disable Render acceleration and to force the subpixel order in the server (Hui Yu). Many thanks to Hui Yu at ATI for the code this was based off of, Michel Daenzer for bugfixes and suggestions, and LinuxFund for sponsoring the work.
2004-06-16Merge DRI-trunk-20040613 changes in programs/Xserver/hw/xfree86/drivers,Eric Anholt
with the following notes: - Savage and Mach64 (= ati/ati*.[ch] changes) DRI not merged due to insecurity. - VIA driver converted to new drmContext and drmHandle names. - Radeon driver merge conflicted in many places, and MergedFB at least could probably use some checking at this point.
2004-06-16DRI trunk-20040613 importDRI-trunk-20040613Eric Anholt
2004-06-16DRI XFree86-4_3_99_12-merge importDRI-XFree86-4_3_99_12-mergeEric Anholt
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich