Commit Graph

1058 Commits

Author SHA1 Message Date
Egbert Eich
7c3dd0a5a7 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)
2005-01-26 15:45:49 +00:00
David Reveman
9817582328 Xgl improvements 2005-01-26 10:58:52 +00:00
Egbert Eich
13b5a93b70 Fix interpretation of 64bit PCI bases: read hi long word from the right bar
(Michael Yaroslavtsev, Bugzilla #2322).
2005-01-25 10:08:18 +00:00
Keith Packard
8813898ef6 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.
2005-01-25 06:04:21 +00:00
Eric Anholt
33155b4fd3 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.
2005-01-25 03:37:05 +00:00
Keith Packard
3b1f1508b1 Add tracing. Hack Radeon cache registers to use 3D addresses. Works on M6 2005-01-25 02:39:48 +00:00
Eric Anholt
6eaca06dac Fix a leak of a region when the driver's CheckComposite fails. 2005-01-25 01:40:18 +00:00
Eric Anholt
8a1bee8ea9 Silence a warning about uninitialized variable (though it would be). 2005-01-25 01:38:26 +00:00
Adam Jackson
67eeede4e1 Bug #2004: Make DDC delay slightly longer. (Thomas J. Moore) 2005-01-24 20:44:49 +00:00
Egbert Eich
55736aa8c1 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).
2005-01-21 14:25:26 +00:00
Keith Packard
d7263b11f0 Reinitialize offscreen memory before enabling cursor on VT switch-to 2005-01-20 20:51:27 +00:00
Eric Anholt
13c6b2f0b6 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.
2005-01-20 16:22:04 +00:00
Eric Anholt
dbe45c7159 Use RadeonSwitchTo3D() instead of doing the WAIT_UNTIL ourselves (RST3D()
also does DC_FLUSH, which may be important).
2005-01-20 07:28:02 +00:00
Eric Anholt
fc43c15494 Add R200 XV support, and make R100 (hopefully) use linear filtering instead
of nearest. Also, use RadeonSwitchTo3D instead of doing the WAIT_UNTIL
    ourselves.
