summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2005-01-24Don't exclude 'RADEONInfoPtr info = ...' declaration even when not buildingEgbert Eich
with DRI support (Bugzilla #2370)
2005-01-13Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Some of the newer Radeons (R420 for example) have MM_TABLE's with size 0x33 (instead of 0x0c that we know). Furthermore, they lockup during access of I2C bus ! Add a check to validate MM_TABLE. Note: the check is not more stringent as other card manufacturers (like Asus or Tekram) might make cards with slightly different MM_TABLE.
2004-12-24- Fix MCLK / SCLK calculation (Benjamin Herrenschmidt) bug 2144Alex Deucher
- formatting cleanup
2004-12-19- Add support for Dualhead on M3/M4 (bug 1760)Alex Deucher
2004-12-19- Make dualhead ram allocation cleaner and related messages clearerAlex Deucher
2004-12-19- Add DRI resume support (Micha Feigin) bug 2063Alex Deucher
2004-12-19- fix warnings (Ronny V. Vindenes)Alex Deucher
2004-12-18- fix warning and potential error in radeon_driver.cAlex Deucher
2004-12-17- Add VGAAccess option to r128 driver. Based on Benh's radeon patch. r128Alex Deucher
should now work on ppcs without usefbdev. To use this on ppc make sure you set "usefbdev" to false. (bug 2089) - Apply Benjamin Herrenschmidt's radeon patches (bug 2064)
2004-12-17Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c Move DMA robustness fix into radeon_dri.c::RADEONEnterServer() as per suggestion by Michel Dänzer. I could not trigger a lockup, even with r300_demo (possibly it has code that flushes cache inside ?), so this must be good enough..
2004-12-16Modified:xprint_packagertest_20041217_basexprint_packagertest_20041217Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c Add DMA robustness fix from Nicolai Haehnle. TODO: move this fix into DRM driver or other parts of Xserver when R300 support is more stable. This fix affects only R300 and later variants and results in small slowdown when using CP acceleration in comparison to the previous version of the driver. We are still a lot faster in CP mode than using MMIO register access.
2004-12-15Bug #2008: Fix gcc4 compile problem.Adam Jackson
2004-12-12Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c Make DMA blitting code more robust.
2004-12-12Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c Enable DRM support permanently, allowing its use for any CHIP_FAMILY > R300. Fix bug in naming Mesa3d driver (it was defaulting to r200)
2004-12-12- missing diff from agp 8x supportAlex Deucher
2004-12-12Modified:Vladimir Dergachev
programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c programs/Xserver/hw/xfree86/drivers/ati/radeon_common.h programs/Xserver/hw/xfree86/drivers/ati/radeon_version.h Add R300 (and later) DRM support, protected by X_R300_DRM option. Note: at the moment this is for 2d support only, if enabled running glxgears locks up my machine, but DMAForXv=yes works fine.
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-12-06Apply Debian patch to re-POST via VBE if driver thinks it has no videoDaniel Stone
memory (a symptom of incompletely coming up from D3 power state), which fixes some Dell laptops (closes: #1890).
2004-12-06When direct rendering is enabled, use hostdata blits to transfer data fromMichel Daenzer
system memory to video RAM, which should reduce CPU usage especially with larger videos. Can be disabled via Option "DMAForXv" if there should be any stability issues, but it's been stable for me during a week of testing. Based on a patch by Nikolaus Meine <meine@tnt.uni-hannover.de>. Probably fix endianness issues in some newer XVideo code, untested. Also use hostdata blits to transfer RENDER image data to video RAM to avoid idling the accelerator engine. Increases RENDER performance significantly for me. These changes were only tested on an M9 in a Titanium PowerBook but should work with all Radeons where direct rendering is supported.
2004-12-04Disable interrupt handling after the DRM handler has been removed,Daniel Stone
preventing lockups (closes: #1886). Allow pitches with a granularity of 32, rather than 64, because some clamshell iBooks have 800-byte pitches. Change Xv allocation granularity to 8 bytes, rather than 16 bytes, also (closes: #1888).
2004-12-04Retry CCE idle commands until the (higher) timeout is reached, and properlyDaniel Stone
stop the engine if we totally fail -- gets rid of serious performance issues and lockups with r128 DRI.
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn
2004-11-30Make Xorg the default server to install.Egbert Eich
Avoid PIO access on IA64. Some IA64 machine check if legacy ports outside the VGA range are accessed. The ATi driver however does this to probe for ISA Mach8/32/64. Since no IA64 has ISA slots this restriction should not be relevant to the user. Avoid recursive calls of xf86scanpci(). This function normally detects that it has been called before by checking if the PCI structure is filled out. So far if this was not the case (because PCI probing has failed for some reason) the function is traversed again. With the chipset specific PCI bus probing this can lead to an endless recursive loop as the post-probing code calls xf86scanpci() from within this function. The OS specific PCI code for Linux worked only if bus 0 was populated as it checked for the presence of /proc/bus/pci/00. Fixed to check for /proc/bus/pci/<bus_to_look_for> instead.
2004-11-23Use fp_horz_stretch instead of fp_vert_stretch for horizontal stretchxprint_packagertest_20041125_basexprint_packagertest_20041125Daniel Stone
factor calculation in panel size derivation in the Radeon driver (closes: #1881).
2004-10-24Add registers to facilitate work with stereo 3d.Vladimir Dergachev
2004-10-22- make the overlay work on crtc2 againAlex Deucher
- make PutVideo() MergedFB aware
2004-10-18Fixing one of the infamous 'control reaches end of non void functionEgbert Eich
problems'.
2004-10-18Made handling of DevelDrivers for x86-64 more conformant to otherEgbert Eich
platforms. Compress all font encodings (Stefan Dirsch). Fixed warnings. Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). Added another compose key combination for the Euro symbol (Stefan Dirsch). Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian). This is the encoding that is also used by glibc. We may break other libcs - lets see who complains. Added explanation for DESTDIR to install to a different directory than /. Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. XV support doesn't depend on 2D acceleration any more. This patch removes this limitation from the NSC driver. This is a patch that I have committed to XFree86 a while ago but never ported over to X.Org. Matthieu Herrb contributed some build fixes. Fixing SetDPMSTimers() so that DPMS*Time == 0 disables the appropriate timer. This takes advantage of the fact that TimerSet() with a timeout argument 0 behaves like TimerCanel(). Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). Create missing links for backward compatibility to XFree86 (Stefan Dirsch). Changed comment to mention xorg. Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If you don't like it we can change it back (original author unkown). Added 'pic' to the man page rendering command pipeline (Werner Fink). Added missing return value (Stefan Dirsch, Roland Mainz)
2004-10-17- Fix DFP detection in r128 driver (bug 1386, Klaus Kusche)Alex Deucher
- Fix EmulateWheelInertia defaults (bug 1115, Andrew Pimlott)
2004-10-17Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c On my Inspiron 8600 both internal and external ports are marked DAC_PRIMARY in BIOS. So be extra careful - only swap when the first port is not DAC_PRIMARY
2004-10-17- Add Thomas' latest sis MergedFB enhancements to the radeon driverAlex Deucher
2004-10-13Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.h Squash annoying warning about fi1236_dump_status
2004-10-12Set fbdev mode as the default mode on PPC (Olaf Hering).Egbert Eich
Added support for IBM space saver keyboard (Stefan Dirsch). Added support for Cherry CyMotion Master XPress (Marcus Schaefer). Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and RestoreBIOSMemSize() to be exactly opposite to the Save procedure in EnterVT() (Matthias Hopf, Alan Hourihane). Fix text mode restauration by removing the assumption that the register which determines which head is programmed is set. to the active head by the BIOS (Mark Vojkovich). When I wrote the resource code 5 years ago I made some assumptions which turned out to be false: I've assumed that the bus number of the PCI hostbridge would be the PCI bus the bridge links to. This is not correct. Fixing this assumption is not easy. However I hope that the attached patch will make the system work regardless as it 'ignores' host bridges from which the target bus is not known. This should not matter at all as we really don't care about host bridges (unless we have bridge specific code which retrieves information about the bridge). Fixed server crash on reset when a structure allocated in PreInit() was freed on CloseScreen(). Fixed ring buffer lock ups that happened because the structure that contained ringbuffer data was not zeroed after allocation. Fixed numerous warnings due to signed unsigned comparisons. programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c: (NVBacklightEnable): Changed the order in which the sequencer registers and the backlight control registers are written. The sequencer control register need to be written first otherwise DPMS screen blanking produces vertical bars on a mobile device. lib/Xau/Imakefile: Build libXau static library PIC so it can be linked into toolkits that would like to wrap its functionality.
2004-10-11- fix resume on radeons (bug 1220)Alex Deucher
- clean up some old cruft in the savage i2c code
2004-10-11Improving DPMS handling on VT swich and server termination/abort: previousEgbert Eich
version called the driver directly and too late. Unblank secondary screen explicitely. Don't rely on the value read during register save as the BIOS have blanked the secondary head. Checking if server isn't switched away before calling sync. Sanity check for possible bugs in aother areas of the code. Fixing default amount of of allocated video memory from AGP for i810: Use 16MB if less than 192MB are installed else use 24MB (Matthias Hopf).
2004-10-08Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Remove redundant and incorrect line.
2004-10-05Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/theatre.h Patch from Matthieu Herrb - fix compilation with DoLoadableServer=NO
2004-10-04Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Do not probe for Rage Theatre if no multimedia table is present and no parameters have been specified.
2004-10-04Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c This is really embarassing - I found a part of code that had <cr> at the end of the lines. I am certain I never saw it before - talk about code rot !
2004-10-03Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_mm_i2c.c Remove debugging statement that cause loading of DLL modules to fail.
2004-10-03Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Fix compilation with gcc 3.4.x (patch by Ronny V. Vindenes)
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-03Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.[c,h] xc/programs/Xserver/hw/xfree86/drivers/ati/theatre.c Detect and initialize Rage Theatre (RT100)
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-02Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/theatre* xc/programs/Xserver/hw/xfree86/drivers/ati/generic_bus.h Add Rage Theatre (RT100) module code and hook it into the build system
2004-10-02Modified:Vladimir Dergachev
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.h xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_mm_i2c.c Add code to access and initialize multimedia i2c bus. Hook it up.
2004-10-02Add more multimedia registers.Vladimir Dergachev