Commit Graph

843 Commits

Author SHA1 Message Date
Vladimir Dergachev
3a055ea35b Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.h Squash annoying warning
    about fi1236_dump_status
2004-10-13 23:02:42 +00:00
Egbert Eich
3364e7fbd4 Set fbdev mode as the default mode on PPC (Olaf Hering).
Added support for IBM space saver keyboard (Stefan Dirsch). Added support
    for Cherry CyMotion Master XPress (Marcus Schaefer).
Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and
    RestoreBIOSMemSize() to be exactly opposite to the Save procedure in
    EnterVT() (Matthias Hopf, Alan Hourihane).
Fix text mode restauration by removing the assumption that the register
    which determines which head is programmed is set. to the active head by
    the BIOS (Mark Vojkovich).
When I wrote the resource code 5 years ago I made some assumptions which
    turned out to be false: I've assumed that the bus number of the PCI
    hostbridge would be the PCI bus the bridge links to. This is not
    correct. Fixing this assumption is not easy. However I hope that the
    attached patch will make the system work regardless as it 'ignores'
    host bridges from which the target bus is not known. This should not
    matter at all as we really don't care about host bridges (unless we
    have bridge specific code which retrieves information about the
    bridge).
Fixed server crash on reset when a structure allocated in PreInit() was
    freed on CloseScreen().
Fixed ring buffer lock ups that happened because the structure that
    contained ringbuffer data was not zeroed after allocation.
Fixed numerous warnings due to signed unsigned comparisons.
    programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c:
    (NVBacklightEnable): Changed the order in which the sequencer registers
    and the backlight control registers are written. The sequencer control
    register need to be written first otherwise DPMS screen blanking
    produces vertical bars on a mobile device. lib/Xau/Imakefile: Build
    libXau static library PIC so it can be linked into toolkits that would
    like to wrap its functionality.
2004-10-12 19:13:43 +00:00
Egbert Eich
4ab7d316ec Improving DPMS handling on VT swich and server termination/abort: previous
version called the driver directly and too late.
Unblank secondary screen explicitely. Don't rely on the value read during
    register save as the BIOS have blanked the secondary head.
Checking if server isn't switched away before calling sync. Sanity check
    for possible bugs in aother areas of the code.
Fixing default amount of of allocated video memory from AGP for i810: Use
    16MB if less than 192MB are installed else use 24MB (Matthias Hopf).
2004-10-11 09:58:04 +00:00
Torrey Lyons
fa9847aeb9 Allow rootless implementations to override frame reordering. This is used
on Mac OS X when genie-restoring from the Dock to ensure that the
    animation completes before drawing the frame.
2004-10-08 00:35:08 +00:00
Alan Coopersmith
d737bc3300 Make xorgconfig ask again instead of giving up and throwing away all your
answers when you give a bad file name or bad amount of video RAM. (Sun
    bug id 5070654 - Derek Wang)
2004-10-05 17:28:15 +00:00
Vladimir Dergachev
7b27bf869d Modified:
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.c Make sure formatting
    style is consistent within a single function. MT2032 functions are best
    be in separate file anyway.
2004-10-03 15:01:31 +00:00
Vladimir Dergachev
4046653cb6 Modified:
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.c Fix compilation with
    gcc 3.4.x Cleanup xf86DrvMsg noise.
