Commit Graph

504 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Keith Packard
9826d5a133 kdrive/fbdev: only setting first colormap entry on static hardware 2001-07-19 08:46:30 +00:00
Keith Packard
35d8b5f442 kdrive/fbdev: fix static color case 2001-07-16 19:48:00 +00:00
Keith Packard
090a429573 kdrive/fbdev: dont set DPMS mode repeatedly to the same value 2001-07-11 16:42:17 +00:00
Keith Packard
99fb2eb76d Generalize kludge in fbdev that normalizes pixel formats to something that
Render can handle
2001-07-11 05:02:24 +00:00
Keith Packard
562474091a Fix TOUCHSCREEN support in kdrive 2001-07-11 02:58:19 +00:00
Keith Packard
67cd53abfc Rework kdrive input fd handling, enable multiple simultaneous mice 2001-06-29 14:00:41 +00:00
Keith Packard
c872ee8204 kdrive: typo in MTRR calculations 2001-06-29 13:57:45 +00:00
Keith Packard
63dd090655 kdrive: dont touch hardware when disabled 2001-06-29 13:55:53 +00:00
Keith Packard
01a53daa03 Clean up mach64 video code to add ReputVideo and make StopVideo not crash
the machine
2001-06-23 03:41:24 +00:00
Keith Packard
31d47ec8be kdrive/mach64: remove useless Xv debug printfs 2001-06-21 21:44:09 +00:00
Keith Packard
bd61c15279 Add RCS tag 2001-06-21 01:01:30 +00:00
Keith Packard
66c9184807 Fix screen physical size in RandR code for kdrive fbdev and pcmcia servers 2001-06-21 00:58:51 +00:00
Alan Hourihane
f8a456f094 Add RandR support to the Kdrive pcmcia driver. 2001-06-20 21:53:31 +00:00
Keith Packard
918ff10f26 Finish Xv support for kdrive/mach64 2001-06-19 09:31:47 +00:00
Keith Packard
6d86517b0e Screen flipping broken pointer remapping 2001-06-16 05:53:05 +00:00
Keith Packard
54aea8ec0c Patch DPMS support in kdrive/mach64, add preliminary (broken) Xv support 2001-06-16 05:48:49 +00:00
Keith Packard
f386ca6c69 Support initial rotation in kdrive/fbdev, use that as the normal
orientation
2001-06-13 19:18:44 +00:00
Keith Packard
93dbdc89c1 Add -dpi support to kdrive 2001-06-13 19:18:03 +00:00
Keith Packard
a6517a3056 Advertise supported rotations in kdrive/vesa server 2001-06-11 01:38:54 +00:00
Keith Packard
4f8254b31f Attempt to make kdrive/fbdev run on static gray hardware (iPaq 3150) 2001-06-05 17:17:39 +00:00
Alan Hourihane
bf4dbfbf45 fix some warnings due to new shadow code 2001-06-05 16:57:44 +00:00
Keith Packard
a4ba10ba6f kdrive/fbdev: RandR initialization sequence change 2001-06-05 16:49:31 +00:00
Keith Packard
7fcf46356b Allow for hardware acceleration under RandR with Layer. Hardware/Software
cursor switching still busted
2001-06-04 09:45:42 +00:00
Keith Packard
54e66d92db Update RandR protocol 2001-06-03 21:52:46 +00:00
Keith Packard
88ae32841d Add mach64 driver to Tiny-X 2001-06-03 18:48:19 +00:00
Keith Packard
14ed0c3d6d Fix kaa to not try Copy for pixmap sources 2001-05-30 15:36:25 +00:00
Keith Packard
a2bd75d15a Xfbdev: Make sure screen gets re-enabled on RandR failure 2001-05-29 21:55:41 +00:00
Keith Packard
562925c439 Fix Xipaq build after layer/RandR additions 2001-05-29 17:47:55 +00:00
Keith Packard
78b53386b5 Add miext/layer for more complete RandR support in kdrive/Xfbdev 2001-05-29 04:54:13 +00:00
Keith Packard
06f758797a Add initial RandR support to Xvesa 2001-05-26 01:25:42 +00:00
David Dawes
ba83516098 38. Fix xmh's use of XtNewString() with getenv (#4694, Tim Waugh).
37. Xdm/PAM fixes: leave it to PAM to observe whether or not an account is
    locked, and reinitialize credentials after calling initgroups(),
    because sometimes the credentials pam_setcred() gives are in the form
    of group membership (#4693, Mike Harris).
35. Fix warnings when building mieq.c (#4689, Adam Sulmicki).
34. Fix some bugs in the cz and sk entried in XKB's keymap/xfree86 file
    (#4692, Ivan Pascal).
33. Add 'hr' entries to XKB's keymap/xfree86 and rules/xfree86.lst files
    (#4687, Nerijus Baliunas).
32. Include <X11/Xutil.h> in shape.h to get Region typedef (#4686, Adam
    Sulmicki).
2001-05-25 18:40:59 +00:00
Alan Hourihane
e9314bd34e wrap some stuff around #ifdef TOUCHSCREEN 2001-05-25 07:44:29 +00:00
Alan Hourihane
e6497f39af fix ifdef->if 2001-05-24 19:31:46 +00:00
Alan Hourihane
0e1a49a7dd add missing pieces for the pcmcia driver 2001-05-23 17:28:39 +00:00
Alan Hourihane
85d827f532 Add PCMCIA server for HP VGA Out PC Card and the Voyager VGA Card. Use on
the Compaq IPAQ. Use -listmodes to see supported modes. Hack the
    touchscreen driver to work as a mouse pad for the VGA screen. Fixup key
    bindings so xmodmap can remap IPAQ's buttons as mouse buttons.
2001-05-23 08:56:09 +00:00
Keith Packard
f9104754cd Add RandR extension 2001-05-23 03:29:44 +00:00
Marc Aurele La France
dc383e8f77 317. glxinfo needs libGLU (Marc La France).
316. Rage128 fix to Cards database (Marc La France).
315. Minor fix to PCI resource overlap handling (Marc La France).
314. Loader code simplification and IA-64 cache flushes (Marc La France).
313. Workaround in the ATI driver for troublesome interaction between
    loader and compiler optimisation (Marc La France).
312. Warning fixes for `gcc -fno-builtin`, which appears to be the default
    on some systems (Marc La France).
more of #301, tags, warnings and build fixes.
2001-04-01 14:00:04 +00:00
Keith Packard
518e205b06 kdrive/igs: add missing register definitions that used to be in igsregs.t 2001-03-30 17:35:55 +00:00
Keith Packard
eb3da37564 Add files for Xmuu and i810 driver 2001-03-30 02:18:41 +00:00