Commit Graph

1744 Commits

Author SHA1 Message Date
matthieu
1199942381 Implement pci_device_read_rom() for arbitrary PCI cards, including
secondary VGA. With help from kettenis@. ok kettenis@, miod@.
2008-12-07 17:42:21 +00:00
oga
d4dd2359ac Kill obviously dead variable. 2008-12-04 23:55:04 +00:00
oga
15161fba13 Don't ignore sigpipe. Everytime cwm forks it execs anyway (so it
shouldn't get that signal), and this causes problems for our children
since they inherit the ignore.

Pointed out by Jacek Masiulani in pr 6010; thanks!
2008-12-03 23:55:46 +00:00
matthieu
e7c2896cd2 regen 2008-12-01 20:52:08 +00:00
matthieu
2bf61528e7 xf86-video-intel 2.4.3. Tested by many. 2008-12-01 20:51:41 +00:00
matthieu
63f16983cf Fix a logic error in pci_device_openbsd_write() that actually
prevented it to write anything.
2008-11-25 11:40:56 +00:00
matthieu
3a0e900dcf missing action in if statement. 2008-11-23 12:06:43 +00:00
todd
6ad30974a3 sync 2008-11-20 15:34:31 +00:00
matthieu
5e862bf191 sync 2008-11-15 16:03:52 +00:00
matthieu
9bd69e2c49 Fix from X.Org master git for XAA screen corruption.
XAA PixmapOps: Sync before accessing unwrapped callbacks.

    When using any XAAPixmapOps, we call into unknown but freshly
    unwrapped callbacks (like fb ones). Unlike the XAA*Fallback calls,
    we did so without syncing first, exposing us to all kinds of
    synchronisation issues.

    I believe that the rendering errors appeared now because *PaintWindow
    vanished (e4d11e58), and we just use miPaintWindow instead. This
    takes a less direct route to the hw and ends up at
    PolyFillRectPixmap, which very often left drawing artifacts.

    We now sync accordingly, and no longer get the rendering artifacts i
    was methodically reproducing on radeonhd, radeon, unichrome...

    Also, in order to allow driver authors to remove extensive syncing
    or flushing to hide this issue, create XAA_VERSION_ defines, put
    them in xaa.h and bump the patchlevel.

tested by naddy@ and Edd Barrett. ok oga@.
2008-11-11 20:31:42 +00:00
todd
8b3da9d45f sync 2008-11-10 07:18:39 +00:00
todd
424a91034a sync 2008-11-10 06:52:35 +00:00
matthieu
ac7c0f492f Patch from upstream: Only match PCI display devices in our display driver.
Apparently the server needs the driver to tell it that no, we really don't want
screen sections on our NIC, USB hubs, bridge devices, etc.

Stop whining about PROBE_DETECT in G80 PreInit and just bail out instead.

Bug #18099: Xorg -configure tries to create a screen for every nvidia device.
Problem also reported by form@
2008-11-09 14:37:04 +00:00
matthieu
d64c45c9a4 let make install obey ${DESTDIR}. 2008-11-08 14:57:54 +00:00
matthieu
e89a8a024f Merge alpha fix from X.Org instead of home grown one. 2008-11-06 22:44:02 +00:00
matthieu
bdaa42fb66 Set default acceleration method to EXA, like upstreams. 2008-11-06 22:30:11 +00:00
matthieu
f0a3b3f9ef The xf86-video-nsc driver is deprecated and won't work with xserver 1.5.
Disable it.
2008-11-06 21:52:10 +00:00
todd
ed8fb87c0a sync 2008-11-06 05:16:36 +00:00
todd
5fe2c4cd47 add -fPIC for sparc
ugly, but ok matthieu@
2008-11-05 07:18:25 +00:00
todd
519385f8fc more gcc2 fixes courtesy sparc 2008-11-05 07:04:31 +00:00
matthieu
51ad66e69b Initialise the aperture file descriptor in libpciaccess. 2008-11-04 22:22:12 +00:00
todd
65e3b816dc variable declarations at the beginning of the scope; found by sparc (a gcc2 arch) 2008-11-04 16:50:50 +00:00
todd
a65579c639 sync 2008-11-04 08:03:13 +00:00
matthieu
d0fa9a1ef8 Let the alpha specific code compile. Untested. 2008-11-04 07:01:05 +00:00
todd
ed43e25d4d sync 2008-11-04 06:37:18 +00:00
matthieu
e4c9b7396d switch the alpha specific code to libpciaccess. 2008-11-04 06:03:56 +00:00
todd
ca4bbb0500 sync 2008-11-04 06:00:51 +00:00
matthieu
51153ff8f7 Update to libpciaccess world. 2008-11-04 05:58:43 +00:00
oga
4cd1a7a593 When trying to map a piece of device memory with a cacheability attribue
(e.g.  the graphics aperture on most video cards), don't error if we
failed to set the mtrr but the map succeeded. Instead print a warning (other
osen handle this case similarly).

Libraries shouldn't use fprintf(stderr, ...); but libpciaccess is really
quite poorly designed.

This diff means that mine and drahn's laptops work with xserver 1.5.

ok kettenis@
2008-11-03 23:22:37 +00:00
todd
50f1260b8d sync 2008-11-03 22:07:03 +00:00
todd
32f10744d7 sync 2008-11-03 21:18:36 +00:00
matthieu
07af4914ae xf86-video-openchrome 0.2.903 2008-11-03 20:37:24 +00:00
matthieu
0bcea225c7 xf86-video-nv 2.1.12 2008-11-03 20:35:47 +00:00
todd
5c6035cc50 sync 2008-11-03 16:39:28 +00:00
todd
ec874014f7 sync 2008-11-03 16:33:06 +00:00
matthieu
053571402a xf86-video-sunffb 1.2.0. 2008-11-03 06:21:06 +00:00
todd
03961243f9 sync 2008-11-03 04:00:58 +00:00
matthieu
834e3d9d98 more sync 2008-11-02 16:56:30 +00:00
matthieu
7f91b70da1 sync 2008-11-02 16:54:56 +00:00
matthieu
811bfaa46d This is now Mesa 7.2. Noticed by brad@. Thanks. 2008-11-02 16:45:34 +00:00
matthieu
b4cc3aa54b Build fix. There were symlinks hiding in the git repository... 2008-11-02 16:07:40 +00:00
matthieu
60021fe985 xserver 1.5.2. tested by ckuethe@, oga@, and others. 2008-11-02 15:26:08 +00:00
matthieu
d8940fded5 With xserver 1.5 and Mesa 7.2 DRI is needed by libGL, even without
hardware acceleration.
2008-11-02 15:20:26 +00:00
matthieu
1f0bb4e239 Build libpciaccess for xserver 1.5. 2008-11-02 15:18:49 +00:00
matthieu
758826f60d Update the list of drivers that are built for xserver 1.5. 2008-11-02 15:17:58 +00:00
matthieu
6b8f0b4724 xf86driproto 2.0.4 to go with Mesa 7.2 / xserver 1.5.2 2008-11-02 15:04:07 +00:00
matthieu
a5aec75608 oops do not commit emacs droppings 2008-11-02 15:03:19 +00:00
matthieu
8baeee737f Update build infrastructure for libGL after Mesa 7.2 update. 2008-11-02 15:01:32 +00:00
matthieu
895907f0b2 Mesa 7.2, Tested by ckuethe@, naddy@, oga@, and others. 2008-11-02 14:58:06 +00:00
matthieu
0c9c122b77 remove VMS specific stuff 2008-11-02 14:27:17 +00:00