2004-10-03 14:38:31 +00:00
Vladimir Dergachev
ebe7b3fe16 xc/programs/Xserver/hw/xfree86/drivers/i2c/*_module.c Change version
strings to XORG.
2004-10-02 01:35:33 +00:00
Vladimir Dergachev
0d474149f1 Initial code from GATOS. This needs to be cleaned up, for example the bt829
code is practically untouched since xatitv (which was a standalone test
    program). However, it all worked and was debugged over long period of
    time, so I prefer to to mess with these for now.
New drivers: fi12xx (including MT2032 - this would be be split off later).
    tdaXXX msp34xx bt8xx
2004-09-30 22:58:07 +00:00
Torrey Lyons
884cb060ee Update XDarwin project to Xcode 1.5 format and remove unused
QUARTZ_SAFETY_DELAY code.
2004-09-22 23:52:39 +00:00
Torrey Lyons
35a3bf13a8 Add option for XDarwin to track system keyboard layout changes as they
occur (John Harper and Torrey T. Lyons).
2004-09-22 23:38:33 +00:00
Torrey Lyons
1b3fa4d53b Warning fixes. 2004-09-22 22:52:03 +00:00
Alan Coopersmith
de68a3339b Allow overriding DPMS defaults (timeouts & default for on/off) from
#defines/-D options.
programs/Xserver/hw/xfree86/common/xf86DPMS.c Use defaultDPMSEnabled global
    for the default state of DPMS if not set in any config files.
programs/Xserver/hw/xfree86/os-support/sunos/solaris-sparcv8plus.S Add
    support for required assembly inline functions for Sun compilers on
    Solaris/sparc.
Add support for Solaris/sparc libraries.
2004-09-22 17:20:56 +00:00
Adam Jackson
d7514b9162 Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones. 2004-09-22 04:38:03 +00:00
Torrey Lyons
269012e601 Add offscreen GLX direct rendering with XDarwin's xpr backend (John
Harper).
2004-09-21 22:01:14 +00:00
Egbert Eich
0514f8b656 Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb and
Alan Coopersmith from release 6.8.1.
Fail during initialization with error if font/fontset is not set for
    widget. This prevents a sig11 later when the non-existent font/fontset
    structs are referenced.
Check if xf86Info.kbdProc pointer is really set before calling it on abort
    as this pointer won't be set if the new modular keyboard driver is used
    (Matthias Hopf).
Added new libs to the bindist control files.
Removed inclusion of unnecessary kernel header on Linux. This may fail in
    an -ansi environment.
2004-09-21 17:57:36 +00:00
Eric Anholt
b600fcda38 Fix the R200 Render code. Composite and Trapezoids are now supported just
as well as on R100.
2004-09-20 03:12:00 +00:00
Eric Anholt
90ff3688cd Unbreak the AGP DRI case. That was quite a pile of broken code. 2004-09-19 10:57:31 +00:00
Torrey Lyons
6344bb51e2 Bugzilla #1032: Make rootless acceleration functions compatible with
Damage.
2004-09-18 00:38:30 +00:00
Torrey Lyons
cedb9a8d62 Update Apple's list and hash utility routines to latest versions (John
Harper).
2004-09-17 21:57:26 +00:00
Alexander Gottwald
b56f4532d1 Remove code which prevented the use from specifying the window size in
nodecoration mode.
2004-09-16 13:22:52 +00:00
Alexander Gottwald
c4083511ac add support for mice with more than 3 buttons and one scroll wheel (Chris
B)
2004-09-15 17:58:50 +00:00
Egbert Eich
516f452e78 Adding support for OS dependent probing of IA64 chipsets. Not all IA64
chipsets can be probed without OS support as probing them is only
    possible using ACPI. One example of this are the HP ZX1/2 chipsets:
    previously the code assumed that these chips were present when no other
    of the known chipsets could be probed. This assumption brought SGI
    Altrix machines with 64 CPUs to a grinding halt.
2004-09-15 09:23:59 +00:00
Roland Mainz
f642fc729b Refix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1361 - RFE: Allow
enabling/disabling of more extensions (fixing duplicate symbols caused
    by previous checkin; attachment #899)
2004-09-14 23:21:22 +00:00
Phil Blundell
0d95bdfbab Only set screen parameters if resolution has changed from current values.
Patch from scoony@noos.fr.
2004-09-14 23:08:10 +00:00
Eric Anholt
ba3b6fd23b Add proper PCI/AGP detection, based on Mike Harris's code for Radeon, but
using the MMIO mirror of the bits instead of config space.
2004-09-14 06:26:54 +00:00
Roland Mainz
d9df39ee2b Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1361 - RFE: Allow
enabling/disabling of more extensions
2004-09-14 00:51:25 +00:00
Eric Anholt
80dc84d067 - Fix a segfault on VT switch with DRI. Still dies due to cursor allocation
troubles.
- Move the RemoveBlockAndWakeupHandlers to match
    RegisterBlockAndWakeupHandlers.
- Enable R100 trapezoid "acceleration" when DRI is working, so that it can
    be exposed and worked on.
2004-09-12 23:22:31 +00:00
Eric Anholt
ab50679aab Fix a bad argument missed in the previous commit for ATIDRIDMA* functions. 2004-09-12 23:01:24 +00:00
Eric Anholt
2d069b1d19 Move the RegisterBlockAndWakeupHandlers to before DRI initialization. The
change to use that instead of manual wrapping made the DMA dispatch
    come after the lock had been dropped, causing lots of pain.
2004-09-12 22:21:12 +00:00
Eric Anholt
27b5a65f05 Reset the CCE/CP on engine reset, and make the ATIDRIDMA functions take a
more useful argument.
2004-09-12 20:31:39 +00:00
Eric Anholt
fcd52d276f Add missing kaa.h include for kaaInitTrapOffsets. 2004-09-12 20:19:15 +00:00
Eric Anholt
b5d406e8c8 Fix handling of is_agp. is_agp is whether the card is actually AGP, while
using_agp should say whether AGP is being used as part of DMA/DRI.
2004-09-12 20:02:10 +00:00
Eric Anholt
7cab70d1cb Improve error handling, especially in the DRI case. Do some FatalErrors
instead of ErrorFs for things that are really bad, and put limits on
    some loops. Now, sometimes instead of hanging the entire system, we
    (mostly-) cleanly drop to console when the card has hung.
2004-09-12 19:52:51 +00:00
Eric Anholt
0cd662ea80 - Add disabled WIP trapezoid code for R128 and R100. The R128 rendering is
not doing an add of 1 per triangle like I hoped, and instead seems to
    be saturating all the pixels or something. The R100 acceleration
    renders pretty well, with some gaps. Note that both are slower than
    software due to lack of DMA to submit vertices.
- Mostly fix R128 and Radeon transform support, including supporting
    bilinear filtering on R128. Subpixel offsets are still probably an
    issue (reported by rendercheck), but I want to make 100% sure about my
    understanding of the protocol before changing everybody, including fb.
- Add support for dst formats without alpha to R128 Composite.
- Remove the R128 Blend code, which has long outlived its usefulness. (I
    kept it around for one reason: It could be useful for the w/h > 1024
    case with no mask and a non-src op. That seems pretty infrequent and
    not worth the trouble).
2004-09-11 09:28:19 +00:00
Eric Anholt
396100dd23 - Don't require Imrecise mode for Trapezoid acceleration. It looks like we
might be able to do Precise in hardware, so leave it up to the driver.
- Add a helper function for computing a set of offsets for smooth trapezoid
    rasterizing using many sharp trapezoids.
2004-09-11 09:23:12 +00:00
Matthew Allum
501dcf37aa cursor fixes 2004-09-08 11:31:49 +00:00
Matthew Allum
20918ab480 avoid ephyr breakage when tslib enabled 2004-09-07 19:00:04 +00:00
Matthew Allum
8bf6ea903b fixes to Xephyr debug mode 2004-09-07 12:44:19 +00:00
Kevin E Martin
b332225781 Update formatted docs. 2004-09-03 23:41:21 +00:00
Matthew Allum
2753c8e2c8 see changelog 2004-09-01 15:30:58 +00:00
Matthew Allum
7c0aaa53bf '-dpi' fixes for Xephyr 2004-09-01 11:13:36 +00:00
Matthew Allum
16ff3a8727 Actuall select events for -parent option 2004-09-01 08:31:20 +00:00
Matthew Allum
2d065c4c33 Added ephyr server sources 2004-08-31 16:33:05 +00:00
Eric Anholt
6ec9ecd591 Add a set of three hooks for accelerating trapezoids, and use it for the
RasterizeTrapezoid screen function. These hooks will be called for
    imprecise, non-sharp trapezoids with A8 destinations.
Note that the current main consumer of trapezoids, cairo, is requesting
    precise, sharp trapezoids by not changing the default Picture
    attributes, but gets non-sharp effects in software because fb bases its
    choice of sharp/non-sharp on the mask format being A8 vs A1, and cairo
    asks for A8. Follow fb's (poor?) example by ignoring the sharp setting
    and basing the choice off of the mask being A8.
2004-08-30 22:16:46 +00:00
Eric Anholt
ccaf332ce3 Rather than initially place pixmaps in framebuffer based on a size
heuristic, delay the decision until the first
    kaaPixmapUse{Screen|Memory}, and put it in framebuffer if UseScreen was
    called. Provides a significant improvement in cairo speeds (100%
    speedup in cairogears here) and is likely to improve text performance
    as well.
2004-08-30 16:43:10 +00:00
Kevin E Martin
14b2db63e7 Fix make install when BuildServersOnly is YES (Bug #1213).
Fix build failures when UseDeprecatedKeyboardDriver is YES and
    DoLoadableServer is NO (Bug #1229, Kristian Høgsberg).
Fix failure when using DLL loader and LD_BIND_NOW is set (Bug #1212, Adam
    Jackson).
2004-08-29 21:06:00 +00:00
Alan Coopersmith
ac038e9cc6 Don't define _XOPEN_SOURCE before including math.h on Solaris - it's not
needed on older releases, and breaks builds on Solaris 10. (Same as
    bugzilla #189).
2004-08-29 00:48:17 +00:00
Egbert Eich
89d7027638 Fix for XV memory allocation: Also use tiled area for allocation even if it
hasn't been used before.
2004-08-27 21:44:54 +00:00
Kevin E Martin
1840a50bb7 Add missing reply for DMX (Rik Faith). 2004-08-27 20:39:17 +00:00
Egbert Eich
ecd889c6ff Added support for LynxOS 4.0 (Thomas Mueller).
Fix arm netwinder build (Donnie Berkholz).
2004-08-27 19:27:12 +00:00
Egbert Eich
7c08707869 - Make DDC code more VESA compliant: when MaxClock is set to 0xFF it means
'no value specified'. Therefore setting it to 0.
2004-08-27 12:32:14 +00:00
Kevin E Martin
c0bff215de Fix xtest failures in Xvfb from XMatchVisualInfo test. 2004-08-27 01:15:10 +00:00
Egbert Eich
c8672e7ac7 Fixed support for LynxOS 3.1 (LynxOS 4 will follow) (Thomas Mueller).
2
2004-08-26 11:58:08 +00:00
Torrey Lyons
198e62c44b Documentation only update: Update XDarwin application version for release. 2004-08-21 00:46:01 +00:00
Kevin E Martin
74d84d7b12 Fix keyboard driver failing to initialize if DoLoadableServer is NO (Bug
#1133, Kristian Høgsberg).
2004-08-20 05:22:39 +00:00
Kevin E Martin
bd3e6e4425 Add missing no.*Extension symbols (Bug #1131, Aaron Plattner). 2004-08-19 04:08:40 +00:00
Kevin E Martin
9223baf985 Fix AIX build problems (Bugs #1020, 1102, 1103, Dan McNichol).
Remove old config files (Bug #1123, Jim Gettys).
Remove old log message (Bug #1123, Jim Gettys).
2004-08-18 18:41:41 +00:00
Kevin E Martin
a45bc0df7a Fix DRI module loading (Bug #1057, Ronny Vindenes).
Fix Xvfb at 8bpp (Bug #1091).
Fix link order when building with Xprint in glxgears (Bug #1060, Alexander
    Gottwald).
2004-08-17 17:55:02 +00:00
Kevin E Martin
75de2fe82e Update release and date for first RC.
Fix kbd/keyboard driver for DoLoadableServer NO.
Revert change since it is better to set date in the config files.
2004-08-16 22:48:50 +00:00
Kevin E Martin
1798cac6fa Add kdb <-> keyboard aliasing when UseDeprecatedKeyboardDriver is NO (Bug
#1072, Kristian Høgsberg).
2004-08-16 20:17:51 +00:00
Alexander Gottwald
6cac342517 document broken composite in XWin 2004-08-16 15:48:53 +00:00
Kevin E Martin
9aa6beb6b7 Fix banner to print out proper version information. 2004-08-16 02:07:53 +00:00
Kristian Høgsberg
5db70ae257 Remove #error used for testing. 2004-08-15 15:40:19 +00:00
Keith Packard
1e728c3e88 Copy bits from parent window when allocating pixmaps so that Background ==
None works.
Copy filter to backing picture during validation.
Mark picture serialNumber when setting Filter or Transform so Validate
    occurs.
Initialize xf86Screens[i]->pScreen to NULL so that RADEON driver doesn't
    crash during server reset using old pScreen.
2004-08-15 03:34:18 +00:00
Kristian Høgsberg
597fdae93e More kbd fun: write out "kbd" from Xorg -configure (#1078). 2004-08-14 23:59:52 +00:00
Eric Anholt
ed425d1d88 Bug #1077: Fix source copy performance problem exposed by Composite. 2004-08-14 20:29:28 +00:00
Alan Coopersmith
05f6329eb6 Don't enable speedo & type1 modules if they're not being built
Clean up a couple of hardcoded paths & vendor names to use defines set by
    Imakefile
2004-08-13 23:57:38 +00:00
Søren Sandmann Pedersen
f63f4b768c Fri Aug 13 19:53:10 2004 Soeren Sandmann <sandmann@redhat.com>
Fix for lockups on some versions of Matrox Mystique. #687, Patch from Mike
    Harris.
Call xf86EnableDisableFBAccess though the function pointer instead of
    directly. #1041, Patch from Aaron Plattner.
Swap the phsyical size of the screen when rotiation. #1050, Patch from
    Aaron Plattner.
Fri Aug 13 19:47:12 2004 Soeren Sandmann <sandmann@redhat.com>
Make HAVE_FT_BITMAP_SIZE_Y_PPEM conditional on the FreeType version instead
    of proping it. This way it will work with the monolithic version too.
    #1062, Patch by Owen Taylor.
2004-08-13 18:24:07 +00:00
Torrey Lyons
2889ad2cb8 Fix crash in rootless XDarwin due to rootless being initialized before
damage extension.
2004-08-12 20:24:36 +00:00
Kevin E Martin
1a073786e0 Update version and date for next snapshot 2004-08-12 05:11:57 +00:00
Adam Jackson
09d0056b8b Wrap the Propolice fix in #ifdef __SSP__; Propolice doesn't define this yet
but an RFE has been submitted upstream.
2004-08-12 01:30:57 +00:00
Adam Jackson
e30c22dbbf Back out the propolice fix for a second, it causes linktime errors. 2004-08-12 01:16:36 +00:00
Torrey Lyons
c7bc76f663 Fix leftover XF86_VERSION_SNAP macro. 2004-08-11 23:53:36 +00:00
Adam Jackson
eb607030e3 Teach the loader about the extra symbols needed for Propolice-protected
modules to work under elfloader. From Travis Tilley (Gentoo).
2004-08-11 23:10:02 +00:00
Keith Packard
fd439afdfe Add COMPOSITE change to fbCopyWindow (not needed yet)
Xnest was half-using midispcur and doing a bad job of it. Replace all of
    that code with mipointer which does a lot of the work.
Support DDXen which don't provide GetWindowPixmap, or which return NULL for
    the root pixmap.
2004-08-11 22:40:14 +00:00
Kevin E Martin
f77f1d5072 Apply PPC64 build patch (Bug #303, Mike A. Harris, Alan Coopersmith). 2004-08-11 21:14:18 +00:00
Kristian Høgsberg
3dbaeb2e12 Patch xorgconfig to generate config files with correct keyboard driver; use
"kbd" by default, "keyboard" if UseDeprecatedKeyboarDriver is YES
    (#1040).
2004-08-11 20:25:13 +00:00
Kevin E Martin
81881b9686 Update version to 6.7.99.1 and fix problem with snapshot string generation. 2004-08-10 21:37:35 +00:00
Kevin E Martin
21c7c8cdc7 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339,
Harold L. Hunt II, Alexander Gottwald).
Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao,
    David Dawes).
Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson).
HP-PA build fix (Bug #828, Guy Martin, Paul Anderson).
Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine).
Fix attempt to read video ROM before enabling it (Bug #843, Ivan
    Kokshaysky, Mike A. Harris).
Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A.
    Harris).
Clarify xset man page description of how to use the keyboard repeat rate
    settings (Bug #846, Mike A. Harris).
Fix problem where print-screen key would get remapped to sys-req in certain
    keymaps, which broke GNOME printscreen functionality (Bug #847, Owen
    Taylor).
Fix several render problems:
- MMIO mode support
- Hang on IGP chips
- VT switching hang
- 3D render corruption (Bug #922, Hui Yu).
2004-08-09 22:37:22 +00:00
Kristian Høgsberg
26847ef926 Move the new render symbols to dixsym.c instead so they are grouped with
the other render symbols.
Initialize screen_x and screen_y to 0. This fixes a problem with the new
    Damage based sprite, where intersection test against the root pixmap
    would fail because the two fields were not initialized (damage.c,
    166-170).
2004-08-09 03:40:50 +00:00
Kevin E Martin
57eab4dc87 - Fix building without Xfixes extension
- Fix building without Xevie
- Fix building without DPMS
- Fix "Extensions" section config file support to accept general boolean
    options
2004-08-09 02:08:35 +00:00
Kristian Høgsberg
a2e51b13ea Disable legacy keyboard driver "keyboard", unless
USE_DEPRECATED_KEYBOARD_DRIVER is defined. Print warning if the old
    driver is used.
2004-08-08 20:56:56 +00:00
Kristian Høgsberg
3431692bf4 Add new render symbols to list of exported extension symbols so
DoLoadableServer works again.
2004-08-08 17:02:19 +00:00
Keith Packard
45fde3b041 Eliminate mfb support. Fix visuals to match "normal" PC hardware (making
lightpipe work).
2004-08-07 01:19:01 +00:00
Egbert Eich
d240c41a3a Optimization of CJK rendering when using versions of freetype prior to
2.1.8 (Chisato Yamauchi).
A small backward compatibility fix to make the freetype module build with
    freetype version < 2.1.7.
Fixed/added some debugging code.
2004-08-04 12:21:48 +00:00
Eric Anholt
751fd11a9a - Add two new XAA hooks, SetupForCPUToScreenTexture2 and
SetupForCPUToScreenAlphaTexture2. These add a dstFormat argument after
    the previous format argument, which the driver needs to use to properly
    set up the destination format. Two new arrays are added for the list of
    destination formats supported that correspond to the previous format
    arrays for sources.
- Make Render acceleration only occur when the new hook for that
    acceleration type is supplied and the dst format list is set, along
    with the src format list being set. Without knowing the destination
    format, the Render acceleration couldn't properly support all the
    destinations it might encounter.
- Bump XAA module minor version.
- Update the Radeon Render acceleration to use the new hooks when the XAA
    module is sufficiently new. Fix a bug in the src/dst alpha booleans for
    ops, and use them to set blend_cntl to support destinations without
    alpha. Add missing PICT_a1r5g5b5 texture format, and add list
    terminator. (!)
2004-08-04 10:05:37 +00:00
Alexander Gottwald
9c1d52a69d Merge from CYGWIN branch
2004-08-02 Kensuke Matsuzaki
Fix the bug that we can't copy & paste multi-byte string to Unicode-base
    Windows application. Rename fUnicodeSupport to fUseUnicode, because it
    don't mean wheather Windows support Unicode or not.
2004-08-03 10:12:25 +00:00
Matthieu Herrb
defcfe3c7e programs/Xserver/hw/xfree86/ddc/xf86DDC.h
programs/Xserver/hw/xfree86/vgahw/vgaHW.c
programs/Xserver/hw/xfree86/vgahw/vgaHW.h
programs/Xserver/miext/shadow/shadow.h
programs/Xserver/miext/shadow/shpacked.c
programs/Xserver/miext/shadow/shplanar.c
programs/Xserver/miext/shadow/shrotate.c Fix glitches in pointer to
    functions declarations.
2004-08-03 09:33:54 +00:00
Matthieu Herrb
e6d0b18c24 Fix declaration of XAACachePlanarMonoStippleProc. Rename
XAACachePlanarMonoStippleWeak to XAAGetCachePlanarMonoStipple() for
    consistency with other parts of xaa and fix forward declaration in
    xaalocal.h. Fixes last comments on Bug #962.
2004-08-03 08:52:17 +00:00
Adam Jackson
d112e55992 Bug #962: Remove LoaderSymbol calls introduced by the dlloader work so
DoLoadableServer NO builds work again.
2004-08-03 02:44:23 +00:00
Søren Sandmann Pedersen
734cb34dc1 Mon Aug 2 21:49:33 2004 Soeren Sandmann <sandmann@redhat.com>
Remove double cast.
2004-08-02 21:15:30 +00:00
Egbert Eich
e6b9cc79c2 Removed distro specific stuff.
Fixed FreeType module to build with FreeType versions older than 2.1.7.
Fixed typo.
Added vtSema to protect call of driver DPMS function.
removed unneeded variable
Modified RandR driver hook to reduce the number of function calls to one.
    Function is sufficiently generic to be extended in the future.
2004-08-02 19:35:07 +00:00
Alexander Gottwald
b759da83ae added README for Cygwin/X
This file currently contains the Cygwin/X specific release notes from 6.7.0
    and a first collection of what will make up the release notes for the
    next release
2004-08-01 16:16:18 +00:00
Alexander Gottwald
d638a50f3f adjust prototype for winInitCmapPrivates to match Egberts change. 2004-07-31 18:33:56 +00:00
Kevin E Martin
383b6b5986 Add "Extensions" section support to configuration parser 2004-07-31 09:14:06 +00:00
Kevin E Martin
25bd6ff4a6 Add new extension enable/disable feature. This code is a small step in the
right direction -- i.e., moving towards full run-time config of
    extensions. Currently, only XTEST, XINERAMA, RENDER, XKB, and XEVIE are
    supported.
2004-07-31 04:23:21 +00:00
Adam Jackson
706b2a7e02 Change several LoaderSymbol calls introduced by the bug #400 patch to
*Weak() resolver functions.
2004-07-31 01:21:19 +00:00
Alexander Gottwald
9e13805b02 adjust prototype for winInitCmapPrivates to match Egberts change. 2004-07-31 00:44:45 +00:00
Hui YU
64a6d3e9c8 Support for New radeon chips: R420/M18, R423, RV370/M22, RV380/M24, RS300.
Add special handlings for DELL triple-head server (RV100). Misc. bug
    fixes for flat panel, host aperture, etc (Bug #946)
2004-07-30 22:20:21 +00:00
Egbert Eich
d3c98fed2c Add support for on-the-fly screen rotation when supported by hardware (Aron
Plattner).
2004-07-30 21:53:09 +00:00
Egbert Eich
4baf002941 An experimental pseudocolor emulation layer. Not fully completed, currently
only works for 16bpp.
2004-07-30 21:46:38 +00:00
Egbert Eich
63a152f781 removing some unnecessary restricitons on the allowed visuals. 2004-07-30 21:39:20 +00:00
Egbert Eich
0ba1559946 Adding a colormap index to the InitColormapPrivate() func call. Without it
it was completely useless.
test if colormap with index really exists in the list of installed maps
    before using it.
2004-07-30 21:10:46 +00:00
Egbert Eich
bbfe7bed3f Set DPMS to ON when VT switching away or shutting down the server. Failing
to do this may leave the text console blank.
2004-07-30 20:56:53 +00:00
Egbert Eich
40b975e3ac Improved error messages.
build fixes for AMD64.
Made shm* functions in the libc_wrapper more standard conformant by setting
    errno correctly.
Use xf86ExendedInitInt10() in VBEExtendedInit() to be able to pass flags.
2004-07-30 20:51:09 +00:00
Egbert Eich
7643199de1 Fix static build.
add i845 to the list of chips that allow memory size tweaking.
2004-07-30 20:38:27 +00:00
Adam Jackson
48514fee3c Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all
framebuffer formats except cfb and the overlay modes should work, and
    r128 and radeon need to be loaded from the ati driver (both issues to
    be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga
    drivers. elfloader users shouldn't be affected.
2004-07-30 20:30:57 +00:00
Torrey Lyons
784e4d1cc0 Merge many XDarwin improvements:
- Fix launch of X clients by double clicking in the Finder when there is a
    space in the path (Torrey T. Lyons).
- Interpret scroll wheel mouse events correctly when shift is held down
    (Benjamin Burke).
- Add option to always use Mac command key equivalents (John Harper and
    Torrey T. Lyons).
- Add support for dynamic screen configuration changes in rootless mode
    (John Harper and Torrey T. Lyons).
- Add documentation on generic rootless layer (Torrey T. Lyons).
2004-07-30 19:12:18 +00:00
Egbert Eich
c2275b31ad Removed bugs on TweakMemorySize() which prevented it from working at all.
Initialized last element of BIOS version number string to 0 to avoid random
    problems.
2004-07-30 19:04:14 +00:00
Egbert Eich
5ed0aefc67 Fixed typo in a comment.
Deleted bogus comment.
Added debugging support.
2004-07-30 18:40:36 +00:00
Torrey Lyons
d380647739 Add initial Xinput support for XDarwin (Greg Parker). 2004-07-30 18:22:13 +00:00
Torrey Lyons
41641c11ec Make XDarwin not default to StaticColor on ix86 (Shantonu Sen). 2004-07-30 17:37:09 +00:00
Kevin E Martin
854c1afa86 Fix "DoLoadableServer NO" build 2004-07-30 04:44:13 +00:00
Alan Coopersmith
736e511824 Fix shared reqs for Xlibi18n, Xaw6 & Xmu for Solaris
Improved support for Compose and Kana Lock LED's on Sun keyboards
Add event definitions for additional keys on Sun Japanese keyboards
VUID mouse protocol support for Solaris Make default mouse message clearer
    on machines that use a default other than /dev/mouse.
2004-07-28 03:57:19 +00:00
Rik Faith
d374dffb20 When using DMX console input, make detached screens display as grey (vs.
white for attached and black for dead-space).
2004-07-28 00:28:00 +00:00
Alexander Gottwald
8ef3e7052e Merge latest changes from CYGWIN branch
Use find | xargs combination instead of simple shell globbing to prevent
    commandline argument overflow
2004-07-27 09:53:14 +00:00
Matthieu Herrb
a12a678bc9 Fix a bug that caused an entire batch of events to be thrown out when one
of an unknown type is encountered. (Ty Sarna, NetBSD).
2004-07-27 06:20:52 +00:00
Alex Deucher
19002e47a0 - enable maven support for TV detection, DPMS, and DDC on crtc2 on G400
(Ryan Underwood) (http://bugs.xfree86.org/show_bug.cgi?id=1098)
- expose I2CStart; needed for mga maven support (Ryan Underwood)
2004-07-27 02:50:41 +00:00
Adam Jackson
799208dd44 Bug #377: Make lib{glx,GLcore,dri} work when compiled as dlloader modules. 2004-07-26 19:06:04 +00:00
Keith Packard
f15f881727 Eliminate bogus rate check in fbdevModeSupported. Hmm. Potentially bogus
rate selection necessary for Mac fbdev
Don't know about fb changes to pixmaps, so can't track dirt.
Add Mac specific 1280x854 mode. Warn when requested mode isn't found.
Add ability to soft-boot video cards.
Add region expand request. FIXME: need test cases
2004-07-26 17:14:27 +00:00
Matthieu Herrb
20913b7d5d Fix a problem with wsmouse driver loosing events on 64bit architectures
(XFree86 Bugzilla #1438, John Heasley). "To fix this, I've added a
    mouse buffer (Xisb buffer) "scale" value to the MouseDevPtr type. If
    set, it is used as structure size of which we want space for a few."
2004-07-24 17:35:39 +00:00
Keith Packard
c57944cd9a Check for mmio before restoring crtc/crtc2 pitch registers 2004-07-24 17:02:49 +00:00
Matthieu Herrb
5fdff8b95e Bugzilla #884: OpenBSD/amd64 support. 2004-07-24 16:32:39 +00:00
Keith Packard
9565d9e0cf Correct pitch so that accelerator can run on 1400x1050 screens. Add a few
more register sets for cursors.
2004-07-22 18:17:59 +00:00
Eric Anholt
67dbad6b3b DRM 20040721 import 2004-07-22 06:48:19 +00:00
Eric Anholt
829b2c72a6 Initial revision 2004-07-22 06:48:19 +00:00
Phil Blundell
448e0754e3 Include -lts if appropriate. Patch from pattieja@bentham.ispvip.biz. 2004-07-21 20:33:35 +00:00
Phil Blundell
07e6011106 Select optimized
16bpp shadow copy functions if screen is 16bpp. Select -YX versions for
90 and 270 rotations if architecture is ARM.
2004-07-20 14:33:42 +00:00
Eric Anholt
8853f93318 Add support for a8b8g8r8 and x8b8g8r8 pictures, which showed up frequently
with metacity usage.
2004-07-19 12:07:01 +00:00
Eric Anholt
adf4b38f49 Breakage in last commit to this file: pCurPriv->area isn't set up until
Enable, these days.
2004-07-19 11:42:49 +00:00
Eric Anholt
d2e74e419d Set the right number of texture coordinates for r200 Render support (still
disabled, needs to be tested).
2004-07-19 11:19:12 +00:00
Eric Anholt
cefcb7f123 - Add Radeon picture transform support.
- On R128, don't refer to an old Composite's mask transform when the
    current Composite doesn't have a mask.
- Staticize some global variables in r128_composite.c.
2004-07-19 11:16:13 +00:00
Eric Anholt
9fe216a458 Use the offscreen memory manager as much as possible to do the reservation
of memory at startup. Do some drive-by cleanups while I'm here
    (sorry!).
2004-07-19 07:53:54 +00:00
Eric Anholt
e2bb9f38cd Add support for transforms of textures on R128. 2004-07-19 07:20:01 +00:00
Rik Faith
c042647278 Addition of console input after removal of core backend input that is not
on screen 0 can cause a segfault. Fix by preventing reinitialization of
    detached inputs. When Xinerama is active and screen 0 is detached,
    pixmaps for XGetImage must be obtained from another screen.
2004-07-18 22:19:33 +00:00
Carlos Romero
3e52373fc8 Enable i810. 2004-07-15 09:56:40 +00:00
Eric Anholt
aeb78eaa98 Commit the rest of the dirty optimization from 20040703 and add a missing
header include. I don't know how this happened, but I'm going to blame
    a "few" fscks having happened between testing the code and committing
    (due to other driver changes that made me not blame dirty for the
    failures I saw) for disappearance of kasync.c changes. Fixes a lot of
    corruption.
2004-07-08 08:21:25 +00:00
Eric Anholt
b467673528 Remove duplicate protos in kdrive.h. 2004-07-08 06:57:58 +00:00
Carlos Romero
764d9e822b missing xkb/[xkb.h, xkbDflts.h] and hw/kdrive/mga/g400_common.h 2004-07-07 20:43:25 +00:00
Carlos Romero
f96ef08d48 Initial kdrive XKB/XINPUT support, use --enable-xkb --enable-xinput 2004-07-07 19:21:07 +00:00
Rik Faith
a5c9b3229c Bugzilla #817 2004-07-07 04:32:52 +00:00
Kevin E Martin
1498d7a096 - Disable building DMX on OSs that have not been verified to build
correctly (Kevin Martin).
- Fix DMX build when Xinerama is not enabled (Kevin Martin).
2004-07-06 23:51:00 +00:00
Egbert Eich
0e45f2a753 ifdef'ed some IA32-only assembler statements. Presently these chipsets are
IA32 only, anyway (Egbert Eich).
Disabling generic VGA testing for IA64 architectures. Temporarily disabling
    support for ZX1 bus. This code is extremely invasive and is executed as
    fallback without testing for a ZX1 chipset. It brings a SGI Altrix to a
    grinding halt. (Egbert Eich).
2004-07-06 14:49:13 +00:00
Egbert Eich
df2b55a25b Separated Intel drivers from default DriDrivers to avoid building them on
IA64 (Egbert Eich).
Fixed wrong function prototype (Egbert Eich).
Don't test for generic VGA on IA64 (Egbert Eich).
Fixed a segfault when accessing a structure before verifying the pointer
    exists (Egbert Eich).
Added a showcache option for debugging (Egbert Eich).
Increase default video RAM size to 16MB when DRI is enabled and more than
    128MB are available (Egbert Eich). Fixed lockups during mode switch.
    Problem was introduced when attempting to copy the behavior during
    LeaveVT()/EnterVT() but but forgetting to call I810DRILeave() before
    I810DRIEnter(). The entire DRILeave()/Enter() scenario has been
    commented out as it didn't seem to be necessary (Egbert Eich).
Fix TweakMemorySize() (tested with i855/i865) (Egbert Eich).
increased MAX_DEVICES to 128 (Egbert Eich).
Use OS provided PCI config space access as default method (Egbert Eich).
Added support for Linux 2.6 proc file format.
Fixed unaligned accesses to pieces of the VBE info block. VESA did not
    align elements to size (Egbert Eich).
2004-07-06 14:37:48 +00:00
Eric Anholt
7c466d64c3 Clean up Rage 128 composite code. Now it composites more operations
correctly and is simpler.
2004-07-03 10:23:03 +00:00
Eric Anholt
0207015669 Add a "dirty" flag to the pixmap private. Clear it when setting up an
offscreen pixmap area, and set it when any rendering occurs. When
    moving a pixmap out of offscreen, don't read data back if it wasn't
    dirtied (compared to the system memory copy).
2004-07-03 09:16:30 +00:00
Phil Blundell
fd594b0559 Call ts_read multiple times, to avoid events getting stuck in the pipeline. 2004-07-02 21:30:00 +00:00
Kevin E Martin
7976ee51af Add Distributed Multihead X (DMX) support 2004-06-30 20:06:56 +00:00
Eric Anholt
d5db59bd79 Add an offscreen area scoring to improve choosing offscreen areas to kick
out when allocation can't find a free area of the requested size. When
    offscreen pixmaps get used, the offscreen area's score is increased by
    a constant value. Every certain number of increases, all offscreen area
    scores get decreased by a fraction. When choosing a set of areas to
    remove for a new allocation, the set of areas with the smallest total
    score is chosen for removal. While this is not the smartest system, it
    prevents things like always removing the first offscreen area in memory
    (likely the most recent) to be kicked out when doing replacing.
2004-06-29 20:37:51 +00:00
Alan Coopersmith
ea78d1c6fc Add GLX_ALIAS_VOID for GLX_ALIAS of functions with return type void to fix
builds with non-gcc compilers that refuse to let you do return
    function_that_returns_void(...)
programs/Xserver/hw/xfree86/os-support/shared/sigiostubs.c Remove includes
    of xf86drm.h that break non-DRI builds
2004-06-28 18:08:26 +00:00
Keith Packard
7ff67f2872 Separate out off-screen allocation from Init. Fix Enable to update
off-screen addresses. Wrap RandR to update off-screen addresses.
Set off_screen_base and memory_size fields correctly.
2004-06-28 00:48:51 +00:00
Keith Packard
5b75aae2cf Add ARGB cursor support for Radeon cards. 2004-06-26 04:13:03 +00:00
Alexander Gottwald
ed7f92e791 Bug 778: add ddxBeforeReset 2004-06-21 13:44:14 +00:00
Alexander Gottwald
d6e8b1affe Bug 777: Merge from CYGWIN branch 2004-06-21 13:19:32 +00:00
Damien Ciabrini
da78a4ddd8 Update MGA composite patch commit. (some files were missing in the previous
commit)
2004-06-16 21:36:54 +00:00
Eric Anholt
e56e24af25 Merge DRI-trunk-20040613 changes in programs/Xserver/GL. 2004-06-16 09:37:59 +00:00
Eric Anholt
2e1868b560 DRI trunk-20040613 import 2004-06-16 09:25:21 +00:00
Eric Anholt
22bad9474b DRI XFree86-4_3_99_12-merge import 2004-06-16 09:22:17 +00:00
Eric Anholt
1c133c27cc Initial revision 2004-06-16 09:22:05 +00:00
Eric Anholt
bcc1eab1fd Initial revision 2004-06-16 09:16:01 +00:00
Jaymz Julian
580b9a7da1 MGA composite support from Damien Ciabrini - thanks! 2004-06-14 08:43:57 +00:00
Alan Coopersmith
95d65cf6bb Manual page X(7) does not reference Xprt(1x), xplsprinters(1x), etc.
xc/config/cf/Imake.rules Correct comment to match rule name for
    InstallDriverSDKObjectModule
xc/programs/Xserver/hw/xfree86/os-support/sunos/sun_kbd.c Log results of
    ioctls to probe keyboard type & layout
2004-06-13 04:50:21 +00:00
Eric Anholt
4ffde8a6b3 - Pass the right pixel mask (all ones) in to PrepareSolid in the
solid-fill-based composite acceleration.
- Use a real pixmap when doing an UploadToScratch (For pDrawable->type ==
    DRAWABLE_WINDOW, you need to get the backing pixmap).
- Pass back the x/y offsets from kaaGetOffscreenPixmap unconditionally,
    because they'll be used in the scratch case.
- Turn on the Render acceleration for Rage 128 and Radeon 100-series at
    last!
2004-06-10 19:22:58 +00:00
Eric Anholt
c3bc6dd551 Align scratch area offsets to the offscreen byte alignment. 2004-06-10 09:50:59 +00:00
Eric Anholt
cf3f95d216 Oops, testers reported that the last patch actually didn't work (conflicts
occurred), so the R300 PDMA doesn't work. Disable.
2004-06-10 08:37:28 +00:00
Eric Anholt
0b7647ee35 Bug #242: Fix setup of R300 cards, by providing R300 CP code from
volodya-project and initializing PDMA.
2004-06-10 05:57:31 +00:00
Franco Catrin L
b3a18ca8b8 Neomagic driver enabled 2004-06-07 05:13:29 +00:00
Franco Catrin L
893ea12559 small fixes. README added 2004-06-07 05:05:10 +00:00
Keith Packard
d9cca52feb Add (stubbed out) Xgl server code 2004-06-04 17:06:18 +00:00
Keith Packard
f8a1dd3ce7 Add top-level build support for GL X server (not working yet)
Fix a few allocation bugs with alternate visual ids Allow for non-8/8/8
    alternate visuals
Turn off any existing shadow before enabling it again (avoids
    re-registering existing damage)
Add some validation code to catch re-registered damages
2004-06-04 16:10:50 +00:00
Phil Blundell
6741fadc52 New conditional. (REQUIRED_MODULES): Demand xcalibrateext if building
XCalibrate.
New file.
Add xcalibrate.c.
Read raw events if requested.
2004-06-02 20:49:50 +00:00
Phil Blundell
d4d0c8470c Add -lts if using tslib. 2004-05-30 20:40:30 +00:00
Carlos Romero
8124810950 Initialize permedia engine for acceleration to work. 2004-05-30 13:51:18 +00:00
Ralph Thomas
ea1bbf8d83 Adding driver for VIA CLE266 graphics chip. Currently it only accelerates
copy and fill operations.
2004-05-29 12:15:46 +00:00
Daniel Stone
6af411b02e Hey, I like devfs.
Try /dev/fb/0 if /dev/fb0 fails.
2004-05-28 04:56:49 +00:00
Egbert Eich
05a3dbf5dc Updated x86emu and resynced with upsteam at Scitech. 2004-05-26 17:44:29 +00:00
Alan Coopersmith
9549f628e0 getconfig: file '/usr/X11R6/lib/X11/getconfig/xorg.cfg' has bad signature
(Change "Xorg Project" to "Xorg Foundation" to match getconfig script)
2004-05-25 20:33:46 +00:00
Carlos Romero
f8124d3ef5 Add pm2 to the build 2004-05-25 13:02:44 +00:00
Carlos Romero
32d0920ef9 Initial import of Permedia2 driver 2004-05-24 19:31:41 +00:00
Egbert Eich
5b2211ec35 Muffle compiler warnings.
fix option name in log message.
improve debugging messages.
2004-05-24 19:05:01 +00:00
Keith Packard
932efe8e6d Allow for multiple composite-based visuals, then add an RGB24 visual in
addition to the ARGB32 one. This allows 'glitz' to run on top of any X
    server using mesa.
Switch to using 32bpp for depth 24 pixmaps (even when the frame buffer is
    not depth 24).
2004-05-21 03:32:27 +00:00
Keith Packard
cde51fd05b Miscomputing pitch in 24bpp modes because of rounding errors. 2004-05-20 19:51:44 +00:00
Keith Packard
b9d920f3dc Fix SYNC_ALWAYS (debugging) code to use mach64WaitIdle instead of
KdCheckSync -- the boolean used in the latter won't be set yet.
Oops. == instead of =.
Must sync hardware before rasterizing trapezoids in case the mask is in
    off-screen memory and has just been erased. Yes, it is silly to place
    masks in off-screen memory. That's a separate issue.
2004-05-20 05:27:03 +00:00
Keith Packard
94648799c8 Pin header-only pixmaps in memory.
Off-screen reallocation could have used a stale pointer.
Separate framebuffer mapping computation from actual frame buffer mapping.
    Now map the frame buffer from vesaEnable so that VT switch shares the
    same mapping code. This makes sure any shadow framebuffer is allocated
    again.
2004-05-20 02:42:20 +00:00
Eric Anholt
cade317d31 Overhaul of the ATI driver:
- Add monochrome hardware cursor support.
- Try to auto-detect AGP support for DRI on Radeons. And fail. Detect it
    properly on R128.
- Set up card for pseudo-DMA if possible. Convert 2D rendering code to
    prepare DMA packets only. Use generic code to decode DMA packets to
    MMIO if PDMA is unavailable. Add WIP code to support "real" DMA without
    DRM support.
- Dispatch pending DMA commands when the server sleeps. Otherwise some
    things, such as typing in an xterm, wouldn't show up for a time.
- Fix Radeon Composite acceleration in many ways, and add Rage 128
    Composite acceleration. Disable them both due to still-not-understood
    issues they have. They fail with In, Out, AtopReverse, and Xor, and
    text rendering is strange.
- Add textured XV support for R100 and Rage 128. No brightness/sat
    controls, but it does support multiple ports, and cooperates with
    Composite.
- Add WIP code for hostdata uploads.
- Many cleanups and fixes.
2004-05-17 20:18:02 +00:00
Eric Anholt
834537e212 Make kaaMoveInPixmap public. This will be used by the ATI driver's xvideo
support to ensure that the destination is in framebuffer.
2004-05-17 07:19:49 +00:00
Eric Anholt
85f46e0bcd Add new CheckComposite hook. This allows a driver to avoid the migration of
pixmaps for a Composite operation if the operation can't be supported.
    This hook is optional.
2004-05-17 07:14:23 +00:00
Alan Coopersmith
fc2dd516c3 xc/programs/Xserver/hw/xfree86/xf86config/Imakefile
xc/programs/Xserver/hw/xfree86/xf86config/xorgconfig.c
- Clean up server name changes from TM branch
- Set default XKB rules file name correctly
- Use default font path from Imake configuration for the default font path
    in generated xorg.conf files.
- Use path variables from Imake configuration for paths to files, in case
    vendor has configured them to install somewhere other than the
    defaults.
2004-05-16 00:03:54 +00:00
Eric Anholt
74b2a76947 Add new flag, KAA_OFFSCREEN_ALIGN_POT, which tells KAA to align pixmap
pitches to a power-of-two number of bytes. Useful for Render
    acceleration on older cards.
2004-05-14 00:34:28 +00:00
Eric Anholt
2bea33e881 Don't let the visible screen get "migrated" offscreen, which manifests
itself as a hang.
Reported by: Ginokas <ginokas@free.fr>
2004-05-14 00:27:29 +00:00
Eric Anholt
40354e7618 Add generic functions for copying packed/planar XV data, copied from
mach64.
2004-05-13 22:57:15 +00:00
Eric Anholt
2e330e980f Move fourcc.h to a generic location in src/. 2004-05-13 21:41:48 +00:00
Keith Packard
f52a4d472d Follow GLX in setting ARGB visual nplanes to 24.
Retry current mouse protocol when sync is lost
2004-05-13 21:25:51 +00:00
Eric Anholt
aa5a878472 There's no need to explicitly set softCursor -- kdrive handles this if the
cursor hooks aren't set.
2004-05-13 21:15:06 +00:00
Egbert Eich
75d96afcc4 BugZilla #601: Fixing makedepend choking on floating point exception
because CHAR_BIT is defined to __CHAR_BIT__ which is a compiler
    intrinsic define. BugZilla #605: Fixing build on IA64 which is broken
    due to the inclusion of the kernel header asm/page.h. Kernel headers
    however don't work with
-ansi. The inclusion of asm/page.h can however savely be removed as it
    there are plenty of other ways to determine the page size.
2004-05-06 17:31:17 +00:00
Keith Packard
7124cfaa00 Use current resolution by default, change rate to 75 to match
fbdevModeSupported cut-off (?). Glenn McGrath <glennm@hydrix.com>
2004-05-06 16:19:32 +00:00
Keith Packard
b5f200ce9d Attached is a patch to fix a build error whe ncompiling with tslib support,
a variable wasnt set, i just changed it to be like the other
    MAkefile.ams :) -- Glenn McGrath <glennm@hydrix.com>
2004-05-04 03:28:06 +00:00
Keith Packard
a8429d7610 Add completely fake X server -- draws to allocated buffer, has no keyboard
or mouse.
2004-04-28 07:26:46 +00:00
Egbert Eich
2fb5886200 Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
Egbert Eich
0664db19bf Merging XORG-CURRENT into trunk 2004-04-23 18:54:16 +00:00
Franco Catrin L
20248eedd6 fixed Changelog format 2004-04-11 16:39:48 +00:00
Franco Catrin L
bc7168ee76 Added ROP 2004-04-11 16:24:03 +00:00
Franco Catrin L
784d37ee36 Fixed size calculation in solid rendering 2004-04-11 15:51:04 +00:00
Franco Catrin L
056322336c Basic bitblt implementation 2004-04-11 15:20:17 +00:00
Franco Catrin L
c231856a13 First acceleration function implemented (DrawSolid) 2004-04-11 00:53:10 +00:00
Franco Catrin L
47436a8af8 Finnally got MMIO working all timecat ChangeLog cat ChangeLog cat ChangeLog
:-D
2004-04-11 00:15:57 +00:00
Franco Catrin L
1740b938e4 Return back to VESA only version 2004-04-06 18:09:44 +00:00
Franco Catrin L
07bc231872 small fixes, but still can't get this driver woking again 2004-04-05 18:19:34 +00:00
Brent Cook
b526276faa removed hardcoded vesa references so we can operate with any backend. fbdev
works for initializing the screen, but input fails shortly after.
2004-04-05 02:52:35 +00:00
Brent Cook
920e6ff81b Begin separating VESA calls into a more generic backend wrapper like the
ati driver, cascading between VESA and FBDEV. We only have init
    functions done so far; need to add all of the others. Fixed some
    compiler warnings. Whitespace and formatting cleanups (using 4 spaces,
    no tabs)
2004-04-04 07:30:07 +00:00
Brent Cook
530371ceaf added touchscreen support, detect all known PCI chips in the Neomagic line.
We'll not bother with ISA for now.
2004-04-03 22:26:37 +00:00
Brent Cook
962b898868 initial import of original driver by Franco Catrin L. Wraps VESA for most
parts, with some hardware acceleration enabled for the cursor on the
    NM2300.
2004-04-03 22:22:48 +00:00
Torrey Lyons
f1394ec3ce Change XFree86 Project to X.Org Foundation in localized XDarwin splash
screens.
2004-03-24 22:15:25 +00:00
Torrey Lyons
d2bbcc0dee Change XFree86 Project to X.Org Foundation in XDarwin splash screen. 2004-03-24 22:12:34 +00:00
Egbert Eich
dae90c3af9 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 2004-03-14 08:34:49 +00:00
Daniel Stone
45b638b87f Twenty link errors for Xizzle now - count 'em. 20.
Get rid of all references to SCO.
Change SDK include dir to $(includedir)/xizzle. Add SDK libs where
    necessary.
Reformat to be nicer and easier to shuffle around; also, fix lib ordering
    so we get so much closer to the elusive final link. Shuffle
    common/xf86Init.c into libxizzle.a.
Fix a couple of early snafus - s/BUILDXI/XINPUT/, et al; make the SDK stuff
    conditional as needed; fix the SBus includes.
Name library os-support/libxizzleos.a, not os-support/foo/libxizzlefoo.a.
    Clean up ARCH_SOURCES so it's always initialised to something.
Move linked libraries to _LIBADD, which somehow escaped my attention. Make
    inclusion of drm/libxizzlelinuxdrm.a dependent on DRI.
s/VERSION/VBE_VERSION/;
Axe this redundant dir.
All Xizzle-specific: axe hw/xizzle/Xi, shuffle link order, fix list of
    required modules to be vaguely sane, add some pertinent libs/incs.
2004-03-10 11:49:11 +00:00
Egbert Eich
867451f1ab Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 2004-03-03 12:12:50 +00:00
Jaymz Julian
6c412a43e4 sdl x server so that we can x-on-x the fb stuff for ease of debugging. if
anyone uses this in production, a big scary monster will eat them. hrm,
    perhaps i should make it have a --i-know-what-i'm-doing param that it
    doens't start without, heh
2004-02-28 09:47:55 +00:00
Egbert Eich
df0313d35b readding XFree86's cvs IDs 2004-02-26 13:36:15 +00:00
Egbert Eich
147aae87fd Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2004-02-26 09:23:53 +00:00
Kaleb Keithley
4ee0a53de8 Import most of XFree86 4.4RC3. This import excludes files which have the
new license. If we want to, later we can import 4.4RC3 again and pick
    up the files that have the new license, but for now the vendor branch
    is "pure."
2004-02-23 20:35:22 +00:00
Kaleb Keithley
dcdd47ebbd Initial revision 2004-02-23 20:35:19 +00:00
Warren Turkal
a27ffd2678 completely get rid of NeedNestedPrototypes
completely get rid of NeedVarargsPrototypes
remove a lot of NeedFunctionPrototypes
ansify many function declarations
2004-02-18 02:12:44 +00:00
Warren Turkal
b146ef1548 Moving toward a working input extension. 2004-02-15 15:04:57 +00:00
Jaymz Julian
bd20c8d340 Polling input mode for the kdrive os layer. And a moose! 2004-02-05 09:09:51 +00:00
Jaymz Julian
af798d2774 More NULL checks. These ones are more useful than the last (which just made
debugging a bunch of problems easier), since you can implement less in
    the basic simplest case driver now (not that i'm lazy, mind :-p)
2004-02-04 16:08:27 +00:00
Egbert Eich
3c64b65d80 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 2004-01-29 08:08:57 +00:00
Eric Anholt
2ec70aa701 Disable GLX visuals code on !GLXEXT, and remove a useless prototype. 2004-01-25 05:31:24 +00:00
Eric Anholt
01e9cc858a - Add glx visuals code based on XFree86's Radeon driver.
- Reserve areas for back/depth/span when USING_DRI && GLXEXT. This would be
    better in a TransitionTo3d, but we'd need to work with the offscreen
    memory manager for that.
- Misc. fixes to ati_dri.c for DRI+GLX. Needs more work still.
2004-01-25 01:30:33 +00:00
Eric Anholt
f2bedd17af Oops, turn fallback output back off. 2004-01-25 01:16:19 +00:00
Eric Anholt
26c5a8dfdd Whitespace cleanup. 2004-01-25 01:04:12 +00:00
Keith Packard
6870c08157 Oops, lost a diff needed for the non-screen format pixmap code 2004-01-15 09:19:56 +00:00
Keith Packard
3867e03cb6 Fix up some mis-used variable names 2004-01-15 09:15:53 +00:00
Keith Packard
f233bbf365 Accelerate non-screen format pixmaps. 2004-01-15 09:13:01 +00:00
Anders Carlsson
a265167f19 Add IPAQ modeline by Dennis Noordsij. 2004-01-14 10:00:00 +00:00
Eric Anholt
6c97b277d9 Support 1x1 repeat sources in R128's Blend. 2004-01-11 00:10:34 +00:00
Eric Anholt
9270256565 Change PCI ID information field to be one of r128, r100, r200, r300. This
is all the information we need so far. Put that information into atic,
    and use it correctly in the code (unlike before).
2004-01-09 08:43:48 +00:00
Eric Anholt
5d51dfc69c Use the scratch area for Composite when one of src or dst is in memory. 2004-01-09 08:40:32 +00:00
Eric Anholt
6d8001f468 Compile fixes for non-DRI case and for non-C99 compiler. 2004-01-08 20:18:13 +00:00
Eric Anholt
b27729ec88 - Add a new UploadToScratch kaa hook for putting the data for a single
pixmap into temporary offscreen storage. Subsequent UploadToScratch may
    clobber the data of previous ones. This allows hardware acceleration of
    composite operations on glyphs.
- Add a new UploadToScreen kaa hook for doing the actual moving of data to
    framebuffer. This would allow us to do things like hostdata blits or
    memcpy to agp and then blit.
- Add an UploadToScreen on ATI which is just memcpy, but which will be
    replaced with a hostdata blit soon.
- Add UploadToScratch on ATI and reserve 64k of scratch space. This
    provided a 3x speedup of rgb24text on my Radeon.
2004-01-08 08:16:24 +00:00
Eric Anholt
737eddfa4b Disconnect the sis300 driver. I've never managed to fix it, and it breaks
the build on PPC.
2004-01-07 09:50:28 +00:00
Eric Anholt
5a2c23f8a1 Speed things up slightly by removing Z values from emitted vertices and by
emitting as a tri fan rather than a tri list. A rect list would save an
    additional vertex (out of 4) per rectangle, but there's no measurable
    speed difference and the tri fan may be useful when transforms come
    into play.
2004-01-07 02:30:29 +00:00
Eric Anholt
cff782078c - Don't forget to UNINIT miComputeCompositeRegion's regions
- Fix a bit of whitespace nearby.
2004-01-04 20:51:53 +00:00
Eric Anholt
34d1529731 - Correctly set the texture coordinate set source for the second texture
unit.
- Re-enable Radeon's Composite accel now that fonts work again.
2004-01-04 20:47:30 +00:00
Eric Anholt
9f1a92cd09 - Call appropriate Done function for Composite.
- Don't allow src transforms for Copy acceleration.
- Minor whitespace fixes.
2004-01-03 21:52:14 +00:00
Eric Anholt
3db761a17b - Add more Composite operations, including Saturate, to Radeon Composite
accel. I don't 100% trust that the math works for Saturate, but I can't
    tell from existing information.
- Fix texture pitch fallback checks.
- Fallback when src or mask have transforms.
- Disable Radeon Composite accel until the offset thing is fixed.
- Set offscreenPitch to 64 on Radeon thanks to new information and a kaa
    fix. Fixes acceleration at width!=1024.
2004-01-03 11:46:57 +00:00
Eric Anholt
d15acfa79b Split the various attempts at accelerating Composite into separate
functions. Along with making things more readable, it fixes a problem
    where the coordinates would get messed up if acceleration failed due to
    things like pixmaps being in the wrong locations.
2004-01-03 11:25:27 +00:00
Eric Anholt
1e1a35e20c Actually align the offset of allocated offscreen areas. 2004-01-03 11:17:44 +00:00
Eric Anholt
354f8f7e94 Some strange \240 character snuck into the original commit of this file. 2003-12-31 23:24:33 +00:00
Eric Anholt
5f947b04da There's never a copy between different depths. Remove the check. 2003-12-30 08:45:53 +00:00
Eric Anholt
c8eb20a08e - Add new Composite hook for kdrive drivers, which only ensures that the
pixmaps are offscreen and don't have alpha maps. It is the last case
    checked before going to software fallback
- Use the new Composite hook in the ati driver to implement acceleration of
    most Composites that get done in an xcompmgr environment on r100 series
    cards. It is only available when using the DRM. There are still some
    corruption issues, but the DRI is still non-default and I need to get
    this into version control.
2003-12-30 08:23:56 +00:00
Eric Anholt
adfc1ed8e1 Add dependency lines so that servers are rebuilt when server libraries are
changed.
2003-12-29 09:04:20 +00:00
Eric Anholt
df03e80ae9 Merge dri-0-1-branch to trunk. Notable changes:
- Add libdrm and libdri. Portions of the DRI extension are stubbed out.
- Use the DRM in the ATI driver when available. This provides a minor
    performance improvement in x11perf, and opens the possibility of using
    the 3d hardware for acceleration in the future.
- Implement solid fill acceleration for Composite in KAA.
- Implement Blend hook for Composite and use it on r128.
- Fix a bug of mine that resulted in overuse of offscreen memory.
- Fix many miscellaneous bugs in ATI driver and add PCI IDs.
2003-12-29 06:24:01 +00:00
Kaleb Keithley
12e532010b XFree86 4.3.99.902 (RC 2) 2003-12-19 20:55:39 +00:00
Eric Anholt
305c444de3 Add initial SiS 300-series (300, 305, 540, 630, 730) driver based off of
the ATI driver. It suffers from hw/sw synchronization problems, it
    looks like, but may be good enough to work on Render acceleration
    experiments. Committing it as-is so I don't lose it again.
2003-12-08 01:55:10 +00:00
Kaleb Keithley
a84f16a9ad XFree86 4.3.99.901 (RC 1) 2003-12-04 22:03:38 +00:00
Keith Packard
33fdd50a94 Wrap ClipNotify to see region motions during MoveWindow.
Check window reorigin in PositionWindow and bump pixmap serial numbers to
    revalidate GCs.
Fix picture clip region origin in automatic update
Initialize client private 'critical' value
Clean up pixmap bounds checking code to only affect contents allocated by
    fb.
Oops. Call SourceValidate for Composite operations.
Add Xchips server (vesa based)
2003-12-02 01:59:38 +00:00
Anders Carlsson
ae2454f656 Add support for setting the video mode. 2003-12-01 22:11:12 +00:00
Phil Blundell
e31051ba26 Call KdShadowUnset before fbdevSetShadow. 2003-12-01 21:49:41 +00:00
Eric Anholt
9cdd6fd9e3 - Add fbdev mode-setting backend to Xati. It and vesa are compiled in when
available, with fbdev being used by default.
- Use depth 16 by default when vesa backend is used.
- Add MMIO defines for PowerPC (should be in a common location).
Many thanks for Michel Daenzer for much of this code.
2003-12-01 04:33:36 +00:00
Eric Anholt
ec7f553930 Add more RV250 PCI IDs. 2003-12-01 03:15:13 +00:00
Eric Anholt
d221c484f9 Remove sys/io.h inclusion from some files that didn't need it, and change
asm/io.h to sys/io.h in vga.c, which newer Linux complains about.
2003-12-01 01:46:42 +00:00
Eric Anholt
d803918a9f Add new Radeon 9200 PCI IDs. 2003-11-25 22:39:54 +00:00
Kaleb Keithley
adc7f9a4eb XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 2003-11-25 19:29:01 +00:00
Kaleb Keithley
90f1536dd3 Initial revision 2003-11-25 19:29:01 +00:00
Eric Anholt
d461855a73 - Fix Radeon offscreen pixmap pitch alignment.
- Remove usleeps from idle and waitavail code, recommended by keithp.
- Add a workaround for apparent broken acceleration with Rage 128 and
    offset alignment with 8-bit acceleration (24-hack and plain 8-bit).
- Minor cleanup of setup code.
2003-11-23 10:12:04 +00:00
Eric Anholt
8e09afe657 Add RV250 PCI IDs. 2003-11-23 02:08:16 +00:00
Eric Anholt
b3247251fb - Fix a bug in pitch alignment for offscren pixmaps.
- Add 24-bit acceleration for Xati using the 8-bit trick from mach64.
- Add offscreen pixmap support to Xati.
2003-11-20 07:49:46 +00:00
Eric Anholt
41dde24b22 - Fix confusion of depth/bitsPerPixel in ati_draw.c
- Disable acceleration with 24bpp due to apparent broken acceleration.
    Accel at 24bpp was the cause of the crashes when people tried to use
    any depth over 16. XFree86 doesn't support 24 either.
- Disable at < 8bpp, too.
- Add the other Rage 128 PCI IDs.
- Remove unnecessary setting of scissor registers (only default scissor
    gets used).
2003-11-20 00:05:56 +00:00
Eric Anholt
7abbcce422 - Add PCI information (device/vendor id, bus location) to KdCardAttr to
help with ati, and future DRM drivers.
- Add new "ati" kdrive driver. It has ancestry in the r128 driver from
    andersca, but took a detour through being the WIP SiS 300 driver on the
    way. It supports Radeons (tested on QD VIVO and 7500) and Rage 128.
    Current limitations include that it requires depth 16 and that the
    other Rage 128 PCI IDs aren't included yet.
2003-11-19 08:32:38 +00:00
Keith Packard
e9cb70dae0 Reset available offscreen segment save function pointer. (Not a functional
change, just cleaning up a bit)
Reset the screen->memory_base value when frame buffer is remapped. This
    makes sure new off-screen allocations point at the newly mapped region
    rather than the old (now unmapped) region.
2003-11-18 18:38:48 +00:00
Seth W. Klein
f333581b7b Added infrastructure for driver specific usage messages and added vesa
usage message.
2003-11-18 04:53:16 +00:00
Keith Packard
003e87717c Recompute winSize/borderSize to fix them when changing redirection.
Sufficient, but not always necessary.
Add borderClip to damage on creation so that clients needn't guess.
Fix API to FbDots functions to make PolyPoint work with screen_x/screen_y
    offsets
Add debugging code to make sure no pictures are left pointing at freed
    pixmaps. "Can't" happen, but it did once.
Change KdOffscreenArea structure to eliminate separate private structure,
    eliminate the ScreenPtr, change from doubly linked to singly linked
    list.
Don't damage BackgroundNone windows on PW_BACKGROUND. Re-clip damage to
    borderClip in DamageSubtract.
2003-11-17 22:09:12 +00:00
Keith Packard
acd2007705 Clear window when Manual Subwindows redirect is destroyed
Fix Tile/Stipple origin with non-zero pixmap window origins
Use computed depth for TrueColor visuals as fbdev doesn't have one.
2003-11-17 06:54:52 +00:00
Kaleb Keithley
d568221710 XFree86 4.3.0.1 2003-11-14 16:49:22 +00:00
Kaleb Keithley
9508a382f8 Initial revision 2003-11-14 16:48:57 +00:00
Kaleb Keithley
ded6147bfb R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
Keith Packard
cb6ef07bf0 Accelerated image text code drew glyphs at wrong location when compositing
manager enabled.
2003-11-14 07:46:20 +00:00
Keith Packard
318d525bf2 Have the composite extension tell the damage extension about clients which
have redirected subwindows in manual mode. Those clients are marked
    Critical and given a significant scheduling boost whenever they receive
    a damage notify event. This dramatically improves update frequency.
If the kernel reported a large number of keys, readKernelMapping would walk
    off the end of the kdKeysym array.
Fix usage of _IOWR; the 'size' argument is actually a datatype.
2003-11-13 09:14:29 +00:00
Eric Anholt
e9904cefa3 Fix Makefile.am's to include header files needed for distcheck. Remove
-Werror default and add --enable-werror switch to add it back.
2003-11-11 05:46:15 +00:00
Keith Packard
5dc119b73f Fix KdXv interface to pass drawable down so that bits can be put into
drawable pixmap rather than directly into the frame buffer. Rewrite
    logic in kdoffscreen to make space for new allocations, now deals
    correctly with locked areas.
2003-11-10 20:35:05 +00:00
Keith Packard
e500986657 Must offset composite parameters by drawable coordinates in accelerated
case.
2003-11-10 06:40:23 +00:00
Phil Blundell
d694b44259 Avoid ugly shell error when libXdmcp isn't present.
New functions. (TsInit): Register them.
2003-11-08 18:51:59 +00:00
Keith Packard
3e18c63634 Fix KAA to work with screen_x/screen_y hacks from COMPOSITE Also add
kaaComposite acceleration for simple bltblt case.
2003-11-08 00:28:19 +00:00
Keith Packard
1280f79054 Ok, Composite extension is semi-working; when no-one asks for redirection,
the server seems to act as before. With RedirectSubwindows (root,
    automatic), the server looks just like a regular X server. Now to go
    rewrite the (currently lame) compositing manager to get some real
    action on the screen.
Some of the fixes here are to make valgrind quiet with various ioctls used
    by kdrive/linux.
Also fixed a bug where fbdev initialization was out of order in fbdev.c and
    smi.c
2003-11-07 23:29:29 +00:00
Phil Blundell
d319a0a610 Fix warnings. 2003-11-07 23:00:06 +00:00
Matthew Allum
598c5d549a tslib improvements 2003-11-06 14:01:46 +00:00
Keith Packard
7e1a564c41 Replace translucent compositing hacks with PictOpSrc to match eventual
extension semantics. Replace mouse acceleration with quadratic.
2003-11-05 06:46:13 +00:00
Keith Packard
5378236aa6 merge xfixes_2_branch back to HEAD 2003-11-02 19:56:10 +00:00
Phil Blundell
9e94665cf9 try /dev/misc/apm_bios if /dev/apm_bios doesn't exist 2003-10-28 22:28:33 +00:00
Phil Blundell
bb99451f27 move smi into VESA_SUBDIRS 2003-10-28 22:27:35 +00:00
Keith Packard
9a05f8f785 Minor cleanups -- remove a couple of bogus KdCheckSync calls, restructure
KdOffscreenSwapOut to avoid unneeded 'continue'
2003-10-19 20:46:23 +00:00
Keith Packard
16b2ea64e7 Discard/reconstruct list of offscreen areas on VT switch so no allocations
can occur while switched away.
Set type of off_screen_areas member to actual type instead of pointer
2003-10-16 08:03:25 +00:00
Anders Carlsson
f4bcd36a38 Add a memory_base variable and use it. 2003-10-15 05:34:54 +00:00
Keith Packard
f5916edb17 hw/kdrive/*/Makefile.am Libraries in local dir must not use global path or
make doesn't build things in the right order (-j)
hw/kdrive/mga/mga.h, mgadraw.c Fix warnings
2003-10-15 04:59:45 +00:00
Keith Packard
b3e47ce18f various Split out pixmap allocation debug statements Fix bogus offscreen
pixmap size test Add migration to composite function for source
    operands
