Greg Kroah-Hartman
29c78321e8
fix compiler warning in hw/xfree86/i2c/tda9850.c
2006-06-19 14:36:41 -07:00
Greg Kroah-Hartman
b20ae5ddb7
fix compiler warnings in hw/xfree86/xf4bpp/ppcGC.c
2006-06-19 11:38:52 -07:00
Adam Jackson
a28652f9c3
Another round of loader sense-beating. Remove the (unused) server export
...
lists, a really bad hash table, the last vestiges of the other backends,
and some miscellaneous cleanups. Good for dropping 300k from the size of
the built server on x86.
2006-06-19 00:57:18 -04:00
Adam Jackson
98a602fab1
Don't bother building RAC as a module, that's just absurd.
2006-06-18 23:54:04 -04:00
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
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
96c19a3ec1
put function prototype for ShapeExtensionInit() in proper place
...
based on FIXME in mi/miinitext.c
2006-06-09 09:51:28 -07:00
Greg Kroah-Hartman
9fa73721f0
fix up EnableDisableExtension() and EnableDisableExtensionError() prototypes
2006-06-08 10:27:28 -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
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
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
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
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
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
Adam Jackson
1b04e31392
Coverity #847 , #848 , #849 : Three more memory leaks.
2006-04-14 23:32:22 +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
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
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
Adam Jackson
a01f17d6de
Coverity #983 : Move some risky debugging code inside #ifdef DEBUG.
2006-04-03 01:35:05 +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
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
Daniel Stone
d0d336efd5
Add support for ZX2 PCI-E local bus adaptors. (Alex Williamson, HP)
...
Use soft timeout register to avoid MCAs when probing for non-existent local
bus adaptors on ZX2. (Alex Williamson, HP)
2006-03-16 16:29:17 +00:00
Felix Kuehling
21f7f2fb11
Enable correct handling of the BTS instruction (opcode 0f ab) The code was
...
there but #ifdefed out. Insead of BTS, BT was executed. This patch
enables the BTS function and hooks it up the the correct opcode. (ATI
Technologies Inc.)
2006-03-15 18:43:32 +00:00
Adam Jackson
b9c43cde1e
Coverity #1042 , 1043: Nuke some dead variables.
2006-03-15 16:56:10 +00:00
Adam Jackson
a3ef63696c
Coverity #490 : Fix a range check in xf86vidmode extension.
2006-03-15 16:36:31 +00:00
Adam Jackson
460f2ea4a5
Coverity #794 : Fix a highly unlikely memory leak.
2006-03-15 16:21:04 +00:00
Adam Jackson
116d158e85
Coverity #269 : Compare the requested ABI class against the ABI class of the
...
module, not the module class.
2006-03-15 16:16:24 +00:00
Adam Jackson
d8221a9b70
Coverity #484 : Fix an off-by-one in module refcounting.
2006-03-15 16:11:34 +00:00
Adam Jackson
1e5c0842af
Coverity #1053 : Nuke a dead variable.
2006-03-15 15:34:57 +00:00
Benjamin Herrenschmidt
7314d16cde
Fix DRIExtensionInit() to not register callbacks when it hasn't been
...
initialized for the current server generation. Fixes a problem where it
would use stale private index and blow up in colorful ways if no driver
called DRIScreenInit() on the second generation (which happens due to a
bug in radeon that i'll fix separately). Note: clearing the index in
DRIReset() wouldn't work as DRIReset() is called before the
CloseScreen() chain
2006-03-15 03:18:42 +00:00
Benjamin Herrenschmidt
02d80a0de9
Make xf86 linear allocator smarter when dealing with alignment constraints
...
when falling back to X/Y allocations. Fixes various problems of Xv
allocation failures, notably with "nv" driver.
2006-03-15 03:12:32 +00:00
Eric Anholt
c1601717d5
Add a new migration scheme, "always", which will move pixmaps to their
...
desired location always (unless they don't fit in FB, in which case
they all get moved out for software rendering). The default remains as
before, but can be controlled by the MigrationHeuristic xorg.conf
option (which is intentionally not documented, as it may be
short-lived). This is part of the exa-damagetrack work, which appears
stable in testing with fakexa, unlike the work as a whole.
2006-03-15 01:20:08 +00:00
Matthieu Herrb
eb63e50d95
Fix build when AIGLX is false.
2006-03-12 17:14:03 +00:00
Kristian Høgsberg
c3342c8000
Merge accel_indirect branch to HEAD.
2006-03-12 00:11:34 +00:00
Alan Coopersmith
b1b731c286
Fix buffer size checks to prevent 2-byte buffer overflows. (Coverity #480 ,
...
#481 , #482 , #483 )
2006-03-11 02:43:51 +00:00
Alan Coopersmith
f2ecbb3018
Pass sizeof the correct buffer to XmuSnprintf. (Coverity #489 )
2006-03-11 01:58:32 +00:00
Eric Anholt
ffdbb547be
Coverity #1011 : Remove a useless NULL check on a pVbe that had been
...
dereferenced many times before.
2006-03-10 08:06:42 +00:00
Eric Anholt
1bc72dce5f
Coverity #857 : Fix resource leak in error path by freeing earlier.
2006-03-10 08:03:24 +00:00
Eric Anholt
55f677d600
Coverity #813 , #814 , #815 , #816 : Fix resource leaks in error paths of
...
config parsing code.
2006-03-10 07:58:27 +00:00
Jeremy C. Reed
21dcd03048
Just like FreeBSD, let DragonFly's default mouse Device be /dev/sysmouse
...
(since /dev/mouse don't even exist by default).
2006-03-10 01:34:45 +00:00
Jeremy C. Reed
9a99afdfb2
Add DragonFly support. (It is like FreeBSD.)
...
This patch is from DragonFly developer Joerg Sonnenberger and the pkgsrc
collection.
I tested using /dev/sysmouse with moused using my serial /dev/cuaa0.
2006-03-10 01:22:26 +00:00
Eric Anholt
8a3ff42abb
Commit changes missed in last commit (mis-typed path and didn't notice): Do
...
a first pass of doxygen documentation of EXA. This removes the
corresponding pieces of exa-driver.txt, which were becoming stale.
Hopefully the documentation will stay much more up-to-date this way.
Many thanks to jbarnes for writing exa-driver.txt which was used a lot
in writing this documentation.
2006-03-09 23:25:35 +00:00
Eric Anholt
2822cbc1fb
Rearrange EXA driver structures so that there's a hope of maintaining ABI
...
when extending the driver interface. The card and accel structures are
merged into the ExaDriverRec, which is to be allocated using
exaDriverAlloc(). The driver structure also grows exa_major and
exa_minor, which drivers fill in and have checked by EXA
(double-checking that the driver really did check that the EXA version
was correct). Removes exaInitCard(), which is replaced by the driver
filling in the rec by hand, and the exaGetVersion() and related
EXA_*VERSION which are replaced by always using the XFree86 loadable
module versioning.
2006-03-09 06:04:07 +00:00
Eric Anholt
cb5090e8d6
Bug #6150 : Do the obvious fix of an insane sanity check in
...
xf86InitFBManager. (Julio M. Merino Vidal)
2006-03-08 03:32:07 +00:00
Ian Romanick
2e6f801fe1
Numerous amounts refactoring and comment adding (see ChangeLog for file by
...
file details). The primary intention for these changes is to pave the
way for the new device probing and PCI configuration code that I'm
working on.
2006-03-07 23:58:22 +00:00
Eric Anholt
0a3d6c7399
Remove stale EXA files, which failed to get removed during the move to
...
top-level, somehow.
2006-03-07 19:49:31 +00:00
Luc Verhaegen
68a8963f72
Fix cvt -r check again. CH7011 TV encoder had 800x600 PAL hit the check.
2006-03-07 16:00:57 +00:00
Matthieu Herrb
448997ebcd
Only output SetClientVersion message if verbosity > 1, like other
...
extensions do
2006-03-05 16:43:10 +00:00
Matthieu Herrb
d921173833
define SYS_LIBS to hold system dependant libraries that may needed. and add
...
it to libraries list where needed. Update ChangeLog for previous
changes too
2006-03-05 16:35:08 +00:00
Matthieu Herrb
82cbd2ee0d
Don't hard-code -DUSE_DEV_IO here. configure generates the proper OS
...
specific values here.
2006-03-05 16:33:17 +00:00
Jesse Barnes
5f4d11c8d9
fix spelling error, document EXA_TWO_BITBLT_DIRECTIONS device flag
2006-03-01 16:31:53 +00:00
Ian Romanick
96ca329382
Remove redundant definition of struct Inst. Safeguard xf86AddDriver against
...
future additions to DriverRec.
2006-02-28 23:07:09 +00:00
Jesse Barnes
6b08a5013b
EXA driver doc cleanups and additions.
2006-02-25 20:26:49 +00:00
Roland Scheidegger
f41ec003f3
Add two radeon pci ids (one is used for a radeon mobility X700 XL in a
...
medion notebook, the other is for a AIW X800 VE)
2006-02-25 01:17:10 +00:00
Ian Romanick
cfdacab33a
Eliminate unused PCI BIOS reading functionality. The old code used several
...
function pointers to implement a level of flexability that was never
used. The code also had unused support for extracting a single image
type from a larger expansion ROM.
Fix the spelling of PCI_BIOS_OPEN_FIRMWARE.
Fix a couple errors in #ifdef debug code.
These changes have been tested on x86 and x86-64 Linux.
2006-02-21 00:02:08 +00:00
Ian Romanick
5fd0f94006
Eliminate all the code for querying the PCI class from the PCI ID database.
...
Class information is not, and never has been, stored there. Therefore,
this is just a bunch of elaborate code to read 0x00000000.
This has received testing on x86 and x86-64 Linux.
2006-02-20 23:45:50 +00:00
Benjamin Herrenschmidt
c8acb34269
Fix an occasional crash on VT switches: the server would save a pointer to
...
the current cursor when disabling FB access and would try to restore
that cursor when re-enabling. However, that cursor might have been
destroyed in between. This fixes it by updating the saved cursor
pointer when a cursor is set and vtSema is FALSE.
2006-02-16 06:52:12 +00:00
Eric Anholt
c845e152f5
Bug #5871 : Drop special build infrastructure left over from libcwrapper
...
times. (George Fufutos)
2006-02-16 05:46:08 +00:00
Eric Anholt
1bbd5e49b1
Bug #5869 : Remove traces of EXTMODULE define, which doesn't appear to be
...
useful any more. (George Fufutos)
2006-02-16 04:59:45 +00:00
Zephaniah E. Hull
c4767794ef
Export xf86ActivateDevice, used by the evdev driver.
2006-02-16 01:03:09 +00:00
Eric Anholt
dc0354104c
Move EXA implementation up to the top level and remove its XFree86
...
dependencies. It was nearly abstract enough already to be used by
multiple DDXes. This will be useful for EXA development through
providing a fake acceleration implementation within Xephyr, so that
testing can be done on new EXA code without worrying about buggy
drivers.
2006-02-16 00:14:11 +00:00
Adam Jackson
f105b8da11
Mark everything in dixsym.c as _X_EXPORT.
2006-02-15 20:44:13 +00:00
Benjamin Herrenschmidt
5c9b6f0fb0
DRIGetSecs() would call getsecs() when XFree86LOADER is defined, relying on
...
the wrappers to provide it. Wrapper gone, and getsecs doesn't exist on
linux so it now blows up. Fixes it by just calling gettimeofday() in
all cases instead.
2006-02-14 08:14:42 +00:00
Alan Hourihane
bb8c36690a
Bump shadow module version number to 1.1.0 from 1.0.0
2006-02-14 04:20:37 +00:00
Benjamin Herrenschmidt
1a4f20541a
Fix linux build without libc wrappers (From Fredrik Höglund)
2006-02-13 04:56:27 +00:00
Benjamin Herrenschmidt
2dc7b5e0d9
Move call to xf86WrapperInit() to OsVendorInit() in xf86Init.c and remove
...
stubs in other DDX.
2006-02-13 04:43:40 +00:00
Alan Coopersmith
d6337c8324
<sys/limits.h> -> <limits.h> so we can compile on non-BSD OS'es
2006-02-11 17:42:31 +00:00
Eric Anholt
c3d1403672
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
...
of (marginal) use in the drivers, and that usage remains.
2006-02-10 22:00:30 +00:00
Jeremy C. Reed
0946bb9427
Fix sysmouse handling on DragonFly, mostly garbage arrived. From Joerg
...
Sonnenberger.
2006-02-03 02:37:52 +00:00
Eric Anholt
5e2a7af23b
Move the frequently-repeated code to get the pixmap that backs a drawable
...
to a new function, exaGetDrawablePixmap().
2006-02-02 21:07:06 +00:00
Eric Anholt
ee3c7ccb17
Remove more debugging leftovers.
2006-02-02 20:51:54 +00:00
Eric Anholt
3366b68365
Rearrange and rename EXA code to be a bit more logically organized. Also
...
removes a little bit of debugging leftovers. Summary:
exa.c -> exa.c (miscellaneous code) exa_accel.c (all acceleration code)
exa_migration.c (migration logic) exaasync.c -> exa_unaccel.c (software
fallbacks) exapict.c -> exa_render.c (render extension stuff)
exaoffscreen.c -> exa_offscreen.c exaPriv.h -> exa_priv.h
2006-02-02 20:09:14 +00:00
Luc Verhaegen
f4898b4093
Further bug #5386 fixes: Fix some problems with the EDID code: Some
...
bitoffsets were wrong. Unknown Detailed Sections weren't handled
properly and defaulted to Detailed Timing.
2006-01-31 14:49:43 +00:00
Luc Verhaegen
437b385ce4
Bring the cvt utility up to date with bug #5386 changes. Fix 2 issues with
...
the generator routine: the allocated modeline wasn't nulled and
mode->name's \0 wasn't copied over. PrintModeLine was rewritten and
HDisplay gets rounded up to character width instead of refused.
2006-01-31 13:55:01 +00:00
Luc Verhaegen
8f3c69dcf1
Accept modes with less than 25% horizontal blanking again (you can push old
...
gtf timing to below 25%), only stop cvt reduced blanking. Users should
be free to blow up their monitors if they so choose.
2006-01-31 13:04:02 +00:00
Eric Anholt
dd50015b05
Add libc_wrapper support for random(), which will be used in upcoming EXA
...
memory manager work.
2006-01-28 02:20:37 +00:00
Eric Anholt
3d1667278f
Remove leftover variables for cfb24 build, and finish commenting out Xglx
...
standalone stuff, which some versions of automake get whiny about.
2006-01-28 00:37:52 +00:00
Alan Hourihane
ab01eb247f
update pci ids
2006-01-27 12:27:34 +00:00
Adam Jackson
14fdd81614
Remove xf8_32wid, it's dead code with no maintainer interest. Also remove
...
cfb24, since xf8_32wid was the only user.
2006-01-25 23:05:26 +00:00
Alan Hourihane
0d9ed2624f
Commit #4633 - Initial mouse pointer incorrect with EXA which also fixes
...
the repaint of the cursor image with randr events.
2006-01-23 22:01:34 +00:00
Daniel Stone
2949c705f1
Add all subdirs used to DIST_SUBDIRS, and files to EXTRA_DIST.
...
Attempt to build xeglmodule.c, not xglxmodule.c.
Add xf86Sbus.h to EXTRA_DIST, as _HEADERS doesn't appear to get the same
treatment as _SOURCES in terms of automatically DISTing.
2006-01-10 03:23:05 +00:00
Adam Jackson
53dbd00a75
Remove remaining #ifdef DPSEXT stanzas.
2006-01-08 23:43:54 +00:00
Adam Jackson
fe0c838b5d
Move drawable lock acquisition into DRIClipNotify from DRIValidateTree, so
...
we only take it when clipping a DRI drawable instead of on every tree
update. Note drawable lock acquisition per- screen instead of globally,
and drop it in BlockHandler if necessary.
2006-01-06 18:06:02 +00:00
Adam Jackson
39ce5f1544
Remove unused X11R4 DDX compatibility function miClipNotify.
2006-01-06 17:05:26 +00:00
Eric Anholt
7aa0ea23bc
Add an empty all-local target for FreeBSD make's sake, which doesn't deal
...
with .PHONY.
2005-12-30 04:11:42 +00:00
Dave Airlie
fc69a2e729
Remove PowerMAX_OS define it never worked , it'll never work again,
...
finishes running joke of OLS2005
2005-12-29 08:42:49 +00:00
Luc Verhaegen
3664c3ebf3
Bug #5153 : standalone CVT modeline generator.
...
- add hw/xfree86/utils/cvt/, cvt.c, cvt.man.pre and Makefile.am.
- Adjust configure.ac and hw/xfree86/utils/Makefile.am for cvt.
- Add MonPtr->reducedblanking and Option "ReducedBlanking" to the Monitor
section.
- Check for reduced blanking in xf86CheckModeForMonitor and disallow modes
with less than 25% blanking otherwise.
- Fix some warnings in hw/xfree86/common/xf86Config.c.
2005-12-28 15:22:21 +00:00
Adam Jackson
6798fd0170
Bug #4190 : Add a rule for 'make relink' since automake sucks.
2005-12-26 19:13:52 +00:00
Adam Jackson
7e3cb9a09a
Remove unused layer module.
2005-12-25 22:25:15 +00:00
Eric Anholt
2af7e94eab
Adjust the rules for auto-generating some source files, so that they work
...
on both GNU make and FreeBSD's make.
2005-12-22 13:54:08 +00:00
Adam Jackson
03d37eb038
Bug #5359 : Fix a segfault (Mark Kettenis)
2005-12-20 21:34:21 +00:00
Adam Jackson
7b89b643c1
Bug #5116 : Refer DRI section details to dri.fd.o.
2005-12-19 16:44:21 +00:00
Alan Coopersmith
3566307c8d
Fix typos.
2005-12-19 09:18:29 +00:00
Alan Coopersmith
137447c5f3
Update to 2005-12-14 snapshot from pciids.sf.net
2005-12-15 01:54:45 +00:00
Adam Jackson
f1ba3b4f33
Bug #4718 : Command line flag to disable ACPI.
2005-12-14 20:11:16 +00:00
Alan Coopersmith
3666dbb5f3
Remove unnecessary include of dgaproc.h that broke Solaris builds.
2005-12-12 23:33:55 +00:00
Adam Jackson
f4957ee948
Bug #4809 : Re-fix that doesn't break distcheck. (Alan Coopersmith)
2005-12-09 18:30:51 +00:00
Adam Jackson
de22d0c226
Fix a thinko so the code matches the comment
2005-12-09 15:30:05 +00:00
Adam Jackson
6fcb049cd0
Bug #1288 : Additional refactor of the driver probe logic to keep ati loaded
...
before atimisc.
2005-12-09 06:49:39 +00:00
Adam Jackson
17ac5e9fec
Push the fallback drivers to the end of the list so driver probe order
...
stays useful.
2005-12-09 05:36:41 +00:00
Adam Jackson
80ea67e379
Bug #4361 : Change driver probe logic to read the driver list from disk
...
instead of using a compile-time array.
2005-12-09 03:59:41 +00:00
Kevin E Martin
26b41ff439
Fix sgml docs build.
2005-12-09 03:02:21 +00:00
Adam Jackson
f9ccebe8c5
Bug #4928 : Fix compilation for Alpha. (Stefaan DeRoeck)
2005-12-08 19:27:13 +00:00
Kevin E Martin
008c2dd5e4
Add configure options to allow hard-coded paths to be changed.
2005-12-08 17:55:19 +00:00
Kevin E Martin
39189c2b86
Allow hard-coded paths to be configurable.
2005-12-08 17:54:40 +00:00
Kevin E Martin
20c0ebe7b3
Change to use the app-defaults default dir configured in libXt.
2005-12-07 16:18:02 +00:00
Kevin E Martin
4a39354e14
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
2005-12-06 22:48:51 +00:00
Alan Coopersmith
26f9c43056
Bugzilla #4809 < https://bugs.freedesktop.org/show_bug.cgi?id=4809 > Patch
...
#3908 <https://bugs.freedesktop.org/attachment.cgi?id=3908 > xf8_32wid
and cfb24 only need to be built on sparc
2005-12-03 17:04:45 +00:00
Kevin E Martin
7c00afd0ec
Define XFree86Server only where it is required.
2005-12-02 06:02:45 +00:00
Eric Anholt
ccfaf82367
Bug #5160 : Fix the modular build to try to use the same logic for choosing
...
the architecture/os-specific bus support as monolithic.
2005-12-01 05:04:07 +00:00
Adam Jackson
9c0bd9687f
Import libdrm 2.0
2005-11-30 22:59:22 +00:00
Kevin E Martin
da5d66f2ff
Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
...
module builds to reflect this change.
2005-11-29 16:39:33 +00:00
Alan Coopersmith
51a721a6db
Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
...
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-28 22:05:09 +00:00
Kevin E Martin
381931b15b
Add configure option to install libxf86config.a (disabled by default).
2005-11-23 07:14:46 +00:00
Eric Anholt
594ca0966e
Bug #5118 : Use "rm -f" instead of "$(RM)", which isn't always defined.
2005-11-22 02:11:00 +00:00
Kevin E Martin
63aa96c08a
Update pkgconfig files to separate library build-time dependencies from
...
application build-time dependencies, and update package deps to work
with separate build roots.
2005-11-19 07:15:50 +00:00
Adam Jackson
d3b6653a28
Bug #4824 : Build XTrap support by default, matching monolith.
2005-11-19 03:53:04 +00:00
Eric Anholt
627ac1fe1d
Bug #5060 : Fix non-Linux DRI on 64 bit post Linux 32/64 changes.
2005-11-18 23:34:04 +00:00
Adam Jackson
e3ec048ff2
Bug #4928 : Unbreak Makefile.am for Alpha chips. (Stefan DeRoeck)
2005-11-18 22:43:50 +00:00
Adam Jackson
de95d8ee19
Bug #4859 : Don't segfault on bad DDC read. (Tony Houghton)
2005-11-18 18:02:24 +00:00
Kean Johnson
fc81c13e4d
Dont prevent SCO platforms for using the default ZAxisMapping now that the
...
OS layer correctly sends z-axis events when the wheel button is used.
2005-11-14 18:49:30 +00:00
Alan Coopersmith
267cbffa41
Bug #5019 < https://bugs.freedesktop.org/show_bug.cgi?id=5019 > xserver
...
installs manpages into 'man1' instead of 'man1x'
2005-11-13 20:53:24 +00:00
Kevin E Martin
0e7e4c7064
Fix typo to enable DGA support.
...
EXTMODULE is required to build DGA support into extmod.
2005-11-10 04:59:21 +00:00
Kean Johnson
e4554db8f8
Dont pass wheel mouse buttons as real buttons, map them as Z-Axis movement
...
on SCO and USL. Re-instate the ZAxisMapping default for the mouse
driver.
2005-11-10 02:41:20 +00:00
Matthias Hopf
f886e632b8
Bug #4915 : ButtonMapping option which allows to define arbitrary button
...
mappings (including left-handed mouse etc.). Fixed incorrect usage of
non-reversed, but ZAxisMapped buttons for state detection. Nuked unused
part of reverseMap.
2005-11-09 17:05:41 +00:00
Kevin E Martin
a25871ae52
DRM 1.0.5 import
2005-11-09 01:00:46 +00:00
Kevin E Martin
c9709c0a38
Add newly checked in files to Xorg server build.
...
Fix release date. Enable DGA extension by default.
2005-11-08 22:47:57 +00:00
Kristian Høgsberg
f8430a1b86
Bug #2880 , add functions for byte and word level access to pci config
...
space.
Fix broken utf8 again.
2005-11-08 19:04:56 +00:00
Kean Johnson
5390c7ab05
See ChangeLog entry 2005-11-07 for details.
2005-11-08 06:33:30 +00:00
Alan Coopersmith
f5814bf3ff
Don't reference noXkbExtension when building without XKB. (Bob Terek - Sun
...
Microsystems)
2005-11-08 03:12:43 +00:00
Thomas Hellstrom
890ed0e082
Fix a bug where a system memory pixmap got a wrong address if memcpy()
...
fallback was used for downloading from screen.
2005-11-06 16:40:59 +00:00
Alan Coopersmith
70aedcf32a
Bug #4948 : < https://bugs.freedesktop.org/show_bug.cgi?id=4948 > Incorrect
...
URL in log file for Xorg CVS. Also fixed wording of statement to not
refer to monolithic CVS since modular uses the same code, so it was
appearing in modular builds too.
2005-11-05 18:56:50 +00:00
Ian Romanick
0b150a05e6
Whitespace change just to make sure I created the branch correctly.
2005-11-03 17:12:53 +00:00
Kevin E Martin
90cf8e339b
Fix vendor string and release version reported by the servers. Enable
...
security, lbx and xevie extensions to give us parity with monolithic
tree.
2005-11-03 17:08:06 +00:00
Kevin E Martin
a311bfa73a
Fix support for enabling/disabling extensions loaded from modules.
2005-11-02 15:53:57 +00:00
Kevin E Martin
462a2407d5
Add xorg-server.m4 for driver dependency checking.
...
Update pkgcheck depedencies to work with separate build roots.
2005-11-01 15:01:51 +00:00
Kevin E Martin
56101c9d6e
Fix fd leak by closing them in the ACPI code instead of just using
...
shutdown.
2005-10-31 05:45:40 +00:00
Thomas Winischhofer
7993486e80
RandR: Add a driver func to let the driver determine the physical size of a
...
screen size (display mode). Useful for faked widescreen modes, modes
which are scaled by the driver, etc. This really helps fixing RandR's
sometimes dumb DPI assumptions.
2005-10-30 17:38:49 +00:00
Thomas Winischhofer
c818d3a1a5
Add xf86RandRSetNewVirtualAndDimensions to loader symlist
2005-10-30 09:27:06 +00:00
Thomas Winischhofer
fdbb3ea609
Add function for drivers to change RandR's idea of the virtual screen size.
...
(This allows drivers to reserve a larger virtual size at start and
change it later)
2005-10-29 21:31:23 +00:00
Alan Coopersmith
e921eec1c6
Make X -> Xorg symlink at install time.
2005-10-29 00:12:33 +00:00
Alan Hourihane
f842c229d4
build fix on alpha
2005-10-28 16:01:17 +00:00
Alan Coopersmith
7416fd61a1
Improved stack trace dump code for Solaris - try fork & exec of pstack
...
first so we can see the names of non-exported symbols that aren't
visible to walkcontext/dladdr1 code.
2005-10-27 21:03:27 +00:00
Adam Jackson
59279da498
Bug #1429 : Report input device type correctly. (Stéphane VOLTZ)
2005-10-21 19:06:13 +00:00
Thomas Winischhofer
1f43d218cc
EXA: The "optimization" for using a fill operation instead of 1x1 copies
...
checked the destination drawable's dimensions (!) instead of the
tile's. Really....
2005-10-20 21:45:40 +00:00
Adam Jackson
15f56b203d
Move xf86XTrapModule.c to dixmods, guess at a build system.
2005-10-20 18:52:51 +00:00
Adam Jackson
4ebd26f04b
Bug #3196 : Fix Load foo.so syntax.
2005-10-19 22:36:22 +00:00
Adam Jackson
af211a9bc1
Fix PCI bus scan on ia64 E8870 chipsets.
2005-10-19 22:30:09 +00:00
Adam Jackson
2769c3e72c
Fix distcheck by forcing Xorg to be installed before chmod/chown.
2005-10-18 19:43:48 +00:00
Alan Coopersmith
79e6ac79f9
Don't use $< in explicit rules since neither BSD nor Solaris make allow
...
that.
2005-10-18 07:18:21 +00:00
Aaron Plattner
fb282ef43a
Add miext/damage so misym.c can export DamageDamageRegion.
2005-10-18 04:03:01 +00:00
Aaron Plattner
959db6028d
Export DamageDamageRegion. Not bumping the ABI version since we did that
...
already for this release.
2005-10-18 04:02:31 +00:00
Kevin E Martin
b61c828b04
DRM 20051017 import
2005-10-18 02:23:58 +00:00
Alan Coopersmith
d6a40bcd4a
Change default install dir for app-default files from
...
$(sysconfdir)/X11/app-defaults to $(libdir)/X11/app-defaults to match
the monolith & allow localization
2005-10-18 00:32:55 +00:00
Adam Jackson
e7007f7d51
More automake 1.7 braindamage: use mkdir -p, not .
2005-10-17 22:42:03 +00:00
Adam Jackson
151ba8b67f
Work around automake-1.7 braindamage by providing an explicit rule for
...
XOrgCfg.
2005-10-17 22:25:58 +00:00
Kevin E Martin
1859c62607
include/dix-config.h.in Add support for more extensions
...
Add missing files to EXTRA_DIST
2005-10-17 07:18:59 +00:00
Kevin E Martin
c2e461c7e9
Fix typo and add new Makefiles to AC_OUTPUT
...
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Eric Anholt
744aa34ca5
Add an additional meaning to the "dirty" flag. Now, if !dirty && !area, the
...
pixmaps's contents are undefined, so we won't need to upload the
undefined contents in MoveIn. Use the ExaCheck* for async ops as well,
so that dirty is always tracked. While the performance impact for my ls
-lR test was not significant (though the avoiding-upload path was being
hit), it's likely to be important for the upcoming Get/PutImage
acceleration from ajax.
2005-10-15 02:19:09 +00:00
Alan Coopersmith
0ee70f53ef
Install Xorg & xorg.conf man pages even when not building docs
2005-10-14 22:01:46 +00:00
Kristian Høgsberg
0676a2874a
Add sysv and sco os-support subdirs and add simple EXTRA_DIST Makefile.am
...
in those dirs. Remove unsupported os-support subdirs (bsdi, dgux, hurd,
nto, os2, pmax, qnx4) that have no maintainer and we don't dist.
Add Options.
2005-10-14 20:01:36 +00:00
Alan Hourihane
57abb5b171
remove reference to non-existent agpgart.h
2005-10-14 08:29:16 +00:00
Alan Coopersmith
8df7628a2a
Remove reference to XF86config-4. Add xorgcfg(1) to See Also list.
2005-10-14 00:41:51 +00:00
Alan Coopersmith
b54c8154ca
Set substitutions needed in xorgconfig man page.
2005-10-14 00:34:49 +00:00
Kristian Høgsberg
b349b20d78
Dist NOTES.
...
Dist helper shell scripts.
Dist XAA.HOWTO and a few more unused C files.
Dist xorgconf.cpp.
Fix DIST_EXTRA typo.
Clean yacc and lex generated files only during make maintainer-clean as we
don't expect users to have those tools installed.
2005-10-13 18:08:24 +00:00
Benjamin Herrenschmidt
35a767590e
Fix stupid mistake in yesterday's allocator commit, would cause exa to
...
consider a random available memory size
2005-10-13 01:13:58 +00:00
Eric Anholt
a16dabd05e
Remove an RM line that appears unnecessary and was breaking the build at
...
xf86DefModeSet.c with FreeBSD make, where RM was undefined. While here,
make the build of xf86DefModeSet.c depend on its sources, so it'll
rebuild properly, and make it a normal CLEANFILE rather than a
DISTCLEANFILE, since the intention seems to be to build it at the
user's build time.
2005-10-12 11:15:44 +00:00
Alan Hourihane
b819c8378f
remove unneeded line of code
2005-10-12 08:22:31 +00:00
Benjamin Herrenschmidt
e573b272bf
Use proper access size when reading pixel based on bpp of the source pixmap
2005-10-12 07:46:36 +00:00
Eric Anholt
55efb41f6c
If a window background is a 1x1 pixmap, read the value out and go to
...
exaFillRegionSolid rather than sending piles and piles of Copies to the
hardware.
2005-10-12 07:35:20 +00:00
Benjamin Herrenschmidt
12994b9afb
Fix a couple of bugs in the offscreen allocator. One mostly harmless was
...
causing our search loop for evictable blocks to possibly skip a good
candiate, and another was the allocator would occasionally use
area->offset as if it was the base of the pixmap, while for a pixmap
that is not in available state, it is not. This caused some funny
miscalculation leading to overlapping pixmaps and accesses beyond the
end of the framebuffer. To make things cleared, I renamed save_offset
to base_offset, made sure it's the one used everywhere in the
allocator, and only align "offset" for the client at the end of
exaOffscreenAlloc().
2005-10-11 23:11:37 +00:00
Alan Hourihane
8444a1f391
missed commit
2005-10-11 21:01:04 +00:00
Thomas Winischhofer
b4450f3242
Add DGAReInitModes, Part 2
2005-10-11 19:03:02 +00:00
Thomas Winischhofer
d91d18e1d6
Add DGAReInitModes in order to allow the driver to change the list of
...
supported DGA modes. (Part 1)
2005-10-11 19:02:18 +00:00
Alan Hourihane
c1a2abadfb
fix a typo
2005-10-11 14:50:47 +00:00
Alan Hourihane
697f64a22a
check randrp has been initialized
2005-10-11 14:50:03 +00:00
Alan Hourihane
2828d92c6c
programs/Xserver/hw/xfree86/common/xf86RandR.c
...
programs/Xserver/hw/xfree86/loader/xf86sym.c Add a new function
xf86GetRotation to allow third party modules to obtain the current
rotation.
2005-10-11 14:45:01 +00:00
Alan Hourihane
cad18ec979
don't move x or y depending on the screen size change
2005-10-10 10:07:47 +00:00
Alan Hourihane
7f72f94aa4
rework that again
2005-10-10 09:31:49 +00:00
Alan Hourihane
7c1d9a31a3
a furthur tweak to the randr cursor position fix
2005-10-10 09:24:28 +00:00
Benjamin Herrenschmidt
13f958fbe8
Add missing {Prepare,Finish}Access() wrappers for the tile pixmap in the
...
fallback case
2005-10-10 05:58:41 +00:00
Alan Coopersmith
d82aeb55ca
Bug #3254 < https://bugs.freedesktop.org/show_bug.cgi?id=3254 > Make sure
...
screensaver & DPMS timeouts don't overflow when multiplied by
MILLI_PER_MIN. (Reported by Zachary J. Slater)
2005-10-09 23:47:52 +00:00
Eric Anholt
046234b3eb
Don't try the accelerated glyphs path for component-alpha text (which I
...
don't expect drivers to be able to accelerate without exa assistance).
Instead, drop back to plain old miGlyphs for a 62.5% +/- 1.5% reduction
in runtime of my ls -lR test (n=5) with component alpha. While a
reasonable approach would seem to be making a better test to see
whether the entire path would be accelerated and force migration
appropriately, my attempt at this made the situation much worse.
2005-10-09 02:03:22 +00:00
Alan Hourihane
526d1502df
another update to the RandR fix (thanks Aaron)
2005-10-07 21:29:39 +00:00
Alan Hourihane
470213753b
update the last RandR fix
2005-10-07 18:15:08 +00:00
Alan Hourihane
348242f35a
programs/Xserver/hw/xfree86/common/xf86RandR.c Use PointerMoved instead of
...
SetCursorPosition, as PointerMoved will call AdjustFrame to reposition
the window if necessary and avoid the cursor ending up offscreen.
2005-10-07 15:39:52 +00:00
Kevin E Martin
578e18d11b
Add darwin to dist
...
Include missing docs in EXTRA_DIST
Include headers and other files in dist
2005-10-07 14:27:47 +00:00
Benjamin Herrenschmidt
ff258ac278
Clients tend to set picture->repeat when not necessary. Most HW cannot
...
accelerate repeat NPOT thus triggering software fallback (this is the
case with gnome desktop for example). This adds a simple optimisation
to exa that removes "repeat" when it's obviously useless, that is, the
single picture instance covers the entire rectangle beeing used
2005-10-06 23:45:29 +00:00
Eric Anholt
1614a31a9d
Bug #4699 : Correct some memory leaks in EXA and damage related to region
...
handling.
2005-10-06 21:55:41 +00:00
Alan Coopersmith
370b8c8f1c
App-defaults file not supposed to have .ad suffix when installed Fix cpp
...
rules to set needed flags for app-defaults file
2005-10-06 20:14:43 +00:00
Kristian Høgsberg
460145a5d5
Add cpconfig.c to EXTRA_DIST.
...
Add CURSOR.NOTES to EXTRA_DIST.
Add extrapci.ids to EXTRA_DIST and fix xf86PciIds.h rule.
2005-10-06 19:37:39 +00:00
Kevin E Martin
1f9b6dc1cc
Clean up generated files to pass distcheck
...
Clean up generated files to pass distcheck Distribute getconfig.man.pre,
not getconfig.man
2005-10-06 00:34:29 +00:00
Alan Coopersmith
e891d9c078
Update to 2005-10-05 snapshot from pciids.sf.net (includes a couple new
...
Radeon id's).
2005-10-05 22:19:09 +00:00
Kristian Høgsberg
dc6ac8e46f
Add DGA configure option and add various files that we should be dist'ing.
...
Simplify xf86DefModeSet.c rule a bit.
2005-10-05 21:38:40 +00:00
Adam Jackson
8391eaa4aa
Preprocess and install XOrgCfg.ad as in the monolith.
2005-10-05 21:13:49 +00:00
Alan Coopersmith
a9df169f10
Add missing $(DESTDIR) to custom install target
2005-10-05 17:27:58 +00:00
Alan Coopersmith
a6cbe0776f
Fix the rest of the XFree86 DDX options that require an argument to say so
...
instead of reporting "unrecognized option" when the argument is
missing. Also give correct error instead of "unrecognized option" for
options only available to root.
2005-10-05 16:39:09 +00:00
Luc Verhaegen
9f3ad65251
Fix lnx_pci.c's xf86GetOSOffsetFromPCI return value. Clears up the resource
...
ranges awkwardness and the "INVALID MEM ALLOCATION" warning.
2005-10-05 07:27:52 +00:00
Alan Coopersmith
9e8b5f3d47
Make Xorg -config stop lying to people and claiming it doesn't exist when
...
you fail to specify a file name. Also, include it in the list of
available options for non-root users when listing all available flags.
2005-10-05 01:38:50 +00:00
Eric Anholt
f47f00ab74
Mark the temporary pixmap dirty if UploadToScreen succeeds. Failure to do
...
so resulted in a solid black glyph if the font rendering actually
resulted in a fallback (subpixel AA, for example) and the temporary got
migrated after 10 or so glyphs.
2005-10-04 11:24:09 +00:00
Aaron Plattner
89a1a91b88
Add miext/cw to the module loader include path so that misym.c can export
...
miDisableCompositeWrapper.
2005-10-04 07:42:21 +00:00
Aaron Plattner
43625a4706
Bump the video driver module ABI minor version to 8 so modules statically
...
linked against miDisableCompositeWrapper won't load on older servers.
#include "cw.h" instead of #include "cw/cw.h"
2005-10-04 07:31:53 +00:00
Aaron Plattner
ca57db6fc1
Export miDisableCompositeWrapper.
2005-10-04 04:30:33 +00:00
Alan Coopersmith
cdded97a0a
Add #include <xorg-config.h> for modular build
2005-10-04 00:45:42 +00:00
Alan Coopersmith
4ae4fc7d51
Add gtf to xserver/xorg/hw/xfree86/utils
2005-10-04 00:43:16 +00:00
Alan Coopersmith
6d4b350dee
Bug #3815 < https://bugs.freedesktop.org/show_bug.cgi?id=3815 > Patch #3463
...
<https://bugs.freedesktop.org/attachment.cgi?id=3463 > GNU/kFreeBSD
Xserver support (Robert Millan)
2005-10-03 16:46:14 +00:00
Alan Coopersmith
22b4200b01
Whoops, need to be in DIST_SUBDIRS too.
2005-10-03 15:41:10 +00:00
Alan Coopersmith
14a2bd3330
Add missing ] (Dawid Gajownik)
...
Add getconfig (Dawid Gajownik)
2005-10-03 15:37:57 +00:00
Adam Jackson
e3d2a7d57b
Bug #4393 : uClibc lies and defines __GLIBC__ even though it's not source
...
compatible with glibc, so the backtrace support check fails. Work
around this by wrapping the code in a configure check for execinfo.h,
and emulate detection for the monolith. (Yuri Vasilevski)
2005-10-03 06:29:14 +00:00
Alan Coopersmith
b05e78dd40
Fix typo in MAN_SRCS (Dawid Gajownik)
2005-10-02 19:30:57 +00:00
Eric Anholt
8814896da8
Fix include path for commit of bug #4616 .
2005-10-02 08:53:18 +00:00
Eric Anholt
ecaa46380e
Bugzilla #4616 :
...
- Merge various fb/ bits of COMPOSITE support from xserver, which weren't
necessary before due to cw hiding the issues. Fixes offset calculations
for a number of operations, and may pull some fixes that cairo has
wanted for XAA as well.
- Add a new call, miDisableCompositeWrapper(), which a DDX can call to keep
cw from getting initialized from the damage code. While it would be
cleaner to have each DDX initialize it if it needs it, we don't have
control over all of them (e.g. nvidia).
- Use the miDisableCompositeWrapper() to keep cw from getting set up for
screens using EXA, because EXA is already aware of composite. Avoiding
cw improved performance 0-35% on operations tested by ajax in x11perf.
2005-10-02 08:28:27 +00:00
Matthieu Herrb
54b2a14f0f
Bug #3411 : fix handling of keyboard Autorepeat rate in xorg.conf.
2005-10-01 17:30:58 +00:00
Alan Coopersmith
a07dd03748
Add hw/xfree86/getconfig
2005-10-01 07:17:55 +00:00
Alan Coopersmith
abc6aa50fb
Oops - fix build/install of fbdevhw.man
2005-10-01 06:27:12 +00:00
Alan Coopersmith
13e0db19d8
Adding more doc files & fbdevhw man page
2005-10-01 06:19:02 +00:00
Thomas Winischhofer
b5ce065a5e
RandR: Fix failure handling ( Closes #4635 ; Thomas Winischhofer)
2005-09-30 08:54:44 +00:00
Alan Coopersmith
4608a2b654
Man page processing/installation and other doc file updates
2005-09-30 02:37:57 +00:00
Adam Jackson
aa74468aa5
sparse cleanups. s/0/NULL/ and mark a few things static.
2005-09-30 02:03:45 +00:00
Søren Sandmann Pedersen
c65fde5343
Make the server distcheck:
...
- Fix up the XpConfig directory to remove the stuff it installs
- Add a few files to CLEANFILES here and there
2005-09-28 20:38:42 +00:00
Eric Anholt
58abce3f90
- Use the dirty flag (which should be set correctly all the time,
...
particularly thanks to Prepare/FinishAccess) to avoid DFS/memcpy on
pixmap move-out if it's unnecessary. This was disabled in KAA because
cache misuse on ATI made me guess that this code was wrong.
- Unwrap Glyphs on closescreen.
2005-09-28 20:01:37 +00:00
Alan Coopersmith
f53404bdbb
Add kbd_mode build system
2005-09-28 16:55:25 +00:00
Ian Romanick
940158a6f2
Replace all uses of __glEvalComputeK (and the doubly redundant
...
EvalComputeK) with calls to one of __glMap[12][df]_size. This was
tested with progs/samples/eval (from Mesa).
2005-09-28 03:37:22 +00:00
Alan Coopersmith
806d74bc06
Add __SVR4 #ifdefs to work in non-Imake builds.
2005-09-28 01:57:47 +00:00
Kevin E Martin
88957862b8
Fix distcheck build and install errors.
2005-09-27 23:28:46 +00:00
Kevin E Martin
1c2e8b1ecc
Fix make dist to include only sgml files.
2005-09-27 15:11:56 +00:00
Kevin E Martin
ca64aab609
Add build system for building docs and fix setuid issues.
...
Add build system for sgml docs.
2005-09-27 14:09:31 +00:00
Kevin E Martin
1a4e30d508
Include xorg-config.h so the generated file will also include it.
2005-09-27 13:47:26 +00:00
Alan Coopersmith
8907195d78
Take care of more files from monolith's Xserver/hw/xfree86/etc dir:
...
hw/xfree86/utils/ioport/Makefile.am
Add ioport and pcitweak utils from monolith hw/xfree86/etc dir.
Generate xf86DefModeSet.c from vesamodes & extramodes
Add apSolaris.shar to EXTRA_DIST
2005-09-26 20:58:26 +00:00
Alan Coopersmith
0531c4be2f
alanc@alf:/export/alanc/X.org/head/cvs-rw/xc [7:40pm - 628] head -14
...
ChangeLog
include xorg-config.h for modular build
Adjust XF86CONFIG defines for modular build
Fixes for modular build:
- include modular server config headers
- change default XCONFIGFILE to xorg.conf
- define XKB_RULES_DIR if not defined by Imake
2005-09-26 02:41:38 +00:00
Alan Coopersmith
256fa24945
Add SecurityPolicy file for XCSECURITY extension.
...
Add README to EXTRA_DIST
2005-09-25 17:48:09 +00:00
Bogdan Diaconescu
54639964cc
Changed the license to a X/MIT one
2005-09-24 21:56:00 +00:00
Adam Jackson
3192f400c7
Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen
...
stubs from drivers, comment the non-empty ones.
2005-09-24 18:45:45 +00:00
Alan Coopersmith
a5477ae7ac
Add scanpci, xorgcfg, & xorgconfig utilities.
2005-09-24 02:40:51 +00:00
Alan Coopersmith
7554e1bf29
Sun bug #6321613
...
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6321613 >
xorgcfg dumps core when it reads a configuration file that has a
Monitor Section, but does not have a "VendorName" entry inside it.
(Henry Zhao, Sun Microsystems)
2005-09-23 00:27:07 +00:00
Alan Hourihane
99793543c0
put back some agp related allocation messages
2005-09-22 12:40:41 +00:00
Alan Hourihane
02566dff4a
fix typo
2005-09-22 12:33:36 +00:00
Eric Anholt
56e7766c77
Bug #4541 : Fix text drawing in the case where a list contains no
...
non-zero-sized glyphs. Several variables weren't updated, resulting in
rendering simply stopping when this case was hit. (Anders Kaseorg)
2005-09-21 22:26:07 +00:00
Eric Anholt
361a9eb953
- Change migration-in rule slightly: previously, if your score was less
...
than the max, it was bumped, and then if you were above the threshhold
you got moved in. Instead, do the above-threshhold check separate from
score starting out less than max. While this will likely make thrashing
cases worse, I hope it will fix some issues with long term performance
(think of an xcompmgr with a backbuffer it's doing only accelerated
operations to. If some new pixmap comes in and bumps it out, even once,
it will never get a chance to re-migrate because its score will be
maxed). Change migration-out to be the same way for symmetry, though it
shouldn't ever affect anything.
- Fix a lot of debugging output, both in terms of printing quality, and
completeness. The fallback debugging covers a lot more now, pointing
out new areas for improvement. Debugging toggles are now centralized in
exaPriv.h.
2005-09-21 10:27:53 +00:00
Eric Anholt
6a29c4cec1
Add support for hardware accelerating tiled background painting. One
...
example of this is the root weave, which paints slightly slower on SiS
now in my testing. However, according to keithp some apps use this
feature for a sort of cheap backing store, which this could help with
significantly. While I haven't done much performance testing with it,
it will at least rule out one possible source of terrible performance.
2005-09-21 07:43:01 +00:00
Adam Jackson
1115ff4c00
Bug #4487 : Add the bsd subdir to DIST_SUBDIRS. (Joshua Baergen)
2005-09-21 00:38:05 +00:00
Adam Jackson
b7e723ed6f
Missing backslash
2005-09-20 23:32:21 +00:00
Alan Coopersmith
15b2f94de5
Update CVS project tag & notice about pci.ids license in output .h.
...
Update to match recent changes to pci.ids, extrapci.ids, & pciid2c.pl for
people building on systems without perl.
2005-09-20 18:26:24 +00:00
Alan Coopersmith
7d0f47c43c
Add --disable-install-setuid option so you can build as non-root and
...
chown/chmod later. Also disable by default on platforms that don't need
setuid root X servers (Darwin & SPARC's, according to
InstallXserverSetUID settings in the old Imake config files).
2005-09-20 15:50:31 +00:00
Alan Coopersmith
b623c60745
Linux/Alpha support (Stefaan De Roeck)
2005-09-19 22:44:49 +00:00
Alan Coopersmith
bd906c6bb8
Update to latest version from pciids.sf.net
...
Sync with updates to pci.ids & PCI id list in nv driver
2005-09-19 18:54:05 +00:00
Alan Coopersmith
535cd292c8
#include "xf86Axp.h" -> "shared/xf86Axp.h" for modular build. (Stefaan De
...
Roeck)
2005-09-19 18:38:26 +00:00
Eric Anholt
a1bcf25a1f
Break EXA ABI while we still can. Add coordinates to the UploadToScreen
...
hook so we can upload a subset of a pixmap, and convert the current
drivers to respect that. Use this support to directly UploadToScreen in
exaGlyphs, providing a 47.4% +/-2.4% decrease in wall time for ls -lR
programs/Xserver in an antialiased gnome-terminal on an M6 (n=3, caches
hot). I would have bumped major version, only I can't tell what the
EXA_VERSION_* is supposed to be doing as opposed to the module version.
2005-09-18 02:32:23 +00:00
Eric Anholt
074913c8a9
- Don't try to upload 0 byte-per-pixel (PICT_a1) data using
...
RADEONHostDataBlit.
- Disable the shortcut for switching from 3d to 3d in radeon_exa.c. It
appears that we do need the cache flush here, thought it's not clear
why. Disable the 2d to 2d shortcut while here, since I'm unsure of what
we're doing. Exposed by the following bit:
- Bug #4485 : Add a new routine, exaGlyphs, to handle font drawing. Glyphs
were being accumulated in from non-migratable scratch pixmaps, causing
the destination pixmap to move towards screen but the migration
necessary for source never to happen, leading to abysmal performance.
Instead, copy the scratch glyph data into a real pixmap first, then
composite from that into the destination, allowing for migration. time
ls -lR from programs/Xserver showed 26.9% (+/- 6.3%) decrease in wall
time (n=3).
- Create exaDrawableUse* wrapping exaPixmapUse*, but which are aware of
windows needing backing store. Makes migration code prettier, and
ensures that composited windows will be migrated as normal when we turn
off cw for EXA. (issue brought up by keithp)
2005-09-17 20:02:02 +00:00
Eric Anholt
ef7eef0f68
Bug #4046 : Install the X.Org server setuid root. (David Schleef)
2005-09-15 05:55:21 +00:00
Eric Anholt
88d7eb1f7e
Bug #3889 : Create the log dir on install, and allow configuring
...
specifically that directory. Failure to have the directory keeps the
xorg server from starting.
2005-09-15 05:06:54 +00:00
Eric Anholt
25a0ecdc18
Don't put a version number on the module filename.
2005-09-15 04:07:19 +00:00
Eric Anholt
0888ad3874
Build xf8_32bpp, which is wanted by the mga driver, and export elf.h, which
...
is wanted by the rendition driver.
2005-09-14 07:49:22 +00:00
Eric Anholt
dfb5da93bc
Turn on DRI by default on Linux, NetBSD, FreeBSD, and fix the build of the
...
module for FreeBSD by setting some missing defines (XFree86Module,
IN_MODULE) in the dri directory. Note that those missing defines should
be somewhere generic, since there are other consumers of them, but I
haven't figured out where.
2005-09-13 20:59:05 +00:00
Eric Anholt
12fbcfefe6
Add some initial BSD support for the xorg server. Incomplete on NetBSD,
...
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually
run it yet.
2005-09-13 18:37:35 +00:00
Eric Anholt
133edff1b4
Don't define POSIX_SOURCE on any BSDs, since it breaks things.
...
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
Don't include validate.c in the library, since it seems to be a userland
test program.
2005-09-13 05:44:47 +00:00
Daniel Stone
c3d6799cee
Bug #594 : CAN-2005-2495: Fix exploitable integer overflow in pixmap
...
creation, where we could create a far smaller pixmap than we thought,
allowing changes to arbitrary chunks of memory. (Søren Sandmann
Pedersen)
2005-09-13 01:33:19 +00:00
Adam Jackson
b290884719
Bug #3284 : Make the DRI lock reference count per-screen.
2005-09-13 00:44:52 +00:00
Eric Anholt
b0f6fe1f38
Add some optional (disabled) fallback debugging code to the async code, for
...
better tracking of when we're hitting software.
2005-09-11 21:38:41 +00:00
Eric Anholt
1c003ccf5d
Add a pair of hooks, PrepareAccess() and FinishAccess(), which get called
...
around CPU access to the framebuffer. This allows the hardware to set
up swappers to deal with endianness, or to tell EXA to move the pixmap
out to framebuffer if insufficient swappers are available (note: must
not fail on front buffer!).
Submitted by: benh
2005-09-11 19:08:10 +00:00
Adam Jackson
ca210830bd
Simplify life for EXA drivers by reducing some {Con,Dis}joint ops.
2005-09-11 18:43:55 +00:00
Daniel Stone
c8de8c23fb
Fix tests for maximum number of colours when creating a colourmap, so a
...
32-bit visual (e.g. ARGB) doesn't overflow an int when attempting to do
1 << 32. (Benjamin Herrenschmidt)
2005-09-05 07:43:51 +00:00
Jesse Barnes
733a6d7a26
Add EXA driver writer documentation for the benefit of future generations
...
of X hackers.
2005-09-03 02:21:36 +00:00
Daniel Stone
94fbdb5c6d
Make RGB_PATH configurable.
...
Move I2C modules back to $(moduledir)/multimedia.
2005-09-01 14:56:35 +00:00
Alan Coopersmith
9d3b5e89d6
Save keyboard LED state on startup and restore on exit so text console mode
...
LEDs match text console mode state. Move push of streams module earlier
so it's loaded before we start using kbd ioctls provided by the streams
module.
2005-08-30 22:34:14 +00:00
Kristian Høgsberg
fa6fbd018d
Use the $(moduledir) makefile variable instead of @moduledir@ so it can be
...
overridden at make install time.
Remove driverdir and inputdir from pkg-config file. The directory layout of
moduledir is fixed and well known by drivers.
2005-08-30 22:31:52 +00:00
Adam Jackson
0e50af8b7f
typo fix
2005-08-30 19:35:06 +00:00
Eric Anholt
0c74799af4
Remove existing broken maxX/maxY code for composite (results in infinite
...
loops, doesn't deal with failure, doesn't present the interface to
drivers that I expected) and instead replace it with a simple fallback
to software when coordinate limits could be violated. Act similarly in
other acceleration cases as well.
The solution I want to see (and intend to do soon) is to (when necessary)
create temporary pictures/pixmaps pointing towards the real ones' bits,
with the offsets adjusted, then render from/to those using adjusted
coordinates.
2005-08-30 04:41:04 +00:00
Adam Jackson
0926cf79c0
Add diagnostic messages for exaDriverInit failure cases.
2005-08-26 20:21:57 +00:00
Adam Jackson
5ffff7cb86
Bug #4160 : Fix Altix kernel version check.
2005-08-26 20:08:09 +00:00
Daniel Stone
6b0cdc5dd9
Change use of dix-config.h to xorg-config.h.
2005-08-26 16:46:41 +00:00
Daniel Stone
9d1b349b37
Back out previous change until I figure out something smarter.
2005-08-26 16:34:55 +00:00
Daniel Stone
3075df24e7
Subvert SIGUSR2 to reload all input devices. (Ubuntu #020 )
2005-08-26 07:35:55 +00:00
Daniel Stone
89c84575ea
Undo rate/period change after function body, so the damage doesn't leak
...
into other functions. (Debian #050 )
2005-08-26 07:24:21 +00:00
Daniel Stone
bb5e934df7
Only open /proc/bus/pci/devices once. (Ubuntu #029 )
2005-08-26 07:15:04 +00:00
Daniel Stone
c937faadd0
Better error message on failure to set iopl. (Debian #021 )
2005-08-26 06:48:24 +00:00
Daniel Stone
6d34a2ac8a
Add Xv symbol from Xext.
2005-08-26 06:35:00 +00:00
Daniel Stone
b8f0d4c3eb
Spit out an error when there is no valid FB device, instead of just failing
...
silently. (Debian #070 )
2005-08-26 06:29:15 +00:00
Daniel Stone
b48a24e796
Don't assume that all sun4m CPUs support muldiv; the Cypress CPU, which
...
implements the 4m MMU but only v7 instructions, does not. (Debian
#100 ).
2005-08-26 06:23:41 +00:00
Daniel Stone
fd158d3d52
Get prototype for ntohl from SuSv3-compliant location, fixing it for
...
systems which define ntohl as a macro only, not both macro and
function. (Debian #076 )
2005-08-26 05:49:44 +00:00
Daniel Stone
53e489c0e3
Work around ATI expansion ROM problem on IA64 caused by prototype HP
...
McKinley systems. (Bdale Garbee)
2005-08-26 05:47:36 +00:00
Daniel Stone
40374d1149
Accept 'Enabled' and 'Disabled' for Extensions section (Ubuntu #990 )
2005-08-26 05:00:07 +00:00
Søren Sandmann Pedersen
54cc45b09b
Thu Aug 25 17:15:01 2005 Søren Sandmann <sandmann@redhat.com>
...
Add all the drivers to the module_LTLIBRARIES instead of having separate
variables for them. Pointed out by Kristian Høgsberg.
2005-08-25 21:22:41 +00:00
Kristian Høgsberg
ff22adc097
Remove sun_inout.s so make dist works (discussed with Alan Coopersmith).
2005-08-25 14:19:43 +00:00
Alan Coopersmith
344a24b622
Use system curses library on Solaris for xorgcfg text mode.
2005-08-25 04:09:45 +00:00
Eric Anholt
0711502f18
Bugzilla #4226 : Change the pixmap migration strategy for the CopyNtoN case.
...
Now, if either source or dest were in framebuffer, try to get both
there, but prefer system memory for both otherwise. Required making
exaasync.c go through the try-acceleration path. This significantly
improves window resizing under composite, because previously the
pattern of creating a new pixmap and copying default contents from the
screen caused a fallback every time due to the new destination pixmap
being in system memory.
2005-08-24 23:48:11 +00:00
Eric Anholt
2261710fe0
Fix a bug where NULL could be dereferenced during the pixmap kick-out
...
process by referencing the correct offscreen area. Also drive-by the
comments related to these for clarity.
2005-08-24 23:38:25 +00:00
Eric Anholt
55c5c6953a
Bugzilla #4090 : Introduce getters for pixmap pitch and offset, to
...
simplify/clarify it for driver writers who probably don't want to know
what pPixmap->devPrivate.ptr or pPixmap->devKind mean. Converts the sis
driver to use them, and bumps the EXA module minor version.
2005-08-24 22:43:27 +00:00