summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2005-03-31Modified:Vladimir Dergachev1-5/+23
programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Patch from Antti Ajanki - provide VBI capture support for PAL and SECAM (You need GATOS km module to actually get at the data, the change merely configures the hardware to handle it correctly).
2005-03-29bugzilla #2844 (https://bugs.freedesktop.org/show_bug.cgi?id=2844)Michel Daenzer1-2/+12
attachment #2230 (http://bugs.freedesktop.org/attachment.cgi?id=2230) Wait for idle before uploading HW cursor data to the framebuffer to avoid lockups when moving the mouse on some machines.
2005-03-29bugzilla #2840 (https://bugs.freedesktop.org/show_bug.cgi?id=2840)Kevin E Martin3-52/+48
attachment #2227 (https://bugs.freedesktop.org/attachment.cgi?id=2227) Fix build problems introduced by previous Radeon PLL errata workarounds.
2005-03-26bugzilla #2057 (https://bugs.freedesktop.org/show_bug.cgi?id=2057)Dave Airlie10-13/+742
attachment #1516 (https://bugs.freedesktop.org/attachment.cgi?id=1516) Add TVOUT Support for Mach64 (Leif Delgass, fixed up for Xorg by me).
2005-03-24- radeon PLL access errata workarounds (Benjamin Herrenschmidt, acked byAlex Deucher11-90/+156
Hui Yu)
2005-03-18Add support for production version of ATI RN50/ES1000. (ATI TechnologiesMichel Daenzer3-1/+4
Inc.)
2005-03-17Modified:Vladimir Dergachev1-8/+0
programs/Xserver/hw/xfree86/drivers/ati/radeon_mergedfb.c Back out RadeonWaitForIdleMMIO that I put in earlier. From discussion on dri-devel we do not need to be as careful with INREG() access on Radeons as we are on mach64 chips. The fix is backed out due to: it breaks DRI on SMP systems (due to absense of the lock in mouse handling functions) I am no longer able to reproduce the lockup I saw before
2005-03-08Fix accidentally removed depth pitch adjustment if displayWidth is not aRoland Scheidegger1-3/+4
multiple of 32 pixels (bug #788)
2005-03-04programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c Let through all chipsVladimir Dergachev1-7/+4
R300 and above - presumably the filtering should take place at the DRM driver level. Correct cut'n'paste position misprint. Big thanks for Michel Danzer for pointing out both improvements.
2005-03-04programs/Xserver/hw/xfree86/drivers/ati/radeon_dri.c Turns out Radeon R420Vladimir Dergachev1-1/+2
chips work fine with R300 microcode. Thanks go to Rune Petersen for careful investigation.
2005-02-22Fix building radeon driver with BuildXF86DRI set to NO, the breakage wasRoland Scheidegger3-7/+8
caused by the tiling support (bug #2481)
2005-02-19Modified:Vladimir Dergachev1-0/+1
programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Fix an INREG without WaitForIdleMMIO. This one should be unlikely to trigger, but we should still do this in the name of correctness.
2005-02-19Modified:Vladimir Dergachev1-0/+8
programs/Xserver/hw/xfree86/drivers/ati/radeon_mergedfb.c Add a call to RADEONWaitForIdleMMIO() within RADEONChooseCursorCRTC() as this function uses OUTREGP() which, internally, calls INREG(). Thus (due to SilkenMouse) INREG() could be called while CP engine was busy. I have observed this lockup on RV350 + R300 3d driver and have no idea why no issues were reported for R200 cards. Perhaps, few of them have enough memory to run merged fb and 3d simultaneously ? This fix is the right thing to do, however, we might also need to put fifo management calls into other cursor handling functions (in particular those that write cursor image directly to video memory).
2005-02-18Bug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.)Michel Daenzer3-0/+3
2005-02-18Bug #2567: Fix reversed memset arguments. (David Krause)Adam Jackson1-2/+2
2005-02-09do not enable color tiling on r300 chips and newer, since it doesn't workRoland Scheidegger1-10/+14
(yet) (Bugzilla #2504)
2005-02-02fix error with color tiling and hw scrolling, it looks like rv100 doesn'tRoland Scheidegger1-7/+0
need the special treatment, after all (reported by Stephane Marchesin)
2005-01-31change option EnableColorTiling to ColorTilingRoland Scheidegger1-1/+1
2005-01-26(Stephane Marchesin, me) Add support for color (framebuffer) tiling.Roland Scheidegger10-204/+599
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 Scheidegger3-6/+26
2005-01-24Don't exclude 'RADEONInfoPtr info = ...' declaration even when not buildingEgbert Eich1-3/+3
with DRI support (Bugzilla #2370)
2005-01-13Modified:Vladimir Dergachev1-0/+10
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 Deucher1-11/+10
- formatting cleanup
2004-12-19- Add support for Dualhead on M3/M4 (bug 1760)Alex Deucher7-137/+1204
2004-12-19- Make dualhead ram allocation cleaner and related messages clearerAlex Deucher2-17/+26
2004-12-19- Add DRI resume support (Micha Feigin) bug 2063Alex Deucher3-23/+71
2004-12-19- fix warnings (Ronny V. Vindenes)Alex Deucher1-4/+4
2004-12-18- fix warning and potential error in radeon_driver.cAlex Deucher1-0/+1
2004-12-17- Add VGAAccess option to r128 driver. Based on Benh's radeon patch. r128Alex Deucher5-141/+401
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 Dergachev2-42/+43
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:Vladimir Dergachev1-0/+42
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 Jackson1-1/+0
2004-12-12Modified:Vladimir Dergachev2-6/+12
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 Dergachev2-18/+10
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 Deucher1-8/+23
2004-12-12Modified:Vladimir Dergachev5-11/+62
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 Deucher3-4/+14
2004-12-12- only mess with Dynamicclocks on mobility chips (Benh, me) bug 1912Alex Deucher4-35/+142
- 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 Stone1-0/+14
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 Daenzer5-72/+425
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 Stone3-11/+15
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 Stone1-1/+7
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 Kuhn3-25/+25
2004-11-30Make Xorg the default server to install.Egbert Eich1-2/+8
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 stretchDaniel Stone1-1/+1
factor calculation in panel size derivation in the Radeon driver (closes: #1881).
2004-10-24Add registers to facilitate work with stereo 3d.Vladimir Dergachev1-1/+14
2004-10-22- make the overlay work on crtc2 againAlex Deucher1-5/+15
- make PutVideo() MergedFB aware
2004-10-18Fixing one of the infamous 'control reaches end of non void functionEgbert Eich1-0/+1
problems'.
2004-10-18Made handling of DevelDrivers for x86-64 more conformant to otherEgbert Eich1-0/+3
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 Deucher1-1/+3
- Fix EmulateWheelInertia defaults (bug 1115, Andrew Pimlott)