VbeDPMS Remove extraneous call to VbeGetVib.
2003-10-15 01:00:38 +00:00
Keith Packard
28bcd2efd1 Avoid attempting acceleration on non-screen formats (for now)
Offscreen allocator API changes.
2003-10-14 21:33:04 +00:00
Keith Packard
cb46169759 Use same assumptions as layergc about what layer kind is approprate for
unwrapping pixmap operations. This makes sure the accelerated code gets
    invoked for pixmaps
Add pixmap migration support to kaa. Can't quite automatically migrate
    pixmaps off-screen, but soon we will. Can kick objects out of video
    memory. Move per-screen linked list pointers to pixmap private. Wrap
    Composite in preparation for migrating pixmaps. Have kasync ignore
    drawable type so that pixmaps trigger sync Add KdOffscreenFini to
    cleanup on server reset. Switch off screen area to have only a 'save'
    function; moving objects to off screen memory is done by saving then
    freeing the area.
2003-10-14 21:10:53 +00:00
Keith Packard
109b949516 -Wall fixes. Might have fixed VESA based DPMS code as a result 2003-10-14 05:08:35 +00:00
Keith Packard
4b844cafb2 Check for off-screen pixmap support in KaaDrawableIsOffscreenPixmap. -Wall
fixes. Allocate pixmap private space only for screens with off-screen
    pixmap support
