summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-01-25xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.hXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8-branchRoland Mainz
//freedesktop.org/bugzilla/show_bug.cgi?id=1424) attachment #1209 (https://bugs.freedesktop.org/attachment.cgi?id=1209): Fix problems with RENDER extension accerlation on R100 cards (via pre-rendering small texture). Patch by Matthias Hopf <mhopf@suse.de>.
2004-12-17//bugs.freedesktop.org/show_bug.cgi?id=1220) attachment #980XORG-6_8_1_902XORG-6_8_1_901Roland Mainz
(https://bugs.freedesktop.org/attachment.cgi?id=980): Fix garbage screen on radeon cards which may appear after a system suspend/resume cycle. Patch by Matthias Hopf <mhopf@suse.de>
2004-12-16Bugzilla #1890 (https://bugs.freedesktop.org/show_bug.cgi?id=1890)Roland Mainz
attachment #1331 (https://bugs.freedesktop.org/attachment.cgi?id=1331): Apply Debian patch to re-POST via VBE if driver thinks it has no video memory (a symptom of incompletely coming up from D3 power state), which fixes some Dell laptops This enables resume from suspend level S3 by asking the Radeon chip if it thinks it has no memory. If so, the card is re-POSTed via the int10 interface. Reportedly enables the driver to work for this type of suspend/resume cycle on Dell D600 laptops (Dell D800s as well, if the video BIOS is patched to 4.28.20.31.C1 or later). See Debian Bug #234575. This patch by Emmanuel Thome and Ole Rohne.
2004-12-16//bugs.freedesktop.org/show_bug.cgi?id=1881) attachment #1322Roland Mainz
(https://bugs.freedesktop.org/attachment.cgi?id=1322): Fix typo in radeon driver Patch by Daniel Stone <daniel@freedesktop.org>
2004-12-16xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.cRoland Mainz
//bugs.freedesktop.org/show_bug.cgi?id=1559) attachment #1133 (https://bugs.freedesktop.org/attachment.cgi?id=1133): Fix display detection regression on Radeon Mobile. Patch by HUI YU <hyu@ati.com>
2004-12-16//bugs.freedesktop.org/show_bug.cgi?id=1306) attachment #1292Roland Mainz
(https://bugs.freedesktop.org/attachment.cgi?id=1292): This patch should work around the panel timing params not being initialized. Here's the problem: Previously, the PanelXRes and PanelYRes were either read from the BIOS or were left as 0 (if no BIOS was detected). Then, in RADEONUpdatePanelSize(), the max panel size was found and the timing parameters were initialized, which worked fine for this ppc system. Now, the PanelXRes and PanelYRes are either read from the BIOS or are read from the registers. Note that the other timing parameters (in particular the DotClock) are not initialized when reading from the registers. Then, when RADEONUpdatePanelSize() is called, the max panel size is already set, so none of the other timing parameters are initialized here either (or anywhere else for that matter), which appears to be why the new code fails for this ppc system. The patch changes the test from < to <= in RADEONUpdatePanelSize() and then tests to make sure that only the first set of timings for the panel size read from the registers will be used -- this mimics the way the previous code worked. The only problem with this code occurs when the registers hold invalid panel size params, which do not match any of the monitor's DDC info. This should never happen; however, if it does, then the only solution in this case is to explicitly set the panel size in the config file. Patch by Kevin E. Martin <kem@freedesktop.org>
2004-12-16//bugs.freedesktop.org/show_bug.cgi?id=1306) attachment #1291Roland Mainz
(https://bugs.freedesktop.org/attachment.cgi?id=1291): Fix SEGV in "radeon" driver. Patch by Kevin E. Martin <kem@freedesktop.org>
2004-12-15Bug #1889 (https://bugs.freedesktop.org/show_bug.cgi?id=1889) attachmentRoland Mainz
#1330 (https://bugs.freedesktop.org/attachment.cgi?id=1330): Retry CCE idle commands until the (higher) timeout is reached, and properly stop the engine if we totally fail -- gets rid of serious performance issues and lockups with r128 DRI (see also Debian bug reports #223089, #236187, #236373, #243436). Patch by Daniel Jacobowitz.
2004-12-15xc/programs/Xserver/hw/xfree86/drivers/ati/r128_driver.cRoland Mainz
//bugs.freedesktop.org/show_bug.cgi?id=1888) attachment #1329 (https://bugs.freedesktop.org/attachment.cgi?id=1329): 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 (see Debian #148775). Patch by Branden Robinson and Dagfinn Ilmari Mannsåker.
2004-12-15//bugs.freedesktop.org/show_bug.cgi?id=1886) attachment #1327Roland Mainz
(https://bugs.freedesktop.org/attachment.cgi?id=1327): Disable interrupt handling after the DRM handler has been removed, preventing lockups. Patch by Daniel Stone <daniel@freedesktop.org>
2004-12-15xc/programs/Xserver/hw/xfree86/drivers/ati/ImakefileRoland Mainz
//bugs.freedesktop.org/show_bug.cgi?id=1962) attachment #1423 (https://bugs.freedesktop.org/attachment.cgi?id=1423): 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. Patch by Egbert Eich <eich@freedesktop.org>
2004-12-15//bugs.freedesktop.org/show_bug.cgi?id=1928) attachment #1387Roland Mainz
(https://bugs.freedesktop.org/attachment.cgi?id=1387): Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. Patch by Egbert Eich <eich@freedesktop.org>
2004-12-15xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.cRoland Mainz
//bugs.freedesktop.org/show_bug.cgi?id=591) attachment #308 (https://bugs.freedesktop.org/attachment.cgi?id=308): Fix video timing problems with Sony PCG-C1VN Vaio Picturebook notebook && co. Patch by Marc Aurele La France
2004-10-17Fix resume in radeon driver (bug 1220)Alex Deucher
2004-08-30Hotfix for Eric Anholt's fix for bug #1156 : Clear theXORG-6_7_99_904Michel Daenzer
RADEON_NONSURF_AP0_SWP_16BPP bit for 4 bpp data, otherwise it breaks at depth 16.
2004-08-27Bug #1156: Fix the build on PPC by splitting the byte-order-setting codeEric Anholt
into a separate routine. While here, fix the byte swapping in the 32bpp case. (Michel Daenzer)
2004-08-27Bug #1157: Fix Radeon line acceleration in the DMA case (Michel Daenzer).Eric Anholt
2004-08-27Fix Radeon compilation without Xinerama (Bug #1179, Simon Schubert).Kevin E Martin
2004-08-25Fix hangs during startup with Radeon driver (Bug #1007, Sjoerd Simons).Kevin E Martin
Fix i810 driver startup on Sony VAIO laptop (Bug #1084, Dave Airlie). Fix several library build problem (Bug #1147). Fix build problems (Bugs #1148 and #1149).
2004-08-17Reenable Radeon Render acceleration now that interactions with 3D clientsXORG-6_7_99_902Eric Anholt
should be resolved.
2004-08-15Fix unresolved symbol warnings in r128 driver (Adam Jackson)XORG-6_7_99_901Eric Anholt
2004-08-12Fix context switching on Radeons and build problem when XF86DRI is notXORG-6_7_99_2Kevin E Martin
defined (Bug #922, Eric Anholt).
2004-08-12oops, these didn't added somehow.Adam Jackson
2004-08-12Factor out R{128,ADEON}Chipsets into their own headers so they can beAdam Jackson
sanely included in both the ati core and the r128/radeon submodules; r128 and radeon can now be directly loaded under dlloader. Teach imstt about the dlloader- frendly way to talk to fbdevhw. (Partial for bugs #393 and #400.)
2004-08-11Bug #978: Silence more unresolved symbol warnings from the ati driver.Adam Jackson
Patch from Stefan Dirsch.
2004-08-11Fix Radeon build problem with #define DoLoadableServer NOKevin E Martin
2004-08-10Bug #978: Silence unresolved symbol warnings from the ati driver. ReportedXORG-6_7_99_1Adam Jackson
by Michel Daenzer.
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-08-06Disable Render acceleration in Radeon driver temporarily until it no longerKevin E Martin
conflicts with the 3D code.
2004-08-04Use info->ModeReg.surface_cntl to restore byte swapping for the framebufferMichel Daenzer
aperture on big endian machines, remove superfluous local variables and register reads. Adapt framebuffer aperture byte swapping to texture format before copying data to offscreen area and restore it afterwards on big endian machines, fixes Render acceleration there. reviewed by: Hui Yu <hyu@ati.com>, Kevin E. Martin <kem@freedesktop.org>
2004-08-04- Add two new XAA hooks, SetupForCPUToScreenTexture2 andEric Anholt
SetupForCPUToScreenAlphaTexture2. These add a dstFormat argument after the previous format argument, which the driver needs to use to properly set up the destination format. Two new arrays are added for the list of destination formats supported that correspond to the previous format arrays for sources. - Make Render acceleration only occur when the new hook for that acceleration type is supplied and the dst format list is set, along with the src format list being set. Without knowing the destination format, the Render acceleration couldn't properly support all the destinations it might encounter. - Bump XAA module minor version. - Update the Radeon Render acceleration to use the new hooks when the XAA module is sufficiently new. Fix a bug in the src/dst alpha booleans for ops, and use them to set blend_cntl to support destinations without alpha. Add missing PICT_a1r5g5b5 texture format, and add list terminator. (!)
2004-08-03programs/Xserver/hw/xfree86/drivers/ati/radeon_merged_fb.c Add missingMatthieu Herrb
argument to xf86DrvMsg().
2004-08-03programs/Xserver/hw/xfree86/drivers/ati/r128_driver.cMatthieu Herrb
programs/Xserver/hw/xfree86/drivers/ati/r128_probe.h programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c programs/Xserver/hw/xfree86/drivers/ati/radeon_probe.h Fix Constification problems.
2004-08-01Fix Radeon crash on server exit or generationKevin E Martin
2004-07-31Change several LoaderSymbol calls introduced by the bug #400 patch toAdam Jackson
*Weak() resolver functions.
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-30Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, allAdam Jackson
framebuffer formats except cfb and the overlay modes should work, and r128 and radeon need to be loaded from the ati driver (both issues to be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga drivers. elfloader users shouldn't be affected.
2004-07-28- add gamma correction support to the radeon video overlayCOMPOSITEWRAPAlex Deucher
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-07-26Bug #848: Clean up gatos notice messages.Adam Jackson
2004-07-23- Add a new option, BuildDevelDRIDrivers, which controls whetherEric Anholt
DevelDRIDrivers is non-empty. DevelDRIDrivers contains those drivers aren't built by default either due to being unusable on that architecture (but buildable for testing) or due to security concerns, as in the mach64 and savage cases. - Merge the Mach64 DDX's DRI support, under the XF86DRI_DEVEL define, which is set only when BuildDevelDRIDrivers is set. - Fix up of the sets of DRI drivers built for various architectures. - Fix build of unichrome DRI driver, which is now enabled on x86.
2004-07-22Merge and resolve conflicts from DRI/DRM/Mesa 20040721 imports.Eric Anholt
2004-07-16Bugzilla #803,804: Fix build in the !XF86DRI case after DRI and RadeonEric Anholt
Render acceleration merges.
2004-07-10Bugzilla #849: Fix DRI pagesize assumptions in radeon and r128 drivers.Adam Jackson
from mharris@, reviewed and applied to DRI by airlied@.
2004-07-06Separated Intel drivers from default DriDrivers to avoid building them onEgbert Eich
IA64 (Egbert Eich). Fixed wrong function prototype (Egbert Eich). Don't test for generic VGA on IA64 (Egbert Eich). Fixed a segfault when accessing a structure before verifying the pointer exists (Egbert Eich). Added a showcache option for debugging (Egbert Eich). Increase default video RAM size to 16MB when DRI is enabled and more than 128MB are available (Egbert Eich). Fixed lockups during mode switch. Problem was introduced when attempting to copy the behavior during LeaveVT()/EnterVT() but but forgetting to call I810DRILeave() before I810DRIEnter(). The entire DRILeave()/Enter() scenario has been commented out as it didn't seem to be necessary (Egbert Eich). Fix TweakMemorySize() (tested with i855/i865) (Egbert Eich). increased MAX_DEVICES to 128 (Egbert Eich). Use OS provided PCI config space access as default method (Egbert Eich). Added support for Linux 2.6 proc file format. Fixed unaligned accesses to pieces of the VBE info block. VESA did not align elements to size (Egbert Eich).
2004-06-20Add file missed in last commit: Bug #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-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-16Initial revisionEric Anholt