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
Eric Anholt
2f9d01c968
Remove some references to mfb/cfb support that is no longer there.
2005-09-08 01:15:47 +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
Alan Hourihane
b4f4bf028a
programs/Xserver/hw/xwin/winmultiwindowshape.c Fix off by one error (Colin
...
Harrison)
2005-08-30 19:51:59 +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
Alan Coopersmith
079ad773e0
Fill in xf86DeallocateGARTMemory stub based on lnx_agp.c version. Add
...
include of xorg-config.h for modular builds
2005-08-24 22:37:15 +00:00
Eric Anholt
8fd250e5e4
Bugzilla #4089 : Fix crashes in !EXA_OFFSCREEN_PIXMAPS case by not trying to
...
do migration when the EXA pixmap private is NULL.
2005-08-24 21:51:28 +00:00
Kristian Høgsberg
79dc5f3d5f
Don't export non-standard symbols generated GCCs stack protection feature
...
(__guard, __stack_smash_handler).
2005-08-24 21:28:40 +00:00
Søren Sandmann Pedersen
d2952de6e3
Wed Aug 24 15:39:07 2005 Søren Sandmann <sandmann@redhat.com>
...
Add GLX_{INC,LIBS} for xprint.
Add @DIX_FLAGS@ to AM_CFLAGS
2005-08-24 19:41:43 +00:00
Søren Sandmann Pedersen
81e708440c
Wed Aug 24 15:29:50 2005 Søren Sandmann <sandmann@redhat.com>
...
Conditionally include dix-config.h
Conditionally include dix-config.h
2005-08-24 19:35:51 +00:00
Alan Coopersmith
9657e0e9de
Don't try to build dmx/input/lnx-*.c if <linux/keyboard.h> isn't found
...
Don't try to build dmx/input/usb-*.c if <linux/input.h> isn't found
Replace -rdynamic with $(LD_EXPORT_SYMBOLS_FLAG) for compatibility with
compilers other than gcc
2005-08-24 15:18:06 +00:00
Daniel Stone
825a95a1fa
Remove use of dix-config and xorg-config.h from public headers.
2005-08-24 11:18:35 +00:00
Alan Coopersmith
9f498a37dd
Display more friendly mouse protocol names. Enable mouse wheel mapping by
...
default.
2005-08-23 20:58:29 +00:00
Alan Coopersmith
cff4b1c216
Check for getconfig in GETCONFIG_DIR if it's not found in module dir.
2005-08-23 20:12:26 +00:00
Alan Coopersmith
e848eb289c
Rename app-defaults entries from xf86cfg to xorgcfg to match name passed to
...
XtAppInitialize. (Henry Zhao, Sun Microsystems) Also, display vendor
version instead of 4.0 for server version.
2005-08-23 01:14:35 +00:00
Alan Coopersmith
6076fca825
User message cleanups/updates for modern configurations.
2005-08-23 00:32:27 +00:00
Kevin E Martin
4a19a33db6
bugzilla #2880 ( https://bugs.freedesktop.org/show_bug.cgi?id=2880 )
...
attachment #2987 (https://bugs.freedesktop.org/attachment.cgi?id=2987 )
Use system method to access PCI config space for inb and inw in
addition to inl (Olivier Baudron and Kevin Martin).
2005-08-22 21:29:18 +00:00
Alan Hourihane
7693f668ef
programs/Xserver/hw/xfree86/os-support/linux/lnx_acpi.c
...
programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c
programs/Xserver/hw/xfree86/os-support/linux/Imakefile Add basic ACPI Linux
support so that events can be passed to the driver. (Alan Hourihane)
2005-08-22 12:05:18 +00:00
Daniel Stone
02c834f198
Include Xv and XvMC headers in the SDK.
2005-08-22 09:15:31 +00:00