Commit Graph

1396 Commits

Author SHA1 Message Date
Eric Anholt 76aaf7eae7 Add a couple of (doxygen) comments I wrote while looking at modesetting. 2006-06-18 19:47:51 -07:00
Eric Anholt 6aaf0e5b58 Add options to disable EXA acceleration for Composite/UTS/DFS, and always print
out how much memory EXA is managing for offscreen pixmaps.
2006-06-18 19:47:51 -07:00
Eric Anholt 21ef7e17ef Add some missing .gitignore stuff for Mesa symlinks and other generated files. 2006-06-18 19:47:51 -07:00
Adam Jackson 71fbda8049 Xprint/ -> hw/xprint
XpConfig -> hw/xprint/config
2006-06-18 21:07:28 -04:00
Eric Anholt 868e2cab70 Add explicit dependencies (Xorg_DEPENDENCIES = ) on the internal libraries
(such as libcw.la) that we link into the server, causing it to be rebuild
automatically when they're updated.  Some system libraries are included, but
don't appear to cause any harm.  You would think this would be automatic...
2006-06-16 10:17:51 -07:00
Greg Kroah-Hartman 9f31ef83be fix compiler warning in hw/xfree86/loader/loaderProcs.h 2006-06-09 10:44:46 -07:00
Greg Kroah-Hartman 490ffc205a fix compiler warning in hw/xfree86/loader/loadmod.c 2006-06-09 10:44:25 -07:00
Greg Kroah-Hartman 6119845d1f fix compiler warnings in hw/xnest/Keyboard.c 2006-06-09 10:14:08 -07:00
Greg Kroah-Hartman 96c19a3ec1 put function prototype for ShapeExtensionInit() in proper place
based on FIXME in mi/miinitext.c
2006-06-09 09:51:28 -07:00
Adam Jackson 576e6fb112 Bug #7120: Multimonitor (non-Xinerama) support for xwin servers.
(Tom Whittock)
2006-06-08 17:49:02 -04:00
Adam Jackson d42cf4a2a4 Bug #7121: fix clipboard handling in Xming (Colin Harrison) 2006-06-08 17:46:53 -04:00
Greg Kroah-Hartman 9fa73721f0 fix up EnableDisableExtension() and EnableDisableExtensionError() prototypes 2006-06-08 10:27:28 -07:00
Greg Kroah-Hartman 78f4ab6b89 Fix compiler warning about undefined ReinitializeRootWindow function 2006-06-07 14:12:40 -07:00
Greg Kroah-Hartman cc465800dd Fix compiler warnings about SetVendorRelease and SetVendorString 2006-06-07 14:03:35 -07:00
Adam Jackson 21ebcfd702 Demolish now-unused loader functions. 2006-06-07 14:17:31 -04:00
Adam Jackson f90761b06e Add a token for EDID-supplied modes. 2006-06-07 13:58:24 -04:00
Adam Jackson d00aa6b855 Delete a (now misleading) message from the crash handler. 2006-06-07 11:44:36 -04:00
Daniel Stone 8444bb77c9 When we can, bound the maximum number of PCI devices to attempt to scan, by
the number found on the system. Only implemented for Linux right now.
2006-06-05 20:22:06 +00:00
Adam Jackson 52fc7c8dc7 Ensure all *ModuleData symbols are marked _X_EXPORT. Start removing
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while
    now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO
    ifdefs surrounding a call to a function added in XFree86 4.1 (!).
    Miscellaneous static markings.