2005-01-20 07:09:00 +00:00
Eric Anholt
7775506534 Make R200 PDMA work -- primary queue sizes are now 9 bits, not 8. 2005-01-20 01:09:48 +00:00
Alan Coopersmith
9bd876768b Fix debugging ErrorF() so it compiles when DEBUG is true. 2005-01-19 22:23:20 +00:00
Keith Packard
ff433adba3 Prefer 32bpp to 24bpp. Fix 16 color planar mode (!) 2005-01-19 06:35:28 +00:00
Adam Jackson
cbcdae5a3f more static server build fixes 2005-01-17 17:17:45 +00:00
Adam Jackson
79a7120983 Bug #1895: Fix fbComposeGetSolid for BGR. (David S. Miller) 2005-01-16 01:59:23 +00:00
Søren Sandmann Pedersen
24cdd188dc 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.
2005-01-14 22:07:59 +00:00
Søren Sandmann Pedersen
7db2e666e2 Fri Jan 14 11:12:46 2005 Søren Sandmann <sandmann@redhat.com>
Use mmx CopyArea in a few more places.
2005-01-14 21:56:51 +00:00
Egbert Eich
761f937fde - 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)
2005-01-14 19:29:18 +00:00
Egbert Eich
16f9d2d72a 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)
2005-01-14 18:42:26 +00:00
Adam Jackson
6c0b03a236 Build fixes for static server. 2005-01-14 17:14:08 +00:00
Alexander Gottwald
df4a1fa9c5 Added copyright notice. 2005-01-14 12:17:10 +00:00
Roland Mainz
2137bc6eb9 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>.
2005-01-14 08:37:30 +00:00
Søren Sandmann Pedersen
61b3c3aef5 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.
2005-01-13 23:07:41 +00:00
Søren Sandmann Pedersen
433c38f22f 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.
2005-01-13 20:49:21 +00:00
Adam Jackson
a303670107 Bug #2114: PPC64 Linux build fix: use system definition of eieio().
Originally Gentoo bug #66223. (Tim Yamin, Donnie Berkholz)
2005-01-13 01:22:53 +00:00
Alexander Gottwald
15895b4117 winmsg.c
Introduce function winTrace which prints log message with verbosity 10
Use winTrace for 3 heavily called functions
2005-01-12 16:10:00 +00:00
Alexander Gottwald
8aabc94596 Document the -silent-dup-error switch 2005-01-11 17:33:03 +00:00
Egbert Eich
b6301dc410 Minor format fix.
Added explanatory comment and debug code.
Added comment.
2005-01-11 14:59:02 +00:00
Alexander Gottwald
27fc6874b3 Do not grab ALT-TAB when window is in multiwindow mode 2005-01-11 12:03:34 +00:00
Alexander Gottwald
d365664c58 Fix crash with not matching definitions of PATH_MAX 2005-01-11 11:58:12 +00:00
Roland Mainz
65b893a707 //bugs.freedesktop.org/show_bug.cgi?id=2167) attachment #1641
(https://bugs.freedesktop.org/attachment.cgi?id=1641): Fix broken
    Solaris print queue enumeration.
2005-01-10 23:38:50 +00:00
Roland Mainz
c6b5a94311 //bugs.freedesktop.org/show_bug.cgi?id=2254) attachment #1659
(https://bugs.freedesktop.org/attachment.cgi?id=1659): Refix for gcc4.0
    build failure. It seems that the |ExecCommand()| function has no
    consumer and can safely be removed.
2005-01-10 18:47:55 +00:00
Alexander Gottwald
eb701e9b44 winkeybd.h
Adjust keysyms for Hiragana_Katakana toggle and backslash/underscore on
    Japanese and ABNT2 keyboards
2005-01-10 17:54:31 +00:00
Roland Mainz
2ef9d01c4d xc/programs/Xserver/Xprint/Util.c
xc/programs/Xserver/Xprint/attributes.h
//bugs.freedesktop.org/show_bug.cgi?id=2254) attachment #1654
    (https://bugs.freedesktop.org/attachment.cgi?id=1654): Fix gcc4.0 build
    failure. Patch by Egbert Eich <eich@freedesktop.org> and Roland Mainz
    <roland.mainz@nrubsig.org>
2005-01-10 14:16:29 +00:00
Alexander Gottwald
57387e115c winkeybd.h
winkeyhook.c
Make keyhook feature work in multiwindowmode too Hook windows keys
2005-01-10 13:13:08 +00:00
Egbert Eich
f417159e51 Make option 'DontVTSwitch' work again with kbd driver under Linux. The kbd
driver now calls the OS layer to handle special keys. Possibly other
    special keys and other OSes need to be looked at also. (Helmut
    Fahrion).
2005-01-10 12:20:33 +00:00
Alexander Gottwald
fe4e74241f xc/programs/Xserver/xkb/ddxList.c
//bugs.freedesktop.org/show_bug.cgi?id=2245) attachment #1647
    (https://bugs.freedesktop.org/attachment.cgi?id=1647): export
    Win32System and Win32TempDir remove #ifdef WIN32 block for building
    xkbcomp commandline create win32 tempfile in system tempdir use
    PATH_MAX*4 for commandline buffer unlink tmpfile again
2005-01-09 17:35:47 +00:00
Alexander Gottwald
ba25f7e8dc //bugs.freedesktop.org/show_bug.cgi?id=2245) attachment #1645
(https://bugs.freedesktop.org/attachment.cgi?id=1645): cleanup some
    #ifdef __UNIXOS2__ and WIN32 blocks. make OutputDirectory check the
    size of the buffer quote all file and pathnames in the xkbcomp
    commandline use PATH_MAX*4 for commandline buffer
2005-01-09 15:29:45 +00:00
Roland Mainz
2410b61f43 //bugs.freedesktop.org/show_bug.cgi?id=2240) attachment #1642
(https://bugs.freedesktop.org/attachment.cgi?id=1642): Fix incorrect
    usage of /usr/bin/tr in startup script (the used "[\n]" is neither
    correct or portable, using "\n" seems to be sufficient (this fixes
    various "random" issues, including including Debian bug #258419 and
    Debian bug #264983). Patch by Drew Parsons <dparsons@debian.org>.
2005-01-09 00:38:08 +00:00
Alexander Gottwald
709a2343a8 Fix a possible null-pointer dereference (Keishi Suenaga) 2005-01-08 13:01:03 +00:00
Alexander Gottwald
d332a909f8 Imakefile
InitOutput.c
XWin.rc
winerror.c
wintrayicon.c
winvideo.c
winshaddd.c
Set PROJECT_NAME in Imakefile to create alternative window titles for
    Cygwin/X and Xming
2005-01-06 21:29:09 +00:00
Alexander Gottwald
d6a74f2c4a Imakefile
InitOutput.c
XWin.rc
winerror.c
wintrayicon.c
winvideo.c
Set PROJECT_NAME in Imakefile to create alternative window titles for
    Cygwin/X and Xming
2005-01-06 16:02:47 +00:00
Alexander Gottwald
3165236483 Fix crash with non-nullterminated strings (reported by Øyvind Harboe) 2005-01-06 13:24:57 +00:00
Alan Coopersmith
591ac9c811 Bugzilla #2211 (https://bugs.freedesktop.org/show_bug.cgi?id=2211)
attachment #1627 (https://bugs.freedesktop.org/attachment.cgi?id=1627):
    xorgconfig default keyboard model outdated (should be pc105, not
    pc101/pc102)
2005-01-04 00:16:20 +00:00
Søren Sandmann Pedersen
af8bd71617 Mon Jan 3 12:45:10 2005 Søren Sandmann <sandmann@redhat.com>
Clean-ups and support for AMD64. Bug 1067. Patch by Nicholas Miell
    (nmiell@comcast.net)
Add support for AMD64
Many cleanups using <mmintrin.h> instead of __builin_ia32_*, and intrinsics
    instead of inline assembly. Also unconditionally use pshufw on AMD64.
s/USE_GCC34_MMX/USE_MMX/g
2005-01-03 21:32:22 +00:00
Egbert Eich
5f39eff851 Added missing return value (Bugzilla #2205) Problem found by Stefan Kulow. 2005-01-03 15:43:55 +00:00