Commit Graph

1287 Commits

Author SHA1 Message Date
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
Aaron Plattner
bd283c2464 Add a new export, LoaderGetABIVersion. This function allows modules to
query the versions directly instead of having to guess. Bug #6416: Add
    LoaderGetABIVersion.
2006-03-28 07:21:50 +00:00
Daniel Stone
5be8a66d32 Fix remnants of previous busted _XkbStrCaseCmp commit. 2006-03-27 22:28:32 +00:00
Daniel Stone
9e202dfe40 Remove remnants of XkbCF code. 2006-03-27 22:25:56 +00:00
Daniel Stone
7257590651 Move XFree86 DDX XKB actions into dixmods. 2006-03-27 21:15:06 +00:00
Adam Jackson
a68c11bb1d Mark everything in xf86sym.c as _X_EXPORT. 2006-03-25 19:52:05 +00:00
Fredrik Höglund
ae935832fa Refactored the screensaver and DPMS timer code to use the screensaver timer
for both screensaver and DPMS. Removed the SetDPMSTimers() and
    FreeDPMSTimers() functions.
2006-03-24 20:50:13 +00:00
Alan Coopersmith
f1616508c9 Add ast driver/pci id (Carl Switzky, Sun Microsystems) 2006-03-23 23:54:08 +00:00
Adam Jackson
9509c6799e dead file removal 2006-03-20 19:32:18 +00:00
Adam Jackson
6eb4e2303a Bug #6213: Check geteuid's return value, not its address, otherwise
unprivileged users can set the modulepath and run arbitrary code. Patch
    from Matthieu Herrb. (CVE-2006-0745, Coverity #4)
2006-03-20 14:01:05 +00:00