2003-10-14 05:07:39 +00:00
Keith Packard
cdf3377f6d -Wall fixes. Support off-screen pixmaps 2003-10-14 05:05:53 +00:00
Keith Packard
777f31cd0b -Wall fixes. Add klinux.h to export function declarations 2003-10-14 05:05:28 +00:00
Keith Packard
a398339b6d -Wall fixes 2003-10-14 05:04:22 +00:00
Anders Carlsson
44f2e82f1b Use pixmaps instead of drawables in the kaa functions. Have the mga server
support accelerated operations on offscreen pixmaps.
2003-10-13 02:19:47 +00:00
Anders Carlsson
47a9fab5e2 Add support for offscreen pixmaps. 2003-10-13 01:19:37 +00:00
Anders Carlsson
c538fa8742 Fix a couple of bugs. 2003-10-13 00:56:21 +00:00
Anders Carlsson
a50438b470 Add offscreen memory manager and update the servers to reflect the name
change for the kaa structure.
2003-10-13 00:19:58 +00:00
Anders Carlsson
307f3dbd10 Remove this for now. 2003-10-12 14:17:24 +00:00
Anders Carlsson
ab3305d0ac Add ATI Rage 128 server. 2003-10-11 19:36:13 +00:00
Keith Packard
ed98d3814e use #if instead of #ifdef 2003-10-09 23:35:44 +00:00
Anders Carlsson
4dd37de858 Build smi after vesa. 2003-10-09 16:21:24 +00:00
Keith Packard
e5a1c9952f Initialize smi chip on graphics setup. Seems to help some. 2003-10-09 07:29:31 +00:00
Keith Packard
10f721acc5 Leave iopl set to 3 so vesa module will work 2003-10-09 07:12:01 +00:00
Keith Packard
f74555e942 Add xfixes, fix smi driver to use either fbdev or vesa. Add hole mapping to
vesa server by default
2003-10-09 06:36:26 +00:00
Keith Packard
346aff7ef6 Use either vesa or fbdev, selectable at compile time 2003-10-09 06:35:11 +00:00
Keith Packard
adc5b8068d Fix fbdev server to allow accelerated servers on top to use RandR. Switch
smi server to fbdev (vesa bios doesnt work on the Acer I have here)
2003-10-05 05:22:35 +00:00
Phil Blundell
f3d8476ced few more fixes for h3600 ts 2003-10-04 02:56:54 +00:00
Keith Packard
aae3e6dcb3 configure.ac Makefile.am os/oscolor.c Xext/saver.c Xext/Makefile.am
hw/kdrive/linux/ts.c hw/kdrive/src/Makefile.am hw/kdrive/src/kdrive.h
    hw/kdrive/src/kinput.c hw/kdrive/src/kmap.c Autodetect VM86 (for vesa),
    AGPGART, APM, MTRR, tslib and handhelds.org touch screen. Add
    USE_RGB_BUILTIN and code for fileless RGB database. Add
    MIT-SCREEN-SAVER
