Ian Romanick
c279d5fdc5
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework
2007-01-19 12:59:54 -08:00
Michel Dänzer
14d6a9b327
fbdevhw: Only deal with RGB weight if default visual is True- or DirectColor.
2007-01-19 18:30:21 +01:00
Michel Dänzer
27a01e100b
fbdevhw: Consider mode set equal to mode requested if virtual width is larger.
2007-01-19 18:28:05 +01:00
Michel Dänzer
65f4690ecb
__glXDRIscreenProbe: Use drmOpen/CloseOnce.
...
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=9275 . Based on patch from
Alan Swanson.
2007-01-19 17:56:06 +01:00
Alan Coopersmith
8b3a591cd3
Update pci.ids to 2007-01-18 snapshot
...
(includes a whole bunch of ATI device id updates)
2007-01-18 16:03:30 -08:00
Alan Coopersmith
0f0c321adf
Make xf1bpp build correctly with compilers that don't support -include
2007-01-18 15:31:53 -08:00
Eric Anholt
a811e92104
Account for CRTC rotation in the cursor containment code.
2007-01-18 14:28:41 -08:00
Alan Coopersmith
df147c10ce
Xserver man page: remove bc, add -wr
2007-01-17 16:47:07 -08:00
Alan Coopersmith
2dfd1aab24
Always include compiler.h in cfbmskbits.h instead of checking #ifdef XFREE86
2007-01-17 14:39:28 -08:00
Eric Anholt
42a48786ac
Add a setter for randr_crtc->rotations.
2007-01-17 14:34:42 -08:00
Ian Romanick
88f248e671
Replace PciBusId with 'struct pci_device *'
...
There's no need to store the slot information for a PCI device as its
ID. Instead, skip the middle man and just store a pointer to the
pci_device structure.
2007-01-17 14:04:43 -08:00
Ian Romanick
0361611080
Convert xf86IsolateDevice to a 'struct pci_slot_match'.
...
This change was accidentally not committed on the previous commit.
2007-01-17 13:06:04 -08:00
Ian Romanick
c1808f1484
Convert xf86IsolateDevice to a 'struct pci_slot_match'.
2007-01-17 13:02:27 -08:00
Ian Romanick
d2f8c42c48
Convert xf86FindPrimaryDevice to use a static buffer and snprintf.
...
Rather than allocate a 9 byte buffer on each invocation, use a static
16 byte buffer. Use snprintf for safety. This commit should probably
be cherry-picked to the trunk.
2007-01-17 12:59:17 -08:00
Ian Romanick
28976bebec
Eliminate unused fields in pciAccRec.
2007-01-17 12:15:09 -08:00
Ian Romanick
f36a447d20
Eliminate use of Tag field.
...
The Tag field was removed from the int10 structures in commit
ca9c41e09d
. This file was over looked.
2007-01-16 14:49:19 -08:00
Eric Anholt
cde17015df
When changing a non-pending property, call the screen rrOutputSetProperty hook.
2007-01-16 13:01:45 -08:00
Eric Anholt
e3add7c8ec
Don't forget to add the property we configure to the properties list.
2007-01-16 13:01:44 -08:00
Ian Romanick
780b55ec6f
Fix accidental commit (bug) in linuxOpenLegacy.
2007-01-15 15:30:16 -08:00
Ian Romanick
31bd8d1507
Fix domain insanity.
...
Eliminate xf86GetPciDomain. The domain from libpciaccess is the
domain. Period. This means that 0 is a valid domain. Make sure that
INCLUDE_XF86_NO_DOMAIN is *not* set. Always run in "domain mode,"
even if the only domain possible is 0.
2007-01-15 15:19:30 -08:00
Ian Romanick
079a6a55a5
Convert to new pci_device_cfg_write_u* interface.
2007-01-15 11:39:24 -08:00
Ian Romanick
d8bd0c41de
Convert to new pci_device_cfg_write_u* interface.
2007-01-15 11:38:22 -08:00
Ian Romanick
a87af8218f
Remove unnecessary files from the sources list.
2007-01-15 11:21:37 -08:00
Ian Romanick
1c326bf75f
Eliminate unused INCLUDE_XF86_MAP_PCI_MEM define.
2007-01-12 12:07:19 -08:00
Ian Romanick
3936caa005
Refactor pciTagConvertRange2Host and pciConvertRange2Host.
2007-01-12 10:59:35 -08:00
Ian Romanick
1a493509e3
Fix typos in conditionally compiled code.
2007-01-12 10:58:59 -08:00
Ian Romanick
8279444a54
Eliminate unused pciAddrHostToBus infrastructure.
2007-01-12 10:41:03 -08:00
Ian Romanick
e32fa10a04
Remove prototype for pciGetBaseSize.
2007-01-12 10:33:17 -08:00
Ian Romanick
7411f5c389
Eliminate pciHostAddrToBusAddr from interface.
...
pciHostAddrToBusAddr is no longer used anywhere in the tree. Remove
it with extreme prejudice.
2007-01-12 10:32:04 -08:00
Ian Romanick
60c5e023e8
Eliminate some dead code.
2007-01-12 10:24:03 -08:00
Ian Romanick
dd12a94885
Eliminate xf86GetPciEntity from public interface.
...
xf86GetPciEntity was folded into the only place (xf86CheckPciSlot) in
the tree that still called it.
2007-01-12 10:21:25 -08:00
Ian Romanick
c3016a2996
Missed file from previous commit.
...
Convert xf86ReadLegacyVideoBIOS to take a 'struct pci_device *'
parameter instead of a PCITAG.
2007-01-12 09:56:00 -08:00
Ian Romanick
ca9c41e09d
Convert int10 and vgaHW to use 'struct pci_device' instead of PCITAG.
...
Convert all uses of PCITAG in int10 and vgaHW to 'struct pci_device'.
This allows the conversion of xf86ReadLegacyVideoBIOS and
xf86MapDomainMemory to 'struct pci_device' from PCITAG.
2007-01-11 21:09:20 -08:00
Eric Anholt
7fccec91c4
Bug #9555 : Always define _GNU_SOURCE in glibc environments.
...
This keeps us from having to define _POSIX_C_SOURCE, _BSD_SOURCE, and
_XOPEN_SORUCE to get the C environment we want in different places. It also
fixes the build on linux due to RTLD_DEFAULT having not been defined.
2007-01-10 13:10:43 -08:00
Alan Hourihane
78f9592c11
lnx_ev56.c has to be built with -mcpu=ev56. Fix it.
2007-01-10 16:04:20 +00:00
Eric Anholt
6a2fb29287
Track rename of DamagePost -> DamageAdd.
2007-01-09 16:34:40 -08:00
Ian Romanick
da09964a93
Merge branch 'origin' into pci-rework
...
Conflicts:
hw/xfree86/int10/generic.c
2007-01-09 15:27:34 -08:00
Matthieu Herrb
e3aa6ad201
Multiple integer overflows in dbe and render extensions
...
CVE IDs: CVE-2006-6101 CVE-2006-6102 CVE-2006-6103
2007-01-09 14:14:19 +01:00
Michel Dänzer
359d20532b
Require glproto >= 1.4.8 for GLX.
...
It builds against 1.4.7 as well, but it hardcodes the GLX_EXT_tfp tokens that
were finalized in 1.4.8, so GLX_EXT_tfp breaks if the client side was built
against an older glproto. This will hopefully alert people to rebuild other
components (in particular Mesa) against the new glproto as well.
2007-01-09 09:53:45 +01:00
Alan Coopersmith
88740c4855
Use PKG_CHECK_EXISTS(libdrm) to determine if DRI should be enabled on Solaris
2007-01-08 17:36:28 -08:00
Michel Dänzer
282a4dcaab
Attempt to fix drawable type checks in dixLookupDrawable().
...
Not sure this is 100% correct either, but it fixes at least one reproducible
crasher where it returned a pixmap to dixLookupWindow().
2007-01-08 19:22:41 +01:00
Eric Anholt
0b73a7eb17
Add support for the DamagePost (XDamage 1.1) request.
...
This makes damageproto >= 1.1 a requirement to build.
2007-01-05 18:26:58 -08:00
Ian Romanick
dfb2c10413
Add missing #else from previous commits.
2007-01-05 10:15:09 -08:00
Ian Romanick
f90c3e226b
Re-regenerate from Mesa scripts.
...
DO NOT HAND EDIT THESE FILES! For cryin' out loud, there's even a
comment to that effect in the file's header...
2007-01-04 15:38:16 -08:00
Ian Romanick
b7ca5d14ce
Incorporate new byte-order related configure changes.
2007-01-04 15:37:33 -08:00
Ian Romanick
8dd5771a1b
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
...
Conflicts:
GL/glx/indirect_dispatch_swap.c
GL/glx/swap_interval.c
2007-01-04 15:01:38 -08:00
Ian Romanick
45aa26ccb4
Regenerate from Mesa scripts.
...
Regenerate source files from Mesa scripts. This causes the generated
files to use glxbyteorder.h.
2007-01-04 14:55:51 -08:00
Ian Romanick
6d603bb47f
Add new header file containing byte-order wrappers.
...
Move the byte-order related wrappers out of the individual source
files into a dedicated header file. Modify the single hand-coded
source file that uses the byte-order wrappers to use the new header
file.
2007-01-04 14:49:26 -08:00
Eric Anholt
7d2ec92170
Keep track of how many visuals we set up for GLcore, to avoid an invalid free.
...
The proper fix would involve actually setting up the ARGB visual for GLcore,
but I just want the server to not crash at exit.
2007-01-04 12:24:48 -08:00
Eric Anholt
aab2ca2042
Try dlsym(RTLD_DEFAULT) first when finding symbols.
...
The previous mechanism failed when finding drm symbols now that libdrm has
moved to being linked by libdri instead of being linked into the server.
2007-01-04 10:16:08 -08:00