Commit Graph

82 Commits

Author SHA1 Message Date
Egbert Eich
54cffc3fe2 Fixing one of the infamous 'control reaches end of non void function
problems'.
2004-10-18 15:19:44 +00:00
Egbert Eich
7a97d36332 Made handling of DevelDrivers for x86-64 more conformant to other
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-18 14:21:45 +00:00
Alex Deucher
c7ab340fec - Fix DFP detection in r128 driver (bug 1386, Klaus Kusche)
- Fix EmulateWheelInertia defaults (bug 1115, Andrew Pimlott)
2004-10-17 22:45:57 +00:00
Vladimir Dergachev
ace6e1b793 Modified:
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 17:57:33 +00:00
Alex Deucher
22405e81b8 - Add Thomas' latest sis MergedFB enhancements to the radeon driver 2004-10-17 16:52:02 +00:00
Vladimir Dergachev
186efa31b2 Modified:
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-13 23:02:42 +00:00
Egbert Eich
43b24861e3 Set fbdev mode as the default mode on PPC (Olaf Hering).
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-12 19:13:43 +00:00
Alex Deucher
515b7c4b74 - fix resume on radeons (bug 1220)
- clean up some old cruft in the savage i2c code
2004-10-11 23:20:26 +00:00
Egbert Eich
07e1aaee86 Improving DPMS handling on VT swich and server termination/abort: previous
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-11 09:58:04 +00:00
Vladimir Dergachev
a8c77480e7 Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Remove redundant
    and incorrect line.
2004-10-08 00:56:05 +00:00
Vladimir Dergachev
ec831d4fba Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/theatre.h Patch from Matthieu
    Herrb - fix compilation with DoLoadableServer=NO
2004-10-05 01:16:01 +00:00
Adam Jackson
f1dadde8f6 Correct radeon man page, IGP is supported for 3D but R400 is not. 2004-10-04 21:52:47 +00:00
Vladimir Dergachev
e3dba98415 Modified:
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-04 15:24:34 +00:00
Vladimir Dergachev
4aadb78492 Modified:
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-04 14:53:11 +00:00
Vladimir Dergachev
db5a27081d Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_mm_i2c.c Remove debugging
    statement that cause loading of DLL modules to fail.
2004-10-03 23:54:40 +00:00
Vladimir Dergachev
37a8d8a53f Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c Fix compilation
    with gcc 3.4.x (patch by Ronny V. Vindenes)
2004-10-03 14:41:45 +00:00
Vladimir Dergachev
6dbcd503fe Modified:
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-03 03:07:17 +00:00
Vladimir Dergachev
7cb911291d Modified:
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-03 00:01:14 +00:00
Vladimir Dergachev
6c1996174b Modified:
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-02 20:55:42 +00:00
Vladimir Dergachev
136649a1c2 Modified:
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-02 20:35:04 +00:00
Vladimir Dergachev
7a17b1c294 Modified:
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-02 01:59:13 +00:00
Vladimir Dergachev
e0123e24b6 Add more multimedia registers. 2004-10-02 01:36:43 +00:00
Vladimir Dergachev
576f53be4f xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h Add TV-in specific
    options. Add TV-in specific fields to radeon per-screen structure, add
    code to initialize them. Preserve MM_TABLE (instead of whole VBIOS as
    was done in GATOS drivers)
2004-10-02 00:43:08 +00:00
Adam Jackson
9a9ba82172 Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones. 2004-09-22 04:38:03 +00:00
Adam Jackson
700b0dc514 Convert the ATI drivers to ANSI function prototypes. 2004-09-21 18:10:34 +00:00
Eric Anholt
17e5f3c116 Bugzilla #1170: Fix an overcounting of DMA in BEGIN_RING that wasn't
harmful. Bugzilla #1169: Add counting for
    BEGIN_RING/OUT_RING/ADVANCE_RING to avoid these sorts of problems in
    the future.
2004-09-17 05:16:45 +00:00
Adam Jackson
29bbee6b8a Bug #1192: Remove cfb support from drivers where its use is an option.
Delete xf24_32bpp, as s3virge was the last user. Fix up some comments
    to refer to fb rather than cfb.
2004-09-17 03:04:50 +00:00
Alex Deucher
cec06d4126 Update comment 2004-09-16 22:15:05 +00:00
Kevin E Martin
dbeb8d28ac Updated release notes for bug #999.
Update Radeon man page to note that RenderAccel is now enabled by default
    on certain chips.
lg3d-base lg3d-rel-0-7-0 rel-0-6-1 XORG-6_8_0 XORG-6_8_1
2004-09-03 23:26:19 +00:00
Michel Daenzer
c829f667c8 Hotfix for Eric Anholt's fix for bug #1156 : Clear the
RADEON_NONSURF_AP0_SWP_16BPP bit for 4 bpp data, otherwise it breaks at
    depth 16.
XORG-6_7_99_904
2004-08-30 04:31:50 +00:00
Adam Jackson
677246740b Back out my last change, dupe. XORG-6_7_99_903 2004-08-27 20:31:26 +00:00
Adam Jackson
a8eaa15264 Bug #1061 (documentation-only update): Document the RenderAccel option in
the radeon manpage.
2004-08-27 18:32:40 +00:00
Eric Anholt
360dab062f Bug #1156: Fix the build on PPC by splitting the byte-order-setting code
into a separate routine. While here, fix the byte swapping in the 32bpp
    case. (Michel Daenzer)
2004-08-27 03:36:28 +00:00
Eric Anholt
9b19bbb4d3 Bug #1157: Fix Radeon line acceleration in the DMA case (Michel Daenzer). 2004-08-27 03:23:47 +00:00
Kevin E Martin
838488b6b4 Fix Radeon compilation without Xinerama (Bug #1179, Simon Schubert). 2004-08-27 02:38:56 +00:00
Kevin E Martin
5f54d4f45e Fix hangs during startup with Radeon driver (Bug #1007, Sjoerd Simons).
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-25 00:30:41 +00:00
Eric Anholt
dde880e876 Reenable Radeon Render acceleration now that interactions with 3D clients
should be resolved.
XORG-6_7_99_902
2004-08-17 20:22:55 +00:00
Eric Anholt
279efef503 Fix unresolved symbol warnings in r128 driver (Adam Jackson) XORG-6_7_99_901 2004-08-15 00:44:57 +00:00
Kevin E Martin
955f2b89f9 Fix context switching on Radeons and build problem when XF86DRI is not
defined (Bug #922, Eric Anholt).
XORG-6_7_99_2
2004-08-12 05:00:22 +00:00
Adam Jackson
8f3ea53f26 oops, these didn't added somehow. 2004-08-12 02:23:46 +00:00
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