2003-10-04 02:43:16 +00:00
Phil Blundell
efbf205a2a add --disable-kdrivevesa option 2003-10-03 15:27:46 +00:00
Keith Packard
89a536f349 Add smi server 2003-10-02 02:30:28 +00:00
Keith Packard
5a21f4f4d0 Add XDM cookies. Fix up support for pkgconfig X bits 2003-10-01 06:43:50 +00:00
Matthew Allum
a42e31b28c Fixed tslib driver to handle VT switches 2003-09-30 22:14:59 +00:00
Keith Packard
a0876ade64 Enable maintainer mode from autogen.sh. Fix vesa build to create library
before program. Remove bogus AC_SUBST lines for XSERVER_CFLAGS and
    XSERVER_LIBS
2003-09-30 20:49:47 +00:00
Matthew Allum
e8c0229647 Added --enable-tslib configure option 2003-09-30 20:15:14 +00:00
Keith Packard
a42384e935 Use other freedesktop.org packages to build the server 2003-09-29 01:42:40 +00:00
Anders Carlsson
6a098a88af Add beginnings of offscreen memory manager. 2003-09-24 23:36:54 +00:00
Keith Packard
918a8273ee hw/kdrive/src/kdrive.c
hw/kdrive/src/kdrive.h Add -switchCmd option to set command that is
    executed whenever the VT is enabled or disabled. This permits input
    device to be customized by external apps when switching to X.
