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
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
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
fc0772de36
Add HAS_MMAP for Xvfb
...
Fix Xvfb option parsing to exit on bad arguments, not just issue error
messages and continue on. (Coverity #492 )
2006-03-11 02:10:14 +00:00
Alan Coopersmith
f2ecbb3018
Pass sizeof the correct buffer to XmuSnprintf. (Coverity #489 )
2006-03-11 01:58:32 +00:00
Eric Anholt
d695579848
If fakexa is enabled, create a larger buffer in the Ximage, but keep the
...
same width/height for front-buffer drawing. The fakexa code then uses
this extra space for offscreen pixmaps. Note that this tones down the
absurdity of fakexa's offscreen pixmap alignment requirements (odd
alignment is too weird, so stick with "24", which is still strange but
exists out there). It also fixes a couple of bugs in the fakexa
implementation revealed by using offscreen pixmaps.
2006-03-10 21:36:24 +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
b7d2dfc1e5
Add appropriate MIT license. Oops.
2006-03-07 20:06:15 +00:00
Eric Anholt
9d8c0e4bcb
Add a new flag to ephyr, "-fakexa", which turns on an EXA acceleration
...
implementation that calls fb to get its work done. The purpose is to
have a trusted EXA driver for use with testing changes to the core of
EXA. However, fakexa has not received much testing yet, lacks offscreen
pixmaps support, and doesn't reliably provide garbage when EXA doesn't
get its syncing right. All of these should be fixed soon.
2006-03-07 19:57:46 +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
Alan Hourihane
b2f8f410c0
https://bugs.freedesktop.org/show_bug.cgi?id=4341 Make Xming error messages
...
more meaningful.
2006-03-03 09:54:54 +00:00
Alan Hourihane
29237c1977
https://bugs.freedesktop.org/show_bug.cgi?id=4538 Fix mouse button release
...
on multiwindows scrolling.
2006-03-03 09:50:55 +00:00
Alan Hourihane
06f01623fd
https://bugs.freedesktop.org/show_bug.cgi?id=5138 Check for NULL pointer
2006-03-03 09:43:42 +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
Alan Coopersmith
345d99c972
Typo fixes (Nicholas Joly, XFree86 bugzilla #1658 )
2006-02-27 16:19:39 +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
Alexander Gottwald
43324132af
Added Mesa include directory
2006-02-22 16:08:56 +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
Keith Packard
8987b2c1ef
Make more extensions optional in build (for kdrive). Fix kdrive build for
...
actual hardware. Fix kdrive pointer signed/unsigned types. Add
kdrive-required YX rotation functions. Replace rgb text file loading
with static rgb color table.
2006-02-16 07:17:31 +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
Eric Anholt
50e2ff9a25
Remove the waitSync from KdDisableScreen and push it off to drivers'
...
disableAccel hook, which is more correct anyway. This makes kdrive.c
not have any knowledge of kaa, opening the way for using exa from
kdrive.
2006-02-15 03:20:55 +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
Eric Anholt
5f45776ef3
Add missing HAVE_DIX_CONFIG_H which caused issues with mismatched screen
...
structure interpretations, and remove a bunch of unused junk from
kdrive-config.h. Xephyr almost works on my amd64.
2006-02-12 10:30:47 +00:00
Eric Anholt
5249416d09
Add stub xf86WrapperInits so that the servers will build even if os/ was
...
built with XFree86LOADER set.
2006-02-11 22:40:50 +00:00
Alan Coopersmith
a2a5254675
Add <string.h>, <stdlib.h>, and <stdio.h> to clear undefined function
...
warnings after the removal of libcwrapper headers.
2006-02-11 19:16:51 +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
4fafba61d5
Remove libcwrapper damage from GLX (requires fresh Mesa HEAD), and get it
...
compiling in kdrive.
2006-02-11 03:03:45 +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
Eric Anholt
a8cec1b656
Merge from kdrive: use RECT_PRIM to avoid tearing in xvideo.
2006-02-10 09:00:02 +00:00
Eric Anholt
efc3fab7f4
Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSes
...
without linux VT switching, fbdev, and vm86 support.
2006-02-10 07:52:05 +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
Dave Airlie
e70b64b930
Updated xgl code drop from Novell + xserver tree changes
2006-01-18 07:15:55 +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
Daniel Stone
890ec84947
Add xgl to DIST_SUBDIRS.
2006-01-10 02:30:56 +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
b9c0ae867e
Remove the manual AddFilter for convolution, which I'm pretty sure
...
shouldn't be necessary due to it already happening from
PictureSetDefaultFilters.
2006-01-03 22:36:46 +00:00
Eric Anholt
1729fc882c
Change REGION_INIT(pScreen, &foo, NullBox, 0) to REGION_NULL(pScreen,
...
&foo). While it is no longer (or rather, once again not) required as of
regionstr.h r1.4, it matches the style of the rest of the xorg code.
2005-12-31 08:06:00 +00:00
Eric Anholt
c25536a793
Initialize the fourcc value in stack-allocated glitz_pixel_format_t
...
structures. Greatly reduces the number of uninitialized-value accesses
during Xgl startup according to valgrind. Allocating and filling these
in by hand on the stack seems very shady to me.
2005-12-31 08:01:31 +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
Adam Jackson
49a9249239
Make kdInputMachine static const, shrinks .data a bit.
2005-12-29 21:11:41 +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
Eric Anholt
d6646307f0
Add necessary *CONFIG_H declarations and a force-off of XF86* extensions in
...
miinitext in the XGL case. Prevents mismatched structure sizes on my
_XSERVER64 machine. At this point, with the uncommitted render/ diffs,
Xglx starts up but displays badly.
2005-12-29 00:19:33 +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
Eric Anholt
b1b40ed6a8
Initial commit of XGL build infrastructure and XGL code changes for
...
building within the xorg server tree. Requires additional, uncommitted
dix changes to successfully build, and successful running is still yet
to happen.
2005-12-28 10:31:46 +00:00
Adam Jackson
05c139d4cd
Enough build fixes to get {sdl,ephyr,fake} to link.
2005-12-28 10:02:54 +00:00
Dave Airlie
aeb770f645
recommit previous changes to evdev.c
2005-12-28 02:43:50 +00:00
Dave Airlie
ce7c0c8937
some updates for default colormap install
2005-12-28 01:57:11 +00:00
Adam Jackson
27d79ab2bc
s/XSERVER/KDRIVE/
2005-12-27 23:03:15 +00:00
Adam Jackson
72817714a0
Remove Imakefiles.
2005-12-27 23:01:27 +00:00
Adam Jackson
9dd0af6cb4
Skeletal kdrive build system. Totall non-functional atm.
2005-12-27 08:31:37 +00:00
Adam Jackson
7fd73d2953
Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.h
2005-12-27 08:29:50 +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
Dave Airlie
5230e86b1c
fix up xglglx.c
2005-12-23 04:13:37 +00:00
Dave Airlie
feb735c5bb
Well there were a couple of snapshots later than CVS available outside of
...
Novell, so I've done a crazy merge to try and get them into a workable
CVS, I suspect I may have failed.. there is a pre-xgldrop-merge tag if
I did.
2005-12-23 02:07:58 +00:00
Dave Airlie
ade104ce5a
check drawable is available
2005-12-23 01:51:40 +00:00
Dave Airlie
7fb521e80d
from davidr's tree update some fixes
2005-12-23 01:50:04 +00:00
Dave Airlie
c88a3145d0
from davidr's tree if source picture defined return
2005-12-23 01:49:21 +00:00
Dave Airlie
c59508566f
fix glx up for newest glitz interface
2005-12-23 01:13:28 +00:00
Dave Airlie
d822bc1596
make xgl code at least build against latest glitz.
2005-12-23 00:08:35 +00:00
Dave Airlie
6e2086395d
fixups for newer glitz API
2005-12-22 23:32:49 +00:00
Dave Airlie
f3ae42c0fd
small fix towards new glitz interface
2005-12-22 23:31: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
62f3ef930a
Bug #5258 : Restore binary compatibility with 6.8.2's PictureRec. (Aaron
...
Plattner)
2005-12-09 18:35:21 +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