2006-06-05 03:00:24 +00:00
Adam Jackson d22582dc5a Remove a stray LBX reference. 2006-06-04 16:13:26 +00:00
Daniel Stone 4fd668940f Bug #6619: Fix disappearing hardware cursor. (Colin Harrison) 2006-06-03 10:58:37 +00:00
Daniel Stone cd384af305 Completely remove relocation pointer table. 2006-06-03 10:50:23 +00:00
Daniel Stone 8e8c6faecd Add support for kFreeBSD systems. (Robert Millan, Aurelien Jarno) 2006-06-03 10:48:37 +00:00
Daniel Stone 5b703f847d Fix type confusion. 2006-06-02 12:05:32 +00:00
Daniel Stone 56f21bda1c Bug #6583: Only open /proc/bus/pci/devices once. (Bill Nottingham) 2006-06-01 22:30:52 +00:00
Daniel Stone 97203f1cf6 Clean up a warning, and remove excess multiple-suffix code. 2006-06-01 20:41:21 +00:00
Daniel Stone 6d594ebc66 Ditch more alternate-loader braindamage. 2006-06-01 20:22:39 +00:00
Daniel Stone c946817748 Kill a.out, COFF and ELF loaders with FIRE. 2006-06-01 20:18:30 +00:00
Adam Jackson a3a4221495 Add bitmap to the ignored module list. 2006-06-01 19:53:06 +00:00
Daniel Stone ee689c1042 Ignore requests to load GLcore and speedo. 2006-06-01 19:49:55 +00:00
Adam Jackson 07c731a2bc Bug #5089: Die, libbitmap, die! 2006-06-01 19:37:53 +00:00
Daniel Stone 32be08ba72 Remove horrendously ugly DDX backward-compatibility. 2006-06-01 19:22:38 +00:00
Daniel Stone a73e0f8cdf Die XTESTEXT1, die! 2006-06-01 18:47:47 +00:00
Matthieu Herrb fc5ca97284 Powerpc machines also need ioperm_noop.c 2006-05-30 22:56:36 +00:00
Adam Jackson 07b168c8d8 Properly document the DPMS, SyncOnGreen, and TargetRefresh options. 2006-05-30 16:10:59 +00:00
Daniel Stone fd8bde8bb0 Remove -xkbmap argument. 2006-05-29 11:14:03 +00:00
Matthieu Herrb c38aab293a check buffersize before reading next char, fixes the "mouse stuck at left"
bug (bugzilla #3113) for BSD systems using wscons. (Dale Rahn).
2006-05-27 23:15:05 +00:00
Jeremy C. Reed 2102fdd0a5 RGB color database and XErrorDB install to "share" not "lib" by default (by
app/rgb and libX11).
TODO: They are customizable, so maybe cpprules.in should be extended.
2006-05-26 00:12:18 +00:00
Jeremy C. Reed 354086d7e8 Don't do fixup_video_driver_list if no drivers. (I had signal 11 and core
dump when drivers not installed yet.)
TODO: fix fixup_video_driver_list to handle NULL argument.
2006-05-25 23:32:33 +00:00
Jeremy C. Reed 6930794423 NetBSD also has curses.h instead of ncurses.h. (TODO: Maybe instead of
checking for SCO, UnixWare, Sun SVR4 and NetBSD, the curses.h versus
    ncurses.h should be tested in configure.)
2006-05-24 22:58:03 +00:00
Alan Coopersmith cc3b882bd1 Update to 2006-05-19 snapshot
Remove entries now present in pci.ids
Regenerate from updated pci.ids & extrapci.ids
2006-05-20 00:55:44 +00:00
Adam Jackson deebf6bd51 Bug #4139: Fix a BAR remapping bug that could lead to IERR and system hang.
(Egbert Eich)
2006-05-18 23:52:51 +00:00
Adam Jackson c11cfcfaff Bug #6377: Ignore disabled BARs, and allow matching BARs aligned to less
than 16 bytes. (Felix Kühling, ATI)
2006-05-18 23:48:57 +00:00
Adam Jackson fa9a49a92d Bug #5877: Avoid burning CPU when acpid dies. Require acpid to be running
for ACPI support on Linux. Minor errno handling fixes. (Valery
    Inozemtsev, Adam Jackson)
2006-05-18 18:18:41 +00:00
Daniel Stone 2892dd6d2e Make Xv symbols conditional. (Enrico Wiegelt) 2006-05-17 16:20:03 +00:00
Daniel Stone a317bf4822 Make DBE support conditional. (Enrico Wiegelt) 2006-05-17 15:00:18 +00:00
Adam Jackson 321dbed5f5 Bug #5209: Fix APM/ACPI support, again. (Michel Dänzer, Valery Inozemtsev) 2006-05-15 18:27:18 +00:00
Matthias Hopf 9db5d2dfc3 Bug #4320: Improved XAA Composite fastpath. 2006-05-11 10:18:08 +00:00
Adam Jackson 86ffb46358 Bug #5209: Re-enable building APM and ACPI support. (Michel Dänzer) 2006-05-09 18:04:29 +00:00
Alan Coopersmith b46d6a44fa Make Xephyr build on Solaris:
Add #include <sys/file.h> on Solaris for FNONBLOCK/FASYNC definitions
hw/kdriver/linux/Makefile.am Move agp.c & agp.h to KDRIVE_HW_SOURCES since
    they're not needed for Xephyr-only builds