2003-09-24 21:07:06 +00:00
Anders Carlsson
20bbd750d0 Accelerate server. 2003-09-22 21:14:59 +00:00
Anders Carlsson
49771e3f07 Add mga server to the build. 2003-09-18 20:48:48 +00:00
Anders Carlsson
07ab15d61d Add mga server 2003-09-18 20:47:43 +00:00
Anders Carlsson
b260825e88 Try this. 2003-09-18 14:44:57 +00:00
Anders Carlsson
b889d4ba2c Try things out. 2003-09-18 14:42:00 +00:00
Anders Carlsson
85ff67670c Add fbdev server to the build. 2003-09-16 21:07:16 +00:00
Keith Packard
be12dcdcf3 Switch to freedesktop.org libXfont 2003-09-12 07:00:19 +00:00
Keith Packard
eca43a59ec Clean up mach64 for autofoo 2003-09-12 01:51:16 +00:00
Keith Packard
6b16b827bb Add some configure options, make the mach64 server build 2003-09-12 01:49:46 +00:00
Keith Packard
ce55d3234d Move kdrive common sources to src dir 2003-09-11 05:15:08 +00:00
Keith Packard
269b9dac5a Get Xvesa building 2003-09-11 05:12:51 +00:00
Keith Packard
0d775576b9 Add Makefile.am 2003-09-11 03:26:03 +00:00
Keith Packard
ef8977a30c More build fixes 2003-09-11 03:23:13 +00:00
Keith Packard
14a8311bb3 Make more stuff build 2003-09-11 02:31:24 +00:00
Mike A. Harris
8bc8fd8678 POSIX sigaction cleanups - removed act.sa_restorer as it's not in POSIX and
is not portable
2003-09-11 02:02:54 +00:00
Anders Carlsson
514ab46ce3 Start autoifying everything. 2003-09-11 00:47:36 +00:00
Keith Packard
283a7f32c4 Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, add
-rawcoord option to not transform mice on rotate, fix mtrr to use
    power-of-two size, add a few vesa options
