Commit Graph

3692 Commits

Author SHA1 Message Date
Adam Jackson
6ec74414bd Factor out R{128,ADEON}Chipsets into their own headers so they can be
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-12 01:03:06 +00:00
Adam Jackson
a5b1e4dd7a Bug #978: Silence more unresolved symbol warnings from the ati driver.
Patch from Stefan Dirsch.
2004-08-11 01:20:28 +00:00
Kevin E Martin
1356884132 Fix Radeon build problem with #define DoLoadableServer NO 2004-08-11 01:14:14 +00:00
Adam Jackson
f5c93cb015 Bug #978: Silence unresolved symbol warnings from the ati driver. Reported
by Michel Daenzer.
XORG-6_7_99_1
2004-08-10 04:01:42 +00:00
Kevin E Martin
a2da1caf58 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339,
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-09 22:37:22 +00:00
Kevin E Martin
3171664c6a Disable Render acceleration in Radeon driver temporarily until it no longer
conflicts with the 3D code.
2004-08-06 20:07:35 +00:00
Michel Daenzer
27ef7adf3c Use info->ModeReg.surface_cntl to restore byte swapping for the framebuffer
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 13:17:31 +00:00
Eric Anholt
2efdc9f847 - Add two new XAA hooks, SetupForCPUToScreenTexture2 and
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-04 10:05:37 +00:00
Matthieu Herrb
1e16c66551 programs/Xserver/hw/xfree86/drivers/ati/radeon_merged_fb.c Add missing
argument to xf86DrvMsg().
2004-08-03 09:42:20 +00:00
Matthieu Herrb
fd440a1e21 programs/Xserver/hw/xfree86/drivers/ati/r128_driver.c
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-03 09:38:03 +00:00
Kevin E Martin
dd0f86c4cb Fix Radeon crash on server exit or generation 2004-08-01 23:22:01 +00:00
Adam Jackson
c64f90b673 Change several LoaderSymbol calls introduced by the bug #400 patch to
*Weak() resolver functions.
2004-07-31 01:21:18 +00:00
Hui YU
b091b4b074 Support for New radeon chips: R420/M18, R423, RV370/M22, RV380/M24, RS300.
Add special handlings for DELL triple-head server (RV100). Misc. bug
    fixes for flat panel, host aperture, etc (Bug #946)
2004-07-30 22:20:21 +00:00
Adam Jackson
d04f61bfaf Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all
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-30 20:30:51 +00:00
Alex Deucher
6dcb78bb81 - add gamma correction support to the radeon video overlay 2004-07-28 02:35:30 +00:00
Alex Deucher
26029dc937 - Add Radeon DynamicClocks option
- 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-26 23:14:37 +00:00
Adam Jackson
9f251b16e7 Bug #848: Clean up gatos notice messages. 2004-07-26 19:14:58 +00:00
Eric Anholt
6f1e01ecdb - Add a new option, BuildDevelDRIDrivers, which controls whether
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-23 05:36:14 +00:00
Eric Anholt
b68322f467 Merge and resolve conflicts from DRI/DRM/Mesa 20040721 imports. 2004-07-22 07:03:04 +00:00
Eric Anholt
57de5e285d Bugzilla #803,804: Fix build in the !XF86DRI case after DRI and Radeon
Render acceleration merges.
2004-07-16 04:38:54 +00:00
Adam Jackson
9b0ec803bd Bugzilla #849: Fix DRI pagesize assumptions in radeon and r128 drivers.
from mharris@, reviewed and applied to DRI by airlied@.
2004-07-10 14:22:35 +00:00
Egbert Eich
ccd95bfb29 Separated Intel drivers from default DriDrivers to avoid building them on
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-07-06 14:37:47 +00:00
Eric Anholt
6bdf3d36ea Add file missed in last commit: Bug #748:
- 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-20 07:34:55 +00:00
Eric Anholt
8c1b37420e Bug #748:
- 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-20 07:26:08 +00:00
Eric Anholt
6ecf374d50 Merge DRI-trunk-20040613 changes in programs/Xserver/hw/xfree86/drivers,
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-16 09:43:59 +00:00
Eric Anholt
bea8085e04 DRI trunk-20040613 import DRI-trunk-20040613 2004-06-16 09:25:58 +00:00
Eric Anholt
7b588cda92 Initial revision 2004-06-16 09:25:58 +00:00
Eric Anholt
6cbb5bbff4 DRI XFree86-4_3_99_12-merge import DRI-XFree86-4_3_99_12-merge 2004-06-16 09:22:56 +00:00
Egbert Eich
3586c3c795 Merging XORG-CURRENT into trunk XACE-SELINUX-MERGE 2004-04-23 19:26:46 +00:00
Egbert Eich
538768e0f4 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 xf86-4_4_99_1 2004-03-14 08:33:20 +00:00
Egbert Eich
5f179e796d Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 xf86-4_4_0 2004-03-03 12:12:18 +00:00
Egbert Eich
493c445801 readding XFree86's cvs IDs xf86-4_3_99_903 2004-02-26 13:35:52 +00:00
Egbert Eich
942a47fd3c Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2004-02-26 09:23:18 +00:00
Kaleb Keithley
dda79b5ee3 Import most of XFree86 4.4RC3. This import excludes files which have the
new license. If we want to, later we can import 4.4RC3 again and pick
    up the files that have the new license, but for now the vendor branch
    is "pure."
xf86-4_3_99_903_special
2004-02-23 20:35:02 +00:00
Egbert Eich
08104f18ac Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 xf86-012804-2330 2004-01-29 08:08:34 +00:00
Kaleb Keithley
162d76b9c4 XFree86 4.3.99.902 (RC 2) xf86-4_3_99_902 2003-12-19 20:55:06 +00:00
Kaleb Keithley
195772ec74 XFree86 4.3.99.901 (RC 1) xf86-4_3_99_901 2003-12-04 22:03:16 +00:00
Kaleb Keithley
73105e438e XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks xf86-4_3_99_16 2003-11-25 19:28:36 +00:00
Kaleb Keithley
0a53864f95 Initial revision 2003-11-25 19:28:36 +00:00
Kaleb Keithley
c56aaef790 XFree86 4.3.0.1 xf86-4_3_0_1 PRE_xf86-4_3_0_1 2003-11-14 16:48:55 +00:00
Kaleb Keithley
d09f463a5d Initial revision 2003-11-14 16:48:55 +00:00
Kaleb Keithley
d9af6dc326 R6.6 is the Xorg base-line XORG-MAIN 2003-11-14 15:54:49 +00:00