Add -lrt to XEPHYR_LIBS if needed to get nanosleep().
2006-05-03 23:45:16 +00:00
Adam Jackson fc91ca069d Redact a few mentions of speedo font support. 2006-05-03 17:50:10 +00:00
Adam Jackson 291e89d4f2 Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes. 2006-04-30 19:16:14 +00:00
Eric Anholt 3d4ca57b69 Add a helper for the Component Alpha Over case, which breaks the operation
down into an OutReverse and an Add. Turn off the fallback to software
    glyphs when component alpha, now that we expect all (new) drivers to be
    able to support it. Also, make Xephyr fall back in the CA Over case to
    exercise this code. This speeds up my rgb24text and ls -lR in
    gnome-terminal by a factor of 5.
2006-04-26 18:27:40 +00:00
Dave Airlie 26fa45b642 Bug #6751: Use the Linux PCI ROM interface on Linux properly. The old
domain code, still modified BARs not a good idea, Just talk to sysfs,
    if 0 read, fallback to old methods.
2006-04-26 11:40:58 +00:00
Dave Airlie c339b221d3 Bug #6750: This patch detects Intel bridges that are transparent but aren't
reported as such. From the Linux kernel fixups. This patch also removes
    the reserved BIOS area from the area to allocate resources in.
2006-04-26 11:31:07 +00:00
Eric Anholt 074dc9a023 Add an option to verify at the point of migration that pixmaps which aren't
marked dirty are in fact not dirty. This will hopefully help catch
    issues like the previous commit. Leave it on in fakexa.
2006-04-25 16:47:23 +00:00
Donnie Berkholz 81f3c2937d strlcpy() doesn't exist on Linux, so use the implementation in os/. 2006-04-24 05:39:47 +00:00
Matthieu Herrb a715634d23 Don't access free memory after unloading a module. Bugzilla #4168. 2006-04-23 13:14:50 +00:00
Benjamin Herrenschmidt 79dc689261 When reading the kernel keyboard mapping (readKernelMapping in
os-support/linux/lnx_KbdMap.c) we overrun the usefully-named global
    array 'map', scribbling on other random static variables elsewhere.
    This is fixed by changing the size of at2lnx. (David Woodhouse). Bug
    #5169
2006-04-22 03:22:17 +00:00
Eric Anholt c947d796aa Missed in previous commit: Add a new migration scheme, called "Smart" for
lack of a better name. This one behaves somewhat between Greedy and
    Always. It moves in if we can accelerate, unless the destination is
    clean and shouldn't be kept in framebuffer according to the score, in
    which case we migrate out (and force-migrate anything where migration
    is free). This should help fix lack of acceleration for drivers without
    UTS since removing exaAsyncPixmapGCOps, and has removed one performance
    trap with Radeon I'd noticed. It is the new default.
2006-04-18 19:18:43 +00:00
Donnie Berkholz 782d61a031 Update all prefixes in config tools, so they mostly work again. Also, make
RgbPath commented out when using xorgconfig. Start using
    /dev/input/mice as the default mouse location on Linux.
2006-04-18 17:28:44 +00:00
Donnie Berkholz ba632f697a Fix kdrive build by linking in libexa before KDRIVE_LIBS. 2006-04-17 07:10:31 +00:00
Adam Jackson 0e62d92d5b Coverity #804: Another leak on OOM path. 2006-04-14 23:43:32 +00:00
Adam Jackson 1b04e31392 Coverity #847, #848, #849: Three more memory leaks. 2006-04-14 23:32:22 +00:00
Adam Jackson 6545051902 Coverity #1003, #1004: Two more useless null checks. 2006-04-14 23:10:59 +00:00
Adam Jackson ab1d420022 Coverity #1005: Avoid a null deref. 2006-04-14 23:09:38 +00:00
Adam Jackson d01e0956a8 Coverity #1007: Fix a silly null check. 2006-04-14 23:08:10 +00:00
Luc Verhaegen 6d29f65931 CVT means Coordinated Video Timing instead of Common. 2006-04-14 23:01:35 +00:00
Adam Jackson 82b6ea1a4b Bug #6580: Don't install xf86drm.h, that's libdrm's job. 2006-04-14 22:51:19 +00:00
Aaron Plattner 2387bfa5ff Bump the ABI versions. Due to Glyph privates and the XV update below, the
video driver ABI needs to be bumped to 1.0. The rest of the ABI minor
    versions were bumped to include the LoaderGetABIVersion function.
Add a DrawblePtr argument to the XV hooks. This allows drivers to determine
    that the target window is redirected and draw to the appropriate place.
