platform/upstream/xorg-server.git
19 years agoTue Mar 22 12:47:16 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Tue, 22 Mar 2005 17:49:14 +0000 (17:49 +0000)]
Tue Mar 22 12:47:16 2005 Søren Sandmann <sandmann@redhat.com>
Only validate the source if it is a viewable window. Stops the cursor
    flickering when it is above an unviewable window.

19 years ago//bugs.freedesktop.org/show_bug.cgi?id=2771) attachment #2148
Roland Mainz [Sat, 19 Mar 2005 20:51:34 +0000 (20:51 +0000)]
//bugs.freedesktop.org/show_bug.cgi?id=2771) attachment #2148
    (https://bugs.freedesktop.org/attachment.cgi?id=2148) Remove RENDER
    extension from exclusion list for the standalone print server (Xprt) to
    get this extension enabled if the print DDX support it.

19 years agoAdd support for production version of ATI RN50/ES1000. (ATI Technologies
Michel Daenzer [Fri, 18 Mar 2005 22:36:47 +0000 (22:36 +0000)]
Add support for production version of ATI RN50/ES1000. (ATI Technologies
    Inc.)

19 years agoFix build on stock Mac OS X: Out of the box, Mac OS X does not include
Torrey Lyons [Thu, 17 Mar 2005 01:12:07 +0000 (01:12 +0000)]
Fix build on stock Mac OS X: Out of the box, Mac OS X does not include
    Freetype2, Expat, or PNG. Also global variables should be initalized in
    the Xserver.

19 years agoWed Mar 16 16:17:43 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Wed, 16 Mar 2005 21:25:43 +0000 (21:25 +0000)]
Wed Mar 16 16:17:43 2005 Søren Sandmann <sandmann@redhat.com>
Only validate the source if it is a viewable window. Stops the cursor
    flickering when it is above an unviewable window.

19 years agoAdd cursor support to Xglx
David Reveman [Wed, 16 Mar 2005 21:05:51 +0000 (21:05 +0000)]
Add cursor support to Xglx

19 years agoFix a few problems in Xgl
David Reveman [Wed, 16 Mar 2005 20:05:19 +0000 (20:05 +0000)]
Fix a few problems in Xgl

19 years agoDon't fail calling function when DriverFunc() for RandR fails as
Egbert Eich [Wed, 16 Mar 2005 12:16:06 +0000 (12:16 +0000)]
Don't fail calling function when DriverFunc() for RandR fails as
    DriverFunc() also returns FALSE when the specific sub function isn't
    supported. In the case of xf86RandRGetInfo() we simply rely on what has
    been set before and return TRUE. In the case of xf86RandRSetConfig() we
    only bail with FALSE if we have to do a rotation and the call fails. We
    presently cannot do rotation on the fly without the help of a driver
    function (Bugzilla #2745).

19 years agoMake message that gets printed when loader encounters a .o with no symbols
Egbert Eich [Wed, 16 Mar 2005 11:54:54 +0000 (11:54 +0000)]
Make message that gets printed when loader encounters a .o with no symbols
    less conspicuous.

19 years agoReturn early from xglFillRect when no rectangles should be filled
David Reveman [Fri, 11 Mar 2005 12:26:20 +0000 (12:26 +0000)]
Return early from xglFillRect when no rectangles should be filled

19 years agoUse negative stride and PBOs in Xgl
David Reveman [Fri, 11 Mar 2005 00:58:49 +0000 (00:58 +0000)]
Use negative stride and PBOs in Xgl

19 years agoForce rebuilding of window stack if a window changes it's state from
Alexander Gottwald [Thu, 10 Mar 2005 20:05:46 +0000 (20:05 +0000)]
Force rebuilding of window stack if a window changes it's state from
    minimized.

19 years agoAdding more errnos to the libc wrapper (Bugzilla #2672).
Egbert Eich [Tue, 8 Mar 2005 10:26:59 +0000 (10:26 +0000)]
Adding more errnos to the libc wrapper (Bugzilla #2672).

19 years agoReturn early from xglCopy if fall-back is more efficient
David Reveman [Tue, 8 Mar 2005 09:27:09 +0000 (09:27 +0000)]
Return early from xglCopy if fall-back is more efficient

19 years agoBetter ShmPutImage support in Xgl
David Reveman [Tue, 8 Mar 2005 09:12:17 +0000 (09:12 +0000)]
Better ShmPutImage support in Xgl

19 years agoMinor improvement to CopyArea in Xgl
David Reveman [Tue, 8 Mar 2005 09:03:38 +0000 (09:03 +0000)]
Minor improvement to CopyArea in Xgl

19 years agoImprove Xgl offscreen memory manager
David Reveman [Tue, 8 Mar 2005 08:48:22 +0000 (08:48 +0000)]
Improve Xgl offscreen memory manager

19 years agoFix Xgl glyph caching
David Reveman [Tue, 8 Mar 2005 08:30:47 +0000 (08:30 +0000)]
Fix Xgl glyph caching

19 years agoxc/programs/Xserver/dix/atom.c
Roland Mainz [Mon, 7 Mar 2005 23:02:59 +0000 (23:02 +0000)]
xc/programs/Xserver/dix/atom.c
xc/programs/Xserver/dix/colormap.c
xc/programs/Xserver/dix/cursor.c
xc/programs/Xserver/dix/devices.c
xc/programs/Xserver/dix/dispatch.c
xc/programs/Xserver/dix/dixfonts.c
xc/programs/Xserver/dix/dixutils.c
xc/programs/Xserver/dix/events.c
xc/programs/Xserver/dix/extension.c
xc/programs/Xserver/dix/gc.c
xc/programs/Xserver/dix/glyphcurs.c
xc/programs/Xserver/dix/grabs.c
xc/programs/Xserver/dix/main.c
xc/programs/Xserver/dix/pixmap.c
xc/programs/Xserver/dix/privates.c
xc/programs/Xserver/dix/property.c
xc/programs/Xserver/dix/resource.c
xc/programs/Xserver/dix/swaprep.c
xc/programs/Xserver/dix/swapreq.c
//bugs.freedesktop.org/show_bug.cgi?id=2560) attachment #2037
    (https://bugs.freedesktop.org/attachment.cgi?id=2037) ANSI-fy
    Xserver/dix code. The conversion preserves the comments which annotate
    variables. These have been moved into doxygen(esque?) "stubs" above
    each function. Patch by Mike Owens <etc@filespanker.com>.

19 years agoPrevent winRaiseWindow from calling ConfigureWindow if the message was sent
Alexander Gottwald [Mon, 7 Mar 2005 22:26:59 +0000 (22:26 +0000)]
Prevent winRaiseWindow from calling ConfigureWindow if the message was sent
    from within winDestroyWindowsWindow
DestroyWindow send a WM_WINDOWPOSCHANGED to another window causing a
    restacking of all windows, even of the window which is just about to
    destroyed and whose structures may not be intact anymore.

19 years agoxc/programs/Xserver/Imakefile
Roland Mainz [Sat, 5 Mar 2005 21:38:29 +0000 (21:38 +0000)]
xc/programs/Xserver/Imakefile
xc/programs/Xserver/hw/xnest/Imakefile
//bugs.freedesktop.org/show_bug.cgi?id=2653) attachment #2020
    (https://bugs.freedesktop.org/attachment.cgi?id=2020): Cleanup Xnest
    usage of the DPMS dummy stub functions from dpmsstubs.c instead of
    using it's own copy of these functions.

19 years ago//bugs.freedesktop.org/show_bug.cgi?id=2543) attachment #2019
Roland Mainz [Sat, 5 Mar 2005 20:47:12 +0000 (20:47 +0000)]
//bugs.freedesktop.org/show_bug.cgi?id=2543) attachment #2019
    (https://bugs.freedesktop.org/attachment.cgi?id=2019): Fix
    |xf86SignalHandler()| which resets the signal handler before setting
    the flag indicating a signal has been caught, theoretically allowing
    the possibility of infinite recursion. Patch by Andrew Church
    <xzilla@achurch.org>.

19 years agoxc/programs/Xserver/hw/xnest/Screen.c
Roland Mainz [Wed, 2 Mar 2005 14:21:40 +0000 (14:21 +0000)]
xc/programs/Xserver/hw/xnest/Screen.c
xc/programs/Xserver/hw/xnest/Window.c
//bugs.freedesktop.org/show_bug.cgi?id=2546) attachment #2005
    (https://bugs.freedesktop.org/attachment.cgi?id=2005): Fix Xnest to
    update the shape regions in the backend server whenever a client
    changes them in Xnest (the fix is to add a new wrapper which calls
    |xnestShapeWindow()| before calling |miSetShape()|). Patch by Mark
    McLoughlin <mark@skynet.ie>

19 years agoxc/config/cf/DragonFly.cf
Roland Mainz [Wed, 2 Mar 2005 11:20:30 +0000 (11:20 +0000)]
xc/config/cf/DragonFly.cf
xc/config/cf/Imake.cf
xc/config/cf/Imakefile
xc/config/imake/imake.c
xc/config/imake/imakemdep.h
xc/extras/drm/shared/drm.h
xc/include/Xos_r.h
xc/lib/xtrans/Xtranssock.c
xc/programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h
xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
//bugs.freedesktop.org/show_bug.cgi?id=1712) attachment #2004
    (https://bugs.freedesktop.org/attachment.cgi?id=2004): Add support for
    DragonFly/BSD platform. Patch by Jeroen Ruigrok <asmodai@tendra.org>
    and Mike Verona <firedragonfly@gmail.com>.

19 years agoIf a context is already attached copy it instead of reattaching to keep
Alexander Gottwald [Tue, 1 Mar 2005 18:58:17 +0000 (18:58 +0000)]
If a context is already attached copy it instead of reattaching to keep
    displaylists and share displaylists Enable tracing of often called
    functions with GLWIN_ENABLE_TRACE ForceCurrent is a no-op now

19 years agoMinor improvement to pixel transfers in Xgl
David Reveman [Tue, 1 Mar 2005 16:57:54 +0000 (16:57 +0000)]
Minor improvement to pixel transfers in Xgl

19 years agoAdd dither support to Xgl
David Reveman [Tue, 1 Mar 2005 16:34:31 +0000 (16:34 +0000)]
Add dither support to Xgl

19 years agoForce DPMS normal on screen enable
Keith Packard [Mon, 28 Feb 2005 20:45:15 +0000 (20:45 +0000)]
Force DPMS normal on screen enable
Add placeholder for bit used to redirect input
Add macrovision register defines

19 years agoon WM_WINDOWPOSCHANGED raise window directly and in sync without utilizing
Alexander Gottwald [Thu, 24 Feb 2005 22:53:17 +0000 (22:53 +0000)]
on WM_WINDOWPOSCHANGED raise window directly and in sync without utilizing
    the async windowmanager thread. Fixes some restacking problems occuring
    which were timing dependent Do not raise the window on WM_ACTIVATE
    Removed unused code for WM_WINDOWPOSCHANGING ESC is debug key. Print
    status but do not abort processing the message

19 years agoBugzilla #2599 (https://bugs.freedesktop.org/show_bug.cgi?id=2599)
Alexander Gottwald [Wed, 23 Feb 2005 19:17:10 +0000 (19:17 +0000)]
Bugzilla #2599 (https://bugs.freedesktop.org/show_bug.cgi?id=2599)
    attachment #1964 (https://bugs.freedesktop.org/attachment.cgi?id=1964):
    move miScreenInit in front of pScreen->function initializations to
    prevent it from resetting ClipNotify.

19 years agoMove the draw tracing supplies into ati_draw.h, and do some touchups on it.
Eric Anholt [Mon, 21 Feb 2005 03:44:10 +0000 (03:44 +0000)]
Move the draw tracing supplies into ati_draw.h, and do some touchups on it.
    (When tracing drawing, I want to know what I'm drawing to, at a
    minimum).

19 years agoExtend the filter support to R200, and do the check for filter settings in
Eric Anholt [Mon, 21 Feb 2005 03:05:55 +0000 (03:05 +0000)]
Extend the filter support to R200, and do the check for filter settings in
    Check rather than Prepare, to avoid migration of things we won't be
    able to accelerate.

19 years agoBug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.)
Michel Daenzer [Fri, 18 Feb 2005 19:55:35 +0000 (19:55 +0000)]
Bug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.)

19 years agoBug #2455: Make x86emu handle JNL correctly. (David Wong)
Adam Jackson [Fri, 18 Feb 2005 17:52:48 +0000 (17:52 +0000)]
Bug #2455: Make x86emu handle JNL correctly. (David Wong)

19 years agowinmultiwindowwindow.c
Alexander Gottwald [Sat, 12 Feb 2005 14:55:24 +0000 (14:55 +0000)]
winmultiwindowwindow.c
winmultiwindowwndproc.c
Cleanup some message debugging

19 years agowin.h
Alexander Gottwald [Sat, 12 Feb 2005 14:47:17 +0000 (14:47 +0000)]
win.h
winfont.c
winmultiwindowshape.c
winmultiwindowwindow.c
winpfbdd.c
winshaddd.c
winshadddnl.c
winshadgdi.c
Fix incorrect wrapping of functions. Ensure the pointers from pScreen point
    to the called function even if wrapped functions changed it
Set the window properties to NULL to avoid referencing freed memory because
    of timing problems after deleting a window
Do not wrap ChangeWindowAttributes. All functions are noops currently

19 years agoprint window handle in message outout
Alexander Gottwald [Sat, 12 Feb 2005 14:43:07 +0000 (14:43 +0000)]
print window handle in message outout

19 years agoFixes a few problems in Xgl
David Reveman [Fri, 11 Feb 2005 20:19:20 +0000 (20:19 +0000)]
Fixes a few problems in Xgl

19 years agoFri Feb 11 14:28:22 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Fri, 11 Feb 2005 19:38:04 +0000 (19:38 +0000)]
Fri Feb 11 14:28:22 2005 Søren Sandmann <sandmann@redhat.com>
When COMPOSITE is enabled, call CopyWindow even when the pixels "don't
    move" on screen.
Don't reject modes that are not supported by the unused monitor.

19 years agoBug #826: Make xorgconfig respect font installation outside $PROJECTROOT.
Adam Jackson [Fri, 11 Feb 2005 06:37:38 +0000 (06:37 +0000)]
Bug #826: Make xorgconfig respect font installation outside $PROJECTROOT.
    (Donnie Berkholz)

19 years agoAdded PCI2Host bus translations for linux PPC and fixed fixed bugs in
Egbert Eich [Wed, 9 Feb 2005 11:12:54 +0000 (11:12 +0000)]
Added PCI2Host bus translations for linux PPC and fixed fixed bugs in
    macros that apply these functions (Bill Randle Bugzilla #325 and #327).

19 years agoAdd initial evdev framework
Keith Packard [Wed, 9 Feb 2005 03:56:35 +0000 (03:56 +0000)]
Add initial evdev framework

19 years agoupdate Xgl to changes in damage API. Remove some flags to support software
Keith Packard [Tue, 8 Feb 2005 22:45:21 +0000 (22:45 +0000)]
update Xgl to changes in damage API. Remove some flags to support software
    mesa

19 years agohw/kdrive/ati/radeon_composite.c Support linear filtering
Keith Packard [Tue, 8 Feb 2005 22:43:54 +0000 (22:43 +0000)]
hw/kdrive/ati/radeon_composite.c Support linear filtering
Change how touch screens work -- make them just another 'mouse' device. Add
    unfinished (and unused) code to accelerate tiled fills.

19 years agoUpdated fix for ABNT2 and HK_Toggle keys.
Alexander Gottwald [Tue, 8 Feb 2005 15:20:01 +0000 (15:20 +0000)]
Updated fix for ABNT2 and HK_Toggle keys.

19 years agoBackout ABNT2 and HK_Toggle fix since it broke keys F1 and F4.
Alexander Gottwald [Tue, 8 Feb 2005 10:15:49 +0000 (10:15 +0000)]
Backout ABNT2 and HK_Toggle fix since it broke keys F1 and F4.

19 years agoSave gs register before calling the vm86_old syscall thru int 0x80. This is
Egbert Eich [Mon, 7 Feb 2005 18:16:05 +0000 (18:16 +0000)]
Save gs register before calling the vm86_old syscall thru int 0x80. This is
    required for linuxthreads as the TLS uses this register to keep track
    of local thread storage (Bugzilla #2431, J. Scott Berg).

19 years agoMoved keyboard layout table to external file.
Alexander Gottwald [Mon, 7 Feb 2005 15:08:31 +0000 (15:08 +0000)]
Moved keyboard layout table to external file.

19 years agofile winlayouts.h was initially added on branch CYGWIN.
Alexander Gottwald [Mon, 7 Feb 2005 15:05:39 +0000 (15:05 +0000)]
file winlayouts.h was initially added on branch CYGWIN.

19 years agoCheck the pixel clock choosen for a specific refresh rate against the
Egbert Eich [Mon, 7 Feb 2005 11:56:31 +0000 (11:56 +0000)]
Check the pixel clock choosen for a specific refresh rate against the
    maximally allowed pixel clock when choosing mode lines for
    VBESetVBEMode() and VESA BIOS version >= 3.0 (Bugzilla #2486).

19 years agoApplied patch (id=1354) by Mike A. Harris from bug #1901: The attached
Felix Kuehling [Fri, 4 Feb 2005 01:14:49 +0000 (01:14 +0000)]
Applied patch (id=1354) by Mike A. Harris from bug #1901: The attached
    patch updates a couple of PCI IDs for the Savage driver --
    Debian/Ubuntu/Red Hat/Fedora.

19 years agoBugzilla #1865 (https://bugs.freedesktop.org/show_bug.cgi?id=1865)
Alexander Gottwald [Thu, 3 Feb 2005 09:58:47 +0000 (09:58 +0000)]
Bugzilla #1865 (https://bugs.freedesktop.org/show_bug.cgi?id=1865)
    attachment #1827 (https://bugs.freedesktop.org/attachment.cgi?id=1827):
    check for va_copy not being defined and use __va_copy if available

19 years agoForce ShowWindow if XWin was started via run.exe. Fixes mainwindow not
Alexander Gottwald [Wed, 2 Feb 2005 18:06:14 +0000 (18:06 +0000)]
Force ShowWindow if XWin was started via run.exe. Fixes mainwindow not
    showing bug

19 years agoBugzilla #1866 (https://bugs.freedesktop.org/show_bug.cgi?id=1866)
Alexander Gottwald [Wed, 2 Feb 2005 17:17:56 +0000 (17:17 +0000)]
Bugzilla #1866 (https://bugs.freedesktop.org/show_bug.cgi?id=1866)
    attachment #1819 (https://bugs.freedesktop.org/attachment.cgi?id=1819):
    Define APIENTRY on windows to prevent <GL/gl.h> from loading
    <windows.h> removed leftovers from attachment #1818

19 years agoBugzilla #1866 (https://bugs.freedesktop.org/show_bug.cgi?id=1866)
Alexander Gottwald [Wed, 2 Feb 2005 15:03:44 +0000 (15:03 +0000)]
Bugzilla #1866 (https://bugs.freedesktop.org/show_bug.cgi?id=1866)
    attachment #1818 (https://bugs.freedesktop.org/attachment.cgi?id=1818):
    Include Xwindows.h before GL/gl.h on windows to prevent loading
    windows.h which pollutes our namespace with some symbols.

19 years agoBug #1294: Make sure RenderAccel hooks get wrapped in XAA init.
Adam Jackson [Wed, 2 Feb 2005 04:07:04 +0000 (04:07 +0000)]
Bug #1294: Make sure RenderAccel hooks get wrapped in XAA init.

19 years agoxc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h
Roland Mainz [Wed, 2 Feb 2005 00:55:21 +0000 (00:55 +0000)]
xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c
//bugs.freedesktop.org/show_bug.cgi?id=825) attachment #956
    (https://bugs.freedesktop.org/attachment.cgi?id=956): Fix build
    problems on Linux/SPARC. Patch by Jeremy Huddleston
    <eradicator@gentoo.org>. Approved in the 2005-01-31 Xorg
    release-wranglers phone call.

19 years agoUse negative stride for trapezoid masks in Xgl
David Reveman [Tue, 1 Feb 2005 21:22:02 +0000 (21:22 +0000)]
Use negative stride for trapezoid masks in Xgl

19 years agoxc/programs/Xserver/xkb/ddxLoad.c
Alexander Gottwald [Tue, 1 Feb 2005 18:14:01 +0000 (18:14 +0000)]
xc/programs/Xserver/xkb/ddxLoad.c
Bugzilla #2245 (https://bugs.freedesktop.org/show_bug.cgi?id=2245)
    attachment #1649 (https://bugs.freedesktop.org/attachment.cgi?id=1649):
    cleanup the generation of xkbcomp command lines. Allocate them
    dynamicly and remove unmaintainable length calculation.

19 years agowinmultiwindowwindow.c
Alexander Gottwald [Mon, 31 Jan 2005 10:49:30 +0000 (10:49 +0000)]
winmultiwindowwindow.c
Create windows with SWP_NOACTIVATE flag (updated) (Kensuke Matsuzaki)
Fixes for window ordering problem (updated) (Kensuke Matsuzaki)

19 years agoAdded hungarian keyboard layout.
Alexander Gottwald [Mon, 31 Jan 2005 10:47:32 +0000 (10:47 +0000)]
Added hungarian keyboard layout.

19 years agowinmessages.h
Alexander Gottwald [Mon, 31 Jan 2005 10:43:37 +0000 (10:43 +0000)]
winmessages.h
winmsg.h
winmsg.c
winmultiwindowwndproc.c
winwin32rootlesswndproc.c
Make logging of messages configurable with environment variables

19 years agoresolve SHGetFolderPath dynamicly since it is not available on all Windows
Alexander Gottwald [Mon, 31 Jan 2005 10:32:19 +0000 (10:32 +0000)]
resolve SHGetFolderPath dynamicly since it is not available on all Windows
    systems.

19 years ago//bugs.freedesktop.org/show_bug.cgi?id=1692> Remove reference to
Alan Coopersmith [Sun, 30 Jan 2005 21:18:46 +0000 (21:18 +0000)]
//bugs.freedesktop.org/show_bug.cgi?id=1692> Remove reference to
    nonexistent Monitors file from xorgconfig (Report & patch from Dejan
    Lesjak <dejan.lesjak@ijs.si>)

19 years agoprograms/Xserver/hw/xfree86/os-support/bsd/bsd_kbd.c Fix option
Matthieu Herrb [Sun, 30 Jan 2005 20:12:07 +0000 (20:12 +0000)]
programs/Xserver/hw/xfree86/os-support/bsd/bsd_kbd.c Fix option
    dontVTSwitch under *BSD, when XKB is disabled. Bugzilla #2252.

19 years agoUpdate to latest rev from http://pciids.sf.net/
Alan Coopersmith [Sat, 29 Jan 2005 01:01:03 +0000 (01:01 +0000)]
Update to latest rev from http://pciids.sf.net/
Remove entries that now duplicate pci.ids Add entries for new Nvidia boards
    added in recent nv driver update

19 years agoModifying X.Org Xserver DDX to allow to run X with ordinary user
Egbert Eich [Fri, 28 Jan 2005 16:13:00 +0000 (16:13 +0000)]
Modifying X.Org Xserver DDX to allow to run X with ordinary user
    permissions when no access to HW registers is required. For API changes
    which mostly involve the modifications to make the RRFunc (introduced
    with 6.8) more flexible please check Bugzilla #2407. NOTE: This patch
    applies changes to OS specific files for other OSes which I cannot
    test.

19 years agoFunctions like glGenTextures and glBindTexture are in OpenGL 1.1 and can be
Alexander Gottwald [Thu, 27 Jan 2005 20:33:34 +0000 (20:33 +0000)]
Functions like glGenTextures and glBindTexture are in OpenGL 1.1 and can be
    resolved at linktime. Fixes tuxkart (at least with wine)

19 years agoAdd an OUT_RING_REG macro for use with DMA_PACKET0, which is like OUT_RING
Eric Anholt [Thu, 27 Jan 2005 05:25:57 +0000 (05:25 +0000)]
Add an OUT_RING_REG macro for use with DMA_PACKET0, which is like OUT_RING
    but includes debugging to ensure that the reg being submitted is the
    one that follows in the packet. Convert most uses of OUT_RING to it,
    and convert a couple of OUT_REG sets to DMA_PACKET0/OUT_RING_REG. Also,
    add checking to see if more registers are submitted to a DMA_PACKET0
    than should be, to avoid hangs during stupid mistakes (checking for
    less isn't done).

19 years agoMove the bailing out due to ATIUploadToScreen() being unfinished up
Eric Anholt [Thu, 27 Jan 2005 03:52:49 +0000 (03:52 +0000)]
Move the bailing out due to ATIUploadToScreen() being unfinished up
    farther, so that the traces aren't as confusing.

19 years agoRemove an unused field.
Eric Anholt [Thu, 27 Jan 2005 03:50:48 +0000 (03:50 +0000)]
Remove an unused field.

19 years agoWhen we tested if a PCI base address was unassigned we didn't take into
Egbert Eich [Wed, 26 Jan 2005 15:50:17 +0000 (15:50 +0000)]
When we tested if a PCI base address was unassigned we didn't take into
    account that this bar could have been the upper part of a 64bit base
    address. This fix makes this code 64bit bar aware (Bugzilla #2382).

19 years agoRewrite of RemoveOverlaps() to make the code more readable. It was
Egbert Eich [Wed, 26 Jan 2005 15:45:49 +0000 (15:45 +0000)]
Rewrite of RemoveOverlaps() to make the code more readable. It was
    virtually impossible to determine if the old code did what it was
    supposed to do. Also changed paradigm: Trust the based address more
    than the (guessed) size. (Bugzilla #2383)

19 years agoXgl improvements
David Reveman [Wed, 26 Jan 2005 10:58:52 +0000 (10:58 +0000)]
Xgl improvements

19 years agoFix interpretation of 64bit PCI bases: read hi long word from the right bar
Egbert Eich [Tue, 25 Jan 2005 10:08:18 +0000 (10:08 +0000)]
Fix interpretation of 64bit PCI bases: read hi long word from the right bar
    (Michael Yaroslavtsev, Bugzilla #2322).

19 years agoFix R100 text by forcing the 3d engine to idle before executing more 3d
Keith Packard [Tue, 25 Jan 2005 06:04:21 +0000 (06:04 +0000)]
Fix R100 text by forcing the 3d engine to idle before executing more 3d
    commands. Add docs for the ISYNC_CNTL register, which doesn't quite do
    what we want.

19 years agoFinish converting RB2D_DSTCACHE to RB3D_DSTCACHE. Remove an extra pixel
Eric Anholt [Tue, 25 Jan 2005 03:37:05 +0000 (03:37 +0000)]
Finish converting RB2D_DSTCACHE to RB3D_DSTCACHE. Remove an extra pixel
    cache flush in the idle function. Init an extra reg for r200, and
    annotate the TCL_BYPASS better. Also, clean up some style nits from the
    last commit.

19 years agoAdd tracing. Hack Radeon cache registers to use 3D addresses. Works on M6
Keith Packard [Tue, 25 Jan 2005 02:39:48 +0000 (02:39 +0000)]
Add tracing. Hack Radeon cache registers to use 3D addresses. Works on M6

19 years agoFix a leak of a region when the driver's CheckComposite fails.
Eric Anholt [Tue, 25 Jan 2005 01:40:18 +0000 (01:40 +0000)]
Fix a leak of a region when the driver's CheckComposite fails.

19 years agoSilence a warning about uninitialized variable (though it would be).
Eric Anholt [Tue, 25 Jan 2005 01:38:26 +0000 (01:38 +0000)]
Silence a warning about uninitialized variable (though it would be).

19 years agoBug #2004: Make DDC delay slightly longer. (Thomas J. Moore)
Adam Jackson [Mon, 24 Jan 2005 20:44:49 +0000 (20:44 +0000)]
Bug #2004: Make DDC delay slightly longer. (Thomas J. Moore)

19 years agoAlan Cox requested that we check the kernel version before we use kernel
Egbert Eich [Fri, 21 Jan 2005 14:25:26 +0000 (14:25 +0000)]
Alan Cox requested that we check the kernel version before we use kernel
    VGA font save/restore as the required features have been added to Linux
    2.6.11 (Bugzilla #2277).

19 years agoReinitialize offscreen memory before enabling cursor on VT switch-to
Keith Packard [Thu, 20 Jan 2005 20:51:27 +0000 (20:51 +0000)]
Reinitialize offscreen memory before enabling cursor on VT switch-to

19 years agoAdd a set of macros for dealing with the repeated code to wait for a while
Eric Anholt [Thu, 20 Jan 2005 16:22:04 +0000 (16:22 +0000)]
Add a set of macros for dealing with the repeated code to wait for a while
    reading a register/attempting DMA. Now it'll wait for a certain number
    of seconds rather than a certain number of times through the loop
    before deciding that it's timed out and resetting the hardware. Also,
    add more timeout handling, and reset the draw state after resetting the
    engine.

19 years agoUse RadeonSwitchTo3D() instead of doing the WAIT_UNTIL ourselves (RST3D()
Eric Anholt [Thu, 20 Jan 2005 07:28:02 +0000 (07:28 +0000)]
Use RadeonSwitchTo3D() instead of doing the WAIT_UNTIL ourselves (RST3D()
    also does DC_FLUSH, which may be important).

19 years agoAdd R200 XV support, and make R100 (hopefully) use linear filtering instead
Eric Anholt [Thu, 20 Jan 2005 07:09:00 +0000 (07:09 +0000)]
Add R200 XV support, and make R100 (hopefully) use linear filtering instead
    of nearest. Also, use RadeonSwitchTo3D instead of doing the WAIT_UNTIL
    ourselves.

19 years agoMake R200 PDMA work -- primary queue sizes are now 9 bits, not 8.
Eric Anholt [Thu, 20 Jan 2005 01:09:48 +0000 (01:09 +0000)]
Make R200 PDMA work -- primary queue sizes are now 9 bits, not 8.

19 years agoFix debugging ErrorF() so it compiles when DEBUG is true.
Alan Coopersmith [Wed, 19 Jan 2005 22:23:20 +0000 (22:23 +0000)]
Fix debugging ErrorF() so it compiles when DEBUG is true.

19 years agoPrefer 32bpp to 24bpp. Fix 16 color planar mode (!)
Keith Packard [Wed, 19 Jan 2005 06:35:28 +0000 (06:35 +0000)]
Prefer 32bpp to 24bpp. Fix 16 color planar mode (!)

19 years agomore static server build fixes
Adam Jackson [Mon, 17 Jan 2005 17:17:45 +0000 (17:17 +0000)]
more static server build fixes

19 years agoBug #1895: Fix fbComposeGetSolid for BGR. (David S. Miller)
Adam Jackson [Sun, 16 Jan 2005 01:59:23 +0000 (01:59 +0000)]
Bug #1895: Fix fbComposeGetSolid for BGR. (David S. Miller)

19 years agoFri Jan 14 17:03:40 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Fri, 14 Jan 2005 22:07:59 +0000 (22:07 +0000)]
Fri Jan 14 17:03:40 2005 Søren Sandmann <sandmann@redhat.com>
Fix from Keith Packard for bitgravity bugs in the Composite extension,
    reported by Amir Bukhari.

19 years agoFri Jan 14 11:12:46 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Fri, 14 Jan 2005 21:56:51 +0000 (21:56 +0000)]
Fri Jan 14 11:12:46 2005 Søren Sandmann <sandmann@redhat.com>
Use mmx CopyArea in a few more places.

19 years ago- Don't suspend Xserver on APM standby request as this seems to cause
Egbert Eich [Fri, 14 Jan 2005 19:29:18 +0000 (19:29 +0000)]
- Don't suspend Xserver on APM standby request as this seems to cause
    problems on may systems which don't support APM standby and might not
    be required as according to the APM specs the chips should receive
    enough power to retain its state.
- Print out power state change requests to log file in all verbosity
    levels.
- Don't change server state if no driver PM function is registered.
    (Bugzilla #2279)

19 years agoLet the OS instead of X save/restore text console fonts on Linux. So far we
Egbert Eich [Fri, 14 Jan 2005 18:42:26 +0000 (18:42 +0000)]
Let the OS instead of X save/restore text console fonts on Linux. So far we
    relied on the generic VGA layer to restore text console fonts for us
    when shutting down the server or VT switching back to the text console.
    This has worked rather well but it has some downsides on Linux: a. Many
    people use fbdev as console text mode. In this case it is not necessary
    to save/restore console fonts as the console is running in graphics
    mode anyway. b. Some architectures don't have a fbdev console but
    require a full POST of even the primary card (ie. IA64). This posting
    has to take place before we even have a chance to save anything.
    Therefore the fonts we save are the once written to the chip by POST,
    not what has been programmed by the user. c. Certain chipsets utilize
    the BIOS to perform mode setting. This may interfer with the vga
    save/restore font function in a strange way. It would therefore be
    preferrable to let the OS - which has been used to set up the font in
    the first place - take care of saving/restoring the data. I will attach
    a patch which will do so for Linux. To make this fully functional a
    small patch needs to be applied to the Linux kernel. To disable this
    feature add: #define DoOSFontRestore NO to your host.def. (Bugzilla
    #2277)

19 years agoBuild fixes for static server.
Adam Jackson [Fri, 14 Jan 2005 17:14:08 +0000 (17:14 +0000)]
Build fixes for static server.

19 years agoAdded copyright notice.
Alexander Gottwald [Fri, 14 Jan 2005 12:17:10 +0000 (12:17 +0000)]
Added copyright notice.

19 years agoxc/programs/Xserver/afb/afbbres.c
Roland Mainz [Fri, 14 Jan 2005 08:37:30 +0000 (08:37 +0000)]
xc/programs/Xserver/afb/afbbres.c
xc/programs/Xserver/afb/afbbresd.c
xc/programs/Xserver/afb/afbclip.c
xc/programs/Xserver/afb/afbhrzvert.c
xc/programs/Xserver/afb/afbline.c
xc/programs/Xserver/afb/afbmodule.c
xc/programs/Xserver/afb/afbpixmap.c
xc/programs/Xserver/afb/afbpolypnt.c
xc/programs/Xserver/afb/afbpushpxl.c
xc/programs/Xserver/afb/afbtegblt.c
xc/programs/Xserver/cfb/Imakefile.inc
xc/programs/Xserver/cfb/cfballpriv.c
xc/programs/Xserver/cfb/cfbbitblt.c
xc/programs/Xserver/cfb/cfbcppl.c
xc/programs/Xserver/cfb/cfbgc.c
xc/programs/Xserver/cfb/cfbglblt8.c
xc/programs/Xserver/cfb/cfbmap.h
xc/programs/Xserver/cfb/cfbpixmap.c
xc/programs/Xserver/cfb/cfbscrinit.c
xc/programs/Xserver/cfb/cfbtab.h
xc/programs/Xserver/cfb/cfbteblt8.c
xc/programs/Xserver/cfb/cfbunmap.h
xc/programs/Xserver/mfb/maskbits.c
xc/programs/Xserver/mfb/maskbits.h
xc/programs/Xserver/mfb/mergerop.h
xc/programs/Xserver/mfb/mfb.h
xc/programs/Xserver/mfb/mfbclip.c
xc/programs/Xserver/mfb/mfbfont.c
xc/programs/Xserver/mfb/mfbgc.c
xc/programs/Xserver/mfb/mfbmisc.c
xc/programs/Xserver/mfb/mfbpushpxl.c
//bugs.freedesktop.org/show_bug.cgi?id=1114) attachment #667
    (https://bugs.freedesktop.org/attachment.cgi?id=667): Convert afb and
    cfb{,16,24,32} to be dlloader-friendly. Patch by Adam Jackson
    <ajax@freedesktop.org>.

19 years agoThu Jan 13 17:45:13 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Thu, 13 Jan 2005 23:07:41 +0000 (23:07 +0000)]
Thu Jan 13 17:45:13 2005 Søren Sandmann <sandmann@redhat.com>
Make sure the pixmap is a valid new resource
Make sure the context is a legal new resource.
Handle null attrib_list.
Handle null attrib_list; copy attrib_list to data; actually allocate the
    new GLXDrawable.

19 years agoThu Jan 13 15:40:29 2005 Søren Sandmann <sandmann@redhat.com>
Søren Sandmann Pedersen [Thu, 13 Jan 2005 20:49:21 +0000 (20:49 +0000)]
Thu Jan 13 15:40:29 2005 Søren Sandmann <sandmann@redhat.com>
Add MMX implementation of non-repeating source IN repeating mask, aka
    "translucent window".
Add MMX implementation of CopyArea.
Use MMX implementation of CopyArea.
Use the new implementations.