2003-07-07 19:13:03 +00:00
Keith Packard
b923d897a5 Initial revision 2003-07-02 17:53:46 +00:00
Marc Aurele La France
544ee9bb7a 136. Fix bug that prevented fbman from using the last partial scanline of a
Mach64 framebuffer (Marc La France).
135. Make ATI Mach64 FIFO cache integrity testing optional (Marc La
    France).
134. Export ATI Mach64 hardware overlay as an XVideo adaptor (derived from
    GATOS project, Egbert Eich, Marc La France).
133. Reorganise ATI Mach64 support into separate source files (Marc La
    France).
132. Refine atimisc's decoding of the panel mode on server entry in an
    attempt to reduce the effect of atyfb bugs (Marc La France).
131. Make Rage128 and Radeon XVideo available even when 2D acceleration is
    disabled (Marc La France).
130. There is no longer any need to require hardware cursors during Rage128
    and Radeon XVideo displays (Marc La France).
129. Initialise v4l's XVideo adaptors last (Marc La France).
128. Reduce cut&paste effects by adding more helpers to Xv (derived from
    #5645, Björn Augustsson, Marc La France).
127. Centralise a region comparison primitive into 'mi' and use it instead
    of local definitions throughout the server (Marc La France).
126. DPMSExtension & XvExtension driver cleanups (Marc La France).
2003-04-23 21:51:18 +00:00
Egbert Eich
870d0f8752 621. Let kbd driver test if Xserver is in suspend before handling any input
events (Egbert Eich).
620. Fixed agp version checking to accept minor versions >= the specified
    number (Leif Delgass).
2002-12-12 18:29:05 +00:00
Keith Packard
7827fce0b5 Allow input devices to be closed while the VT is switched away (needs
per-driver support)
2002-11-13 16:37:39 +00:00
Keith Packard
3eaea6608b Update ipaq-specific ts driver to match generic tslib version 2002-11-12 22:20:42 +00:00
Keith Packard
612e82053d Clean up touch screen hacks for controlling pointer on alternate screen 2002-11-05 05:28:34 +00:00
Keith Packard
358d887cbe Add support for ARM linux TS lib (disabled by default) in kdrive 2002-11-01 22:27:49 +00:00
Keith Packard
f0a8d06fca Refix mouse matrix computation for touch screens. Update usage message for
-screen option
2002-10-31 18:29:50 +00:00
Keith Packard
28d191680e Uninitialized mouse matrix elements 2002-10-30 21:25:53 +00:00
Alan Hourihane
dd7c85f108 441. Import Mesa-4.0.4, and resync with the DRI trunk (DRI Project). 2002-10-30 12:52:06 +00:00
Keith Packard
d04246c8fc Changed arguments to vesaRandRSetConfig 2002-10-18 06:31:17 +00:00
Keith Packard
7d214e2e2a Fix additions of RandR support in kmode.c 2002-10-18 06:08:10 +00:00
Keith Packard
5bb4a7b699 Fix other half of kdrive mach64 video code after randr update 2002-10-18 06:00:29 +00:00
Keith Packard
e1c304e22b Add refresh rates to RandR (v1.1) 2002-10-14 18:01:42 +00:00
Keith Packard
5804e69f4c Custom file for rotating pcmcia screens 2002-10-13 19:35:56 +00:00
Keith Packard
b5d1c53862 Add vtxx option to kdrive servers 2002-10-08 21:28:05 +00:00
Keith Packard
f214cab20b Clear screen on mode switch 2002-10-08 21:27:18 +00:00
Keith Packard
b28a8c6e2a Add another mach64 PCI id 2002-10-08 21:25:35 +00:00
Keith Packard
9373d9186b Fix mouse mapping under reflection 2002-10-04 01:44:20 +00:00
Keith Packard
a80e1e5aed Update kdrive servers to support reflection 2002-10-03 22:09:04 +00:00
Keith Packard
238a2ec201 Update RandR to 1.0 (library version 2.0) 2002-09-29 23:39:47 +00:00
Keith Packard
5d87199643 Add image transformation and sub-pixel ordering to Render 2002-09-26 02:56:48 +00:00
Egbert Eich
a2637ba1f6 319. Moved LdPreLib define after the vendor/OS specific config files as it
may depend on setting done there (Egbert Eich).
318. Several fixes for cross compile environment (Egbert Eich).
317. Added code to allow for building of static only libraries with
-fPIC for platforms which require it (Egbert Eich).
316. Added '-m32' to gcc flags as default for ia32 builds when gcc version
    is >= 3.1. This allows building a 32 bit Version of X on 64bit x86-64
    (Egbert Eich).
315. Changed direct calls of ld to 'gcc -nostdlib' for Linux (Egbert Eich).
314. Changed calls to as to 'gcc -c -x assembler-with-cpp' for Linux
    (Egbert Eich).
313. Added '-fno-strict-aliasing' flag to gcc version >= 3.1 (Egbert Eich).
    Strict requires that one address must not contain pointers to different
    types - a feature heavily used by X (Egbert Eich).
312. Fixed a core dump problem in libXtt (?) (Egbert Eich).
311. Removed '#pragma pack' from structures that contain function pointers
    in x86emu. This causes problems on gcc 3.1 for ia64 (Egbert Eich).
310. Added defines for missing X types to saverproto.h (Egbert Eich).
309. Fixed compiler warings generated by gcc >= 3.1 in mesa drivers (Egbert
    Eich).
308. For platforms that allow both 32 and 64 bit libraries to be executed
    split Xlib i18n modules path into
    <libpath>/X11R6/lib/X11/locale/lib/common and
    <libpath>/X11R6/lib/X11/locale/lib64/common. 'lib64' has been defined
    to be the default path for 64bit shared libraries on these platforms
    (Egbert Eich).
307. Fixed obvious typo in OMlib (Egbert Eich).
306. Fixed code in cfb that didn't comply with C sequence rules. Modern C
    compilers tend to be more aggressive on code reordering (Egbert Eich).
305. Changed arguments of NoopDDA() from VarArgs to void. Handling of
    VarArgs by gcc isn't compatible with the way it was used on certain
    platforms (Egbert Eich).
304. Added support for 32bit pixmaps for 24bit overlay framebuffers in fb
    overlay code (Egbert Eich).
303. Fixed kdrive to print a meaningful error message instead of just core
    dump when no matching graphics cards is found (Egbert Eich).
302. fixed portability bug in xwd (Andreas Schwab <schwab@suse.de>)
301. fixed X Server crash, which happended each time a proportional
    iso10646 font was loaded with xtt backend (Yong Li
    <rigel863@yahoo.com>)
300. Added some ARM specific fixes to compiler.h (Uli Hecht).
299. Added a virtual 'dummy' driver (Egbert Eich).
298. Fixed core dump when certain access functions are not set in xf86Bus.c
    (Egbert Eich).
297. Fixed problem where SIGIO could be disabled after a server reset.
296. Added configurable list of devices the xf86Misc extension is allowed
    to change the mouse device to (Egbert Eich).
295. Changed default mouse type to 'auto' when generating config file with
    '-configure' (Egbert Eich).
294. Made sure keyboard modifier settings are consistent after exit from
    DGA when the xkb extension is used (Egbert Eich).
293. Disabled keyboard processing when Xserver is suspended by power
    management. This allows effective locking of laptops when stolen
    (Egbert Eich).
292. Added/improved options for lockfile syncing (Egbert Eich).
291. Added support for backup copy of Xserver logfile (Egbert Eich).
290. Fixed GetTimeInMillis() to use deltas instead of absolute time
    returend by gettimeofday(). This ensures time is monotonic in X (Egbert
    Eich).
289. Fixed xf86Misc extension to allow modification of Expps2 mice (Egbert
    Eich).
288. Made code in xf86MiscExt.c more readable (Egbert Eich).
287. Fixed PCI CardBus bridge handling (Egbert Eich).
286. Added code to reenable PCI bus mastering after coming back from a VT
    switch to radeon driver (Charl P. Botha <http://cpbotha.net/>) (Egbert
    Eich).
285. Dito for r128 driver (M. Harris).
284. Dito for glint and mga driver (Egbert Eich).
283. Fixed double scan issues for low res modes in C&T driver (Egbert
    Eich).
282. Set rgbBits to 8 for all HiQV chips in chips driver (Egbert Eich).
281. Moved initialization of accel funtions past initialization of
    offscreen fb manager in chips driver (Egbert Eich).
280. Fixed initialization of video in chips driver (?).
279. Fixed HALlib problem restoring text mode on G550 (Egbert Eich).
278. Restructured and included Matrox's Merged Framebuffer changes to mga
    driver (Egbert Eich).
277. G450/550 clockchip programming fixes (Matrox).
276. Fixed HW Cursor for HALlib frame granularity (Egbert Eich).
275. Enabling 2D accel in 24-bit for neomagic 2360 and 2380 (Egbert Eich).
274. Added support for builtin 1024x480 mode of Sony subnotebooks for
    Neomagic driver (Egbert Eich).
273. Fixed support for lowRes (320x240) modes in neomagic driver (Egbert
    Eich).
272. Fixed RAC function registration in S3 driver (Egbert Eich).
271. Added some voodoo to screen initialization of S3 driver (Egbert Eich).
270. Fixed vbe/int10 support in SMI driver. It used to core dump when BIOS
    was not usable (Egbert Eich).
269. Separated BRIGHTNESS and and CAPTURE_BRIGNTESS video attributes in smi
    driver: CAPTURE_BRIGHTNESS refers to the capture chip (ie. Philips
    SAA7110) while BRIGHTNESS controls the video overlay of the SMI chip
    itself (Egbert Eich).
268. Disable automatic loading of DRI when running SUN ffb as this is
    inconsistent with other drivers (Thorsten Kukuk).
267. Fixed Gamma/Brightness code in trident driver (Egbert Eich).
266. Added FpDelay debugging option (Egbert Eich).
260. Fixed video support for Trident 9397 (Egbert Eich).
265. Fixed Cursor/VT switch support for vmware driver (Egbert Eich).
264. Fixed Blit problems in vmware driver when running KDE (Egbert Eich).
263. Added RENDER support to vmware driver (Egbert Eich).
262. Added C&T 69030 to extrapci.ids (Egbert Eich).
261. Improved mouse autodetection code (Egbert Eich).
260. Restructured int10 code so that vm86 and x86emu support can be loaded
    as modules. Implemented heuristic to try vm86 first and fall back to
    x86emu. This allows 32 bit Xservers to run on x86_64 on 64-bit kernel
    without vm86 support (Egbert Eich).
259. Restructured elf loader: determine which section to load from
    elfheader flags (Egbert Eich).
258. Adding RENDER Support to RAC (Egbert Eich).
257. Using borderClip instead of borderSize region for redisplay function
    in miext/shadow code to avoid core dumps when vt switched away (Egbert
    Eich).
256. Replacing sprintf() by snprintf() in lbxproxy to eliminate possible
    buffer overrun exploits (Egbert Eich).
255. KP_Decimal fixes to Czech and Slovak keybards (Jan Holesovsky
    <kendy@suse.cz>) (Egbert Eich).
2002-09-16 18:05:35 +00:00
Keith Packard
2698ee9f29 Prefer touchscreen to mouse 2002-08-15 18:07:57 +00:00
Keith Packard
fe477855d7 Fix for iPaq IOCTL changes 2002-08-02 16:30:50 +00:00
Keith Packard
cf49ce6f26 Allow both touchscreen and mouse at the same time 2002-08-02 16:15:02 +00:00
David Dawes
1a5f923c62 174. Fix makedepend so that it can parse a unary '+' operator (#5185, Mark
Snitily).
173. Fix a typo in Xvesa's emulation of instructions forbidden in vm86 mode
    (#5184, Juliusz Chroboczek)
172. Fix a bounds check in Xlib's Region code (#5183, Owen Taylor).
2002-06-04 22:19:58 +00:00
Keith Packard
98f8d7af3c kdrive/vesa: apply vm86 patch from Juliusz 2002-02-19 00:18:05 +00:00
Keith Packard
6d8cedf68c update kdrive manual and usage 2002-02-14 16:08:05 +00:00
Keith Packard
44b20bfa58 kdrive/mach64: recognize the mach64li 2002-02-01 00:52:15 +00:00
Keith Packard
3abb3e0739 kdrive: fix button emulation for iPAQ 2002-01-18 16:25:19 +00:00
Keith Packard
88810cfc02 kdrive/linux/mouse.c: convert mouse data to signed values for compilers
with default unsigned chars
2001-12-20 16:47:30 +00:00
Keith Packard
83388cb232 kdrive/i810: bit swap for i810 cursor (from Pontus Lidman) 2001-12-10 16:34:20 +00:00
Keith Packard
4646a6c3b9 kdrive: work around ipaq touch screen compile problems 2001-12-07 02:19:04 +00:00
Keith Packard
54feb8a4c8 kdrive: missing registration for mouse input type 2001-12-07 02:18:19 +00:00
Keith Packard
636390fb9d kdrive: initialize all Linux mouse driver fields 2001-11-22 23:38:21 +00:00
Keith Packard
668c25a769 kdrive: fix ALTGR keyboard mappings 2001-11-08 10:26:24 +00:00
Keith Packard
e76c6b2aca kdrive/linux: update ps/2 mouse detection/configuration code from FreeBSD
bits
2001-11-08 09:35:08 +00:00
Keith Packard
6fafe3b092 kdrive: Open APM device r/w for kernel 2.4.14 2001-11-08 09:33:51 +00:00
Marc Aurele La France
2f2e256de7 DPMS warning fix 2001-10-29 16:34:56 +00:00
Marc Aurele La France
b8d90c5ea4 407. Fix for threaded libraries (Marc La France).
406. Finish removal of SuperProbe (Marc La France).
405. A rather large number of warning fixes throughout (Marc La France).
404. Fix bug in HTML install script (Marc La France).
403. Missing ident lines for some XFree86-modified files (Marc La France).
402. Add default half-width doublescanned modes (Marc La France).
401. Mark all driver-registered resources with ResBus (Maarc La France).
400. Fix DPMS-related build problem (Marc La France).
399. Log a message just before calling each ChipProbe() during '-probe'
    processing (Marc La France).
398. Temporarily disable ISA probing on SPARCs and PowerPCs (Marc La
    France).
397. Add PCI IDs for Sun hardware (Marc La France).
396. Fix memory leak in resource relocation (Marc La France).
395. Do not relocate resources that only conflict with disabled non-video
    PCI devices or disabled PCI ROMs (Marc La France).
394. Re-organise SBUS code (Marc La France).
393. Add as-yet-unused definitions for PCI resource types other than I/O
    and memory (Marc La France).
392. Add doc for Solaris, but don't format it yet (Marc La France).
391. Normalise driver names (Marc La France).
390. For SPARCs, disable DGA support in ATI driver (Marc La France).
389. Clean up some debugging messages (Marc La France).
388. Fix newport driver for when a /proc fs isn't mounted (Marc La France).
387. Fix DAC handling bugs in s3 driver (Marc La France).
386. Fix resource registration bug for PCI Tseng's (Marc La France).
385. Add aperture driver for Solaris (not yet used) (Marc La France).
384. Rework scanpci to fix problems that prevented it from completely
    displaying non-PCI bridges and Simba bridges (Marc La France).
383. Fix build problems in some input drivers (Marc La France).
382. Fix int10 compile problem for SPARCs and PowerPCs (Marc La France).
381. Ensure master aborts on secondary buses complete normally during PCI
    scans (Marc La France).
380. Some memory mapping and Solaris cleanups (Marc La France).
2001-10-28 03:33:10 +00:00
Keith Packard
a8518b3561 kdrive/savage: Long lines cant be drawn with accelerator 2001-10-24 20:14:52 +00:00
Keith Packard
28fd5f7525 kdrive: add new auto-detecting and auto-switching mouse driver 2001-10-12 06:33:12 +00:00
Keith Packard
5f310d7f8b kdrive: restructure APM/VT switch support to reset keyboard state and flush
buffer on APM resume
2001-09-29 04:16:39 +00:00
Keith Packard
bb2e1c53b5 hw/kdrive: Xv window private should be allocated on demand 2001-09-21 21:58:34 +00:00
Keith Packard
59cd35f634 hw/kdrive/vesa: initialize mouse matrix for non-rotated case correctly 2001-09-14 19:25:17 +00:00
Keith Packard
fbaf3ceae0 hw/kdrive/trident: solid fill checks busted for planemasking 2001-09-14 19:24:11 +00:00
Keith Packard
216090d1ae kdrive: Add primitive ct65550 server. Update kdrive/vesa code to support
DPMS using VESA bios routines. Include support for Toshiba SMM DPMS as
    well
2001-09-05 07:12:43 +00:00
David Dawes
f856b952ec 187. Add an MS mouse driver for KDrive (#4754, Juliusz Chroboczek). 2001-08-09 20:45:15 +00:00
Keith Packard
f4db75ac43 kdrive/mach64: support Xv under RandR 2001-08-09 09:08:55 +00:00
Keith Packard
628d7695d1 kdrive: disable sigio debugging 2001-08-09 09:06:08 +00:00
Keith Packard
958c0374a6 kdrive: add apm support, fix MTRR unmapping bug 2001-07-24 21:26:17 +00:00
Keith Packard
b7eb8a35b5 kdrive: Unmap vesa device when disabled 2001-07-24 19:06:04 +00:00
Keith Packard
d2d221a012 kdrive/mach64: Force read of GUI_STAT on every op to avoid problems across
suspend/resume
2001-07-23 03:44:17 +00:00
Keith Packard
79486b3b5c Too many changes, but all in kdrive:
Add support for global screen origins (-origin option), handles both
    Xinerama and mouse crossings.
Fix XV enable/disable sequences -- can't use card wrappers as cards have
    more than one screen.
Change vesa/fbdev to use new depth-independent rotation shadow update
Fix vesa to allow starting rotation value (again)
Make vesa driver write all colormap changes in one INT10 call
2001-07-20 19:35:30 +00:00