2006-04-07 18:56:04 +00:00
Adam Jackson 94e7213d59 Remove libc wrapper types from Xisb interfaces. 2006-04-07 16:08:50 +00:00
Daniel Stone 843146cfba Coverity #1216: Fix double-close of file on error. 2006-04-07 15:53:21 +00:00
Adam Jackson 75a9afdbf4 Coverity #488: Avoid smashing an array on malformed config files. 2006-04-07 01:53:43 +00:00
Adam Jackson 20c1ef2cc3 Coverity #769: Fix a potential memory leak for systems that allocate on
malloc(0)
2006-04-07 01:50:07 +00:00
Adam Jackson 5ef711032b Coverity #838: Plug two more memory leaks. 2006-04-07 01:41:00 +00:00
Adam Jackson 69477ea4b6 Coverity #837: Fix another another memory leak. 2006-04-07 01:37:11 +00:00
Adam Jackson b472ce7307 Coverity #836: Fix another memory leak. 2006-04-07 01:35:43 +00:00
Adam Jackson 9c84ed5f8d Coverity #835: Plug memory leak in extension section parsing. 2006-04-07 01:34:29 +00:00
Adam Jackson 12924d0da3 Coverity #812: Fix parser memory leak. 2006-04-07 01:29:39 +00:00
Adam Jackson 49abff7995 Coverity #818: Avoid memory leak on error path. 2006-04-07 01:26:33 +00:00
Adam Jackson 536628bb4b Coverity #1037: Sanity check idx before use. 2006-04-07 01:18:01 +00:00
Adam Jackson 4ae1263669 Remove cfb16, no longer used. 2006-04-06 18:59:11 +00:00
Adam Jackson 4697da177d Initial checkin 2006-04-04 18:30:28 +00:00
Adam Jackson 83ea57bcc8 Bug #5729: Convert xf8_16bpp to fb. chips(4) users please test. 2006-04-04 14:39:06 +00:00
Adam Jackson 4c7da86118 Bug #5300: Fix missing spaces in the Build OS line in the log. (Egmont
Koblinger)
2006-04-04 14:17:04 +00:00
Adam Jackson fb6f61b50f Bug #4806: Dump the raw EDID contents in hex to the log file for better
debugging. (Philip Prindeville)
2006-04-04 12:36:16 +00:00
Adam Jackson 14af50371c Bug #2142: Make font path logging more readable. (Eduard Fuchs) 2006-04-03 22:00:06 +00:00
Alan Hourihane 2a6c11aa3b Fix a server crash due to memsetting beyond allocated memory when running
GL applications.
2006-04-03 09:12:28 +00:00
Adam Jackson f6ca2b3ea9 Coverity #38: Dead branch elimination. 2006-04-03 02:15:55 +00:00
Adam Jackson 7ef95da8a3 Coverity #616: Fix a rare memory leak. 2006-04-03 01:51:54 +00:00
Adam Jackson a01f17d6de Coverity #983: Move some risky debugging code inside #ifdef DEBUG. 2006-04-03 01:35:05 +00:00
Adam Jackson b2097b99a2 ../stub 2006-04-02 21:45:03 +00:00
Adam Jackson 323fec2029 Reorder link order for Xdmx to fix new screensaver variable reference
properly; remove previous awful hack.
2006-04-02 00:46:20 +00:00
Eric Anholt ccca76b808 Clean up warnings and a debug printf. 2006-04-01 23:41:23 +00:00
Adam Jackson 277f612d4e Hack around the new screensaver variable for DMX, which is otherwise
blissfully ignorant of it.
2006-04-01 23:19:08 +00:00
Eric Anholt 2e38fedd29 Add an option to EXA for the DDX to request that EXA hide the pixmap's
devPrivate.ptr when pointing at offscreen memory, outside of
    exaPrepare/FinishAccess(). This was used with fakexa to find (by NULL
    dereference) many instances of un-Prepared CPU access to the
    framebuffer:
- GC tiles used in several ops when fillStyle == FillTiled were never
    Prepared.
- Migration could lead to un-Prepared access to mask data in render's
    Trapezoids and Triangles
- PutImage's UploadToScreen failure fallback failed to Prepare.
2006-03-31 19:41:28 +00:00
Eric Anholt 5c04610f8a Add a dependency on EXA, so it rebuilds when the library does. The manual
indicated I shouldn't do this, but experience indicates I should.
2006-03-30 21:21:59 +00:00
Eric Anholt 3cf46cc1e3 Add an UploadToScreen implementation, for testing PutImage support, and
make the DownloadFromScreen more robust.
2006-03-30 05:15:58 +00:00
Eric Anholt 4bb5ab0b44 Add a DownloadFromScreen implementation, used for testing GetImage
acceleration, and set the migration scheme to Always on init (since
    this is all for testing, and Always should make migration happen more
    frequently than Greedy).
2006-03-29 22:03:18 +00:00
Adam Jackson ff6f88348c More warning cleanup. 2006-03-29 01:05:09 +00:00