Commit Graph

316 Commits

Author SHA1 Message Date
Adam Jackson
40ad7321f5 Generate useful loadable modules by actually linking in the blobs from the
DIX
2005-07-13 21:52:51 +00:00
Søren Sandmann Pedersen
74a534f63c xc/programs/Xserver/hw/xfree86/drivers/i2c/*.c: include xorg-config.h
instead of config.h xserver/xorg/hw/xfree86/i2c/Makefile.am: Add i2c
    drivers
2005-07-13 20:19:38 +00:00
Daniel Stone
66bc36473c Use builddir, not srcdir, for built files. 2005-07-12 23:36:27 +00:00
Alan Coopersmith
d6808a48d2 Fix scanpci -v core dump when subsys vendor/device id's are NOVENDOR &
NODEVICE. Bug #3763 <https://bugs.freedesktop.org/show_bug.cgi?id=3763>
    Patch #3074 <https://bugs.freedesktop.org/attachment.cgi?id=3074>
2005-07-12 18:16:03 +00:00
Lars Knoll
cda9c7b267 add x86emu. 2005-07-12 14:50:10 +00:00
Kevin E Martin
b7a9a6a035 Remove unneeded xf86drm.h includes to fix modular build. 2005-07-11 17:52:00 +00:00
Adam Jackson
cf4dfd650d Prep for modular builds by adding guarded #include "config.h" everywhere. 2005-07-11 02:29:50 +00:00
Adam Jackson
c5548086f3 Start filling in glx build. Add xf86Version.h and a few DRI headers to the
sdk (needed for modular driver builds).
2005-07-11 00:42:52 +00:00
Alan Coopersmith
78fab90230 Bug #3740 <https://bugs.freedesktop.org/show_bug.cgi?id=3740> Patch #3058
<https://bugs.freedesktop.org/attachment.cgi?id=3058>
08-Jul-2005 nv driver updates from Mark Vojkovich:
Change some console restore code for NV11. Hopefully, we can more reliably
    restore the console for desktop systems using DVI. This may correct a
    recent regression on NV11.
Also, new PCI IDs.
Add new nVidia PCI ids to match nv_driver.c changes.
2005-07-09 16:51:58 +00:00
Zack Rusin
3c92389185 Patch from Thomas Winischhofer to kick out all pixmaps to system ram upon a
VT switch and vice versa when returning.
2005-07-09 14:15:35 +00:00
Adam Jackson
327741486e Don't try to link fb, shadow, or vgahw into the loadable Xorg server, as
they're only supposed to be loadable modules.
2005-07-09 02:22:29 +00:00
Adam Jackson
2b8e4db9ac -lXfont isn't enough for libbitmap, you need to get the -L from pkg-config 2005-07-08 20:27:30 +00:00
Zack Rusin
e84648df7d mark drawable as dirty on copying/painting windows 2005-07-08 17:07:52 +00:00
Zack Rusin
4ab73a73f4 heh, oops (thanks Thomas) 2005-07-08 07:43:00 +00:00
Alan Coopersmith
0a28516a6e More compiler warning fixes for missing prototypes:
Add prototype for XkbSetExtension()
Add #include <ctype.h> for isspace() & isdigit()
Add #include <grp.h> (for initgroups()) and remove extra *
Add prototype for xorgGetVersion()
2005-07-07 19:07:28 +00:00
Zack Rusin
d0dc574adb Check vtSema before accelerating primitives and sync in fallbacks only if
we got vtSema
2005-07-07 15:05:02 +00:00
Alan Coopersmith
7da3f4a786 Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Fix warnings
about redefined macros (Peter Breitenlohner)
2005-07-07 03:12:40 +00:00
Alan Hourihane
4073f24c90 add missing PictureTransformPoint3d call 2005-07-06 15:14:30 +00:00
Alan Coopersmith
456844a613 Remove Speedo font module documentation.
Remove Speedo from list of font directories
Update default font path to remove Speedo, add TTF.
2005-07-05 18:42:32 +00:00
Zack Rusin
5e50ae22bf remove the temporary debugging output 2005-07-04 18:55:53 +00:00
Adam Jackson
7586ac6ede Bug #2216: Multiseat support. From various Debian and Ubuntu patches by
Aivils Stoss, Andreas Schuldei, Branden Robinson, and Daniel Stone.
2005-07-04 18:41:04 +00:00
Zack Rusin
e34f31762e This fixes the close screen mess (crash reported by Thomas). Also hide the
private Exa screen definition. Properly cleanup on screen close and do
    not delete the private screen in the DriverFini call.
2005-07-04 14:15:57 +00:00
Alan Coopersmith
7dc547252a Fix builds on non-GLIBC systems (missing __GLIBC_PREREQ). Add Solaris stack
backtrace dumper.
2005-07-04 00:16:23 +00:00
Daniel Stone
d010de6979 Abandon the nostdinc experiment. 2005-07-03 15:51:23 +00:00
Daniel Stone
b0d80e76d2 Add missing include paths. 2005-07-03 12:17:04 +00:00
Daniel Stone
c1e69798ad Add explicit PSZ defines, remove unnecessary dix-config.h include.
Add -DXF86PM, forgotten from last commit.
2005-07-03 12:15:16 +00:00
Daniel Stone
4e501d35e2 Remove needless usage of DECkeysym.h. 2005-07-03 10:51:16 +00:00
Daniel Stone
a107f59951 Predicate usage of xf86OSPM functions on #ifdef XF86PM.
Remove needless include of ../input/mouse/mouse.h.
2005-07-03 09:39:54 +00:00
Daniel Stone
0bb669638f Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h". 2005-07-03 08:53:54 +00:00
Daniel Stone
e03198972c Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
    source files in the xserver/xorg tree, predicated on defines of
    HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
    <X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Kevin E Martin
b8aef6c474 Fix build issues. 2005-07-03 03:28:27 +00:00
Daniel Stone
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00
Adam Jackson
e58c09d31b Bug #3687: Print backtraces on fatal signal on glibc systems. 2005-07-02 18:06:05 +00:00
Daniel Stone
9b1debcdb6 Change all misc.h and os.h references to <X11/foo.h>. 2005-07-01 22:43:43 +00:00
Daniel Stone
303c281f95 Add auto-generated header files. 2005-07-01 21:15:20 +00:00
Daniel Stone
7ecc2d526c Remove fbcmap.c hacks from the DIX. 2005-07-01 21:12:24 +00:00
Daniel Stone
6251f9c00a Minor build system tweaks. 2005-07-01 21:11:16 +00:00
Daniel Stone
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Zack Rusin
aabb868920 removing all debugging output from the default build :) 2005-07-01 13:30:29 +00:00
Zack Rusin
0fa9d1fb48 Leave debugging output for only the interested parties. 2005-07-01 12:24:30 +00:00
Zack Rusin
0df446ab88 Missed this. Spotted by Thomas. 2005-07-01 10:39:21 +00:00
Lars Knoll
b5b2a0522e Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-07-01 10:05:43 +00:00
Zack Rusin
30c019e847 Adding the new acceleration architecture: Exa. It's meant to replace XAA in
the coming months.
2005-07-01 08:56:12 +00:00
Alex Deucher
5e381441ff - Fix Support for Philips FM1236/F tuner on ATI AIW 9600 XT (Jeff Smith)
Bug 3401
2005-07-01 02:56:04 +00:00
Lars Knoll
b6c7afe0b9 compile 2005-06-29 15:19:14 +00:00
Adam Jackson
ce0e11aeac Bug #2447: Fix argument order to xf86DrvMsgVerb. (Luc Verhaegen) 2005-06-28 21:05:31 +00:00
Alan Coopersmith
5ef5aec9bb Update to latest snapshot (27-May-2005) from http://pciids.sf.net/ 2005-06-28 02:04:54 +00:00
Adam Jackson
b262a18aad Cosmetic correctness fixes: miEmptyBox and miEmptyData are variables, and
miGlyphExtents is a function.
2005-06-26 02:48:36 +00:00
Adam Jackson
8562f800b8 Bug #3626: _X_EXPORT tags for video and input drivers. 2005-06-25 21:16:54 +00:00
Søren Sandmann Pedersen
9743adbe94 Add Type1 subdirectory to lib/Xfonts, update build system accordingly. 2005-06-16 20:50:12 +00:00
Ian Romanick
68e856ff5b DRM 20050615 import 2005-06-15 18:31:52 +00:00
Ian Romanick
6e301a8e97 Initial revision 2005-06-15 18:31:52 +00:00
Eric Anholt
0802a2824c Correct the CHIPSET lines for the 3dfx cards so the tdfx driver will
recognize them. I'm not sure if this file is supposed to be maintained
    still, but I'd like to close FreeBSD ports/32121 which has been around
    for far too long.
2005-06-13 18:14:53 +00:00
Alan Coopersmith
72ca8e1b54 Add agpgart support for Solaris x86/x64. [Requires Solaris "Nevada" build
16 or later to get kernel side for now.] (Sophia Li - Sun Microsystems)
2005-06-09 03:11:58 +00:00
Alan Coopersmith
88d49bed00 Need to set initial screen size at device open time too. 2005-06-03 21:49:11 +00:00
Alan Coopersmith
2fc290f646 Solaris VUID mouse protocol updates:
- support for mouse-like devices that report absolute coordinates
- support for mouse-like devices that need to know screen size so they can
    scale absolute coordinates to screen size
- fix 3-button emulation
2005-06-01 17:45:17 +00:00
Adam Jackson
8537146e36 Bug #3368: Cosmetic cleanup to DIX export list. 2005-05-30 18:44:55 +00:00
Alan Coopersmith
cebd7348d2 Change hardcoded /usr/X11R6 to PROJECTROOT. Change hardcoded XF86Config to
XCONFIGFILE.
2005-05-28 00:08:03 +00:00
Alan Coopersmith
62343f5162 Bugzilla #2800 <https://bugs.freedesktop.org/show_bug.cgi?id=2800> Xevie
extension crash with signal 11 on keyboard Bugzilla #1205
    <https://bugs.freedesktop.org/show_bug.cgi?id=1205> Xevie client
    receives two KeyPress events on consumed keys when XKB is enabled
Patch #2223 <https://bugs.freedesktop.org/attachment.cgi?id=2223> Fixes for
    both of these and some other Xevie bugs (Derek Wang - Sun Microsystems)
2005-05-22 01:12:49 +00:00
Alan Coopersmith
a8a61bbe22 Initial experimental support for AMD64 builds on Solaris 10 x86. Improved
support for 64-bit SPARC builds on Solaris as well.
2005-05-21 07:46:38 +00:00
Adam Jackson
ef4401ff8a Bug #3334: Clean up remnants from the PEX, XIE, and BEZIER extensions. 2005-05-19 18:53:51 +00:00
Adam Jackson
07d1e9ae5f Bug #3066: Promote frameBufferPhysicalAddress to pointer from CARD32; bump
DRIINFO version to match. Fix various pointer printfs in libdri to be
    64-bit aware. Silence a warning about redefining noXFree86DRIExtension.
    (Jesse Barnes)
2005-05-18 19:44:35 +00:00
Adam Jackson
b87a32fb0e Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the version
number of the DRIInfoRec, disambiguating it from the XF86DRI protocol
    version number. Modify DRIQueryVersion to return the libdri version
    number, which all DDXes were requesting implicitly. Fix the DDXes to
    check for the DRIINFO version they were compiled against.
2005-05-18 17:47:35 +00:00
Egbert Eich
fddcde777f VBESetVBEMode() calls int10 0x4f02 to set a VBE video mode. This can be a
standard mode solely determined by the mode ID or it may be a detailed
    mode with almost arbitrary mode parameters. The mode parameters are
    passed to the BIOS in a memory area pointed to by es:di. If bit 11 in
    the video mode is set this memory area is evaluated. When we don't have
    such an area (passed to VBESetVBEMode() this function should unset this
    bit for sanity reasons. (Bugzilla #3329)
2005-05-18 15:38:50 +00:00
Egbert Eich
bbbb0a3a84 Avoid segfaults if the number of user supplied monitor ranges exceed the
number of preallocated slots. We should really make this dynamic - but
    I don't think this ever caused a problem so it's more or less academic.
A. Avoid that *SyncStart starts before *BlankStart. If *BlankStart >
*SyncStart it is made = *SyncStart and its width is made maximal but such
    that the blank does not exceed *Total. Since the Sync width has the
    same restrictions as the Blank width monitors should still be able to
    clamp after the sync pulse. B. Over time mode validation has become
    inconsistent when people started to add additional features to the mode
    validation. One such feature is that the mode->Crtc* values have been
    (ab)used to allow the driver ValidMode() function to pass driver
    normalized timing values back to the validation function. The
    introduction of these features made the code less readable and created
    numerous possibly unintended side effects in the validation semantics.
    I've attempted to consolidate these changes making the code more
    consistent and eliminating a number of side effects. This should not
    cause problems for the majority of drivers, still it should receive
    testing - especially with ATi Mach64 and Radeon code. (Bugzilla #3325).
2005-05-18 10:31:53 +00:00
Thomas Hellstrom
a90af4a2e6 Bug 2750: Prevent mtrr_remove_offending from ending up in an endless loop
if the offending region refuses to be removed.
2005-05-15 17:45:47 +00:00
Eric Anholt
8993e70d8d Bugzilla #2561: Disable some keycode translations on PC98, which had
various bad effects including modifier keys not working.
2005-05-10 00:12:17 +00:00
Eric Anholt
e78abf3bdf Bugzilla #2429: Correct the sysarch prototype for FreeBSD/alpha. 2005-05-09 23:42:26 +00:00
Eric Anholt
3f1a1551df Increase the maximum number of buttons from 12 to 24. Helps with
button-happy mice like the Logitech MediaPlay. (Bugzilla #2390)
2005-05-09 23:26:02 +00:00
Eric Anholt
d5739efd2c Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter
    Grehan, grehan at FreeBSD dot org)
2005-05-04 04:14:58 +00:00
Adam Jackson
07cc29cf69 Bug #2138: When the server is built with MakeDllModules YES, prefer
dlloader modules to elfloader modules, and vice versa when
    MakeDllModules is NO. Based on 028_loader_speed_hack.diff from Ubuntu
    (Daniel Stone).
2005-04-25 00:25:39 +00:00
Adam Jackson
6c37648754 Bug #2141: Rework misleading warning message when APM support is
unavailable. (Previous patch on 2005-04-14 changed the wrong message.)
2005-04-25 00:11:21 +00:00
Adam Jackson
39eb279718 Bug #3016: Don't complain as loudly about failing to load a module that's
already loaded.
2005-04-23 19:16:10 +00:00
Adam Jackson
139f900c56 Bug #3109: Handle R_ALPHA_BRSGP relocations in elfloader. (Sergey Tikhonov) 2005-04-23 19:01:13 +00:00
Alan Coopersmith
0e80fe0e60 Clean up formatting, projectroot substutition, and grammatical nits. 2005-04-22 22:11:26 +00:00
Alan Coopersmith
dcfb97204b Work around clash between Solaris headers and module loader headers over
definition of FILE.
2005-04-22 22:04:37 +00:00
Adam Jackson
07bd7df6a6 Bug #3069: Drop the BuildLowMem hack, it doesn't compile and isn't useful. 2005-04-22 20:49:50 +00:00
Adam Jackson
d450a70e00 Bug #2373: SGI Altix platform support. (Shrijeet Mukherjee, Jesse Barnes,
Bjorn Helgaas, Egbert Eich.)
2005-04-22 17:45:14 +00:00
Adam Jackson
16c2499b8f Bug #2373: SGI Altix platform support. (Shrijeet Mukherjee, Jesse Barnes,
Bjorn Helgaas, Egbert Eich.)
2005-04-22 16:49:22 +00:00
Daniel Stone
8565b6c0e2 Change xf86bigfont.h include to X11/extensions/xf86bigfont.h. 2005-04-21 00:31:31 +00:00
Daniel Stone
b241c703a2 Change keymap.h includes to X11/keymap.h 2005-04-21 00:31:13 +00:00
Daniel Stone
292c4cff26 Fix includes right throughout the Xserver tree:
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
    <X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:48 +00:00
Bogdan Diaconescu
6bde764de1 Added a log pring for the parameters 2005-04-17 23:02:25 +00:00
Bogdan Diaconescu
8594b8f289 Added new tuner FM1236MK3 PAL version 2005-04-17 23:00:58 +00:00
Bogdan Diaconescu
7f74e3aebd This is the UDA1380 sound coder-decoder module 2005-04-17 22:58:03 +00:00
Roland Mainz
4f686f158b //bugs.freedesktop.org/show_bug.cgi?id=2885) attachment #2434
(https://bugs.freedesktop.org/attachment.cgi?id=2434) Fix Solaris build
    bustage caused by namespace collision between symbols defined in
    <sys/kbd.h> and those in "xf86_OSlib.h". Patch by Alan Coopersmith
    <alan.coopersmith@sun.com>.
2005-04-15 23:34:39 +00:00
Adam Jackson
7472fcfdd4 Bug #2141: Rework misleading warning message when APM support is
unavailable.
2005-04-15 00:18:58 +00:00
Alan Hourihane
f45208a7e9 update static file from pci.ids 2005-04-11 11:06:21 +00:00
Alan Hourihane
b47f39b417 import latest pci.ids file 2005-04-11 10:57:33 +00:00
Egbert Eich
6848b03538 Correct the mask bits when checking for a 64bit memory base in PCI config
space (bugzilla #2963).
2005-04-11 10:05:38 +00:00
Egbert Eich
de5d24a200 Fixed sentinels in Xt, editres and xedit to reduce number of warnings with
gcc4 (Andreas Schwab).
2005-04-04 10:17:06 +00:00
Egbert Eich
277ff06e99 Fix typo leading to bogus code in xorgcfg (Andreas Schwab). 2005-04-04 10:11:51 +00:00
Egbert Eich
7eb6b69ebd Support for HP's IPF ZX1 systems (Alex Williamson). 2005-04-04 09:55:25 +00:00
Egbert Eich
231c00e8fb When not using dlopen ia64 needs an extra cache flush to ensure the icache
is coherent when modules are loaded (Alex Williamson).
2005-04-04 09:47:07 +00:00
Matthieu Herrb
fe37cc7e7b programs/Xserver/hw/xfree86/loader/xf86sym.c
programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Fix setjump0
    declaration for DllLoader.
2005-04-01 21:28:50 +00:00
Kevin E Martin
ef60998a82 bugzilla #2880 (https://bugs.freedesktop.org/show_bug.cgi?id=2880)
attachment #2285 (https://bugs.freedesktop.org/attachment.cgi?id=2285)
    Use system method to access PCI config space.
2005-04-01 20:21:38 +00:00
Adam Jackson
33ab2a2abc Bug #2835: Add symbol exports to support the ReadDisplay extension. 2005-04-01 20:05:11 +00:00
Alex Deucher
cbccac448a - Add new Radeon pci ids (ATI devrel), bug 2827 2005-03-31 23:18:10 +00:00
Thomas Hellstrom
f4e9f522fe Bugzilla #2750 (https://bugs.freedesktop.org/show_bug.cgi?id=2750)
Linux-only fixes: Fix case where a smaller write-combining region
    blocks write-combining setting of the whole frame buffer. Fix bug in wc
    setting code when regions are first splitted and setting of
    write-combining then fails.
2005-03-23 21:03:41 +00:00
Adam Jackson
45bcb8e22a Bug #1821: Typo fix in xorg.conf man page (Jens Schweikhardt) 2005-03-22 21:30:43 +00:00