Commit Graph

4368 Commits

Author SHA1 Message Date
okan
c2e750f350 add support for mouse based group {,r}cycle; from Rodrigo Mosconi. not
bound by default.
2013-07-08 18:39:20 +00:00
okan
ad88124f83 move kbfunc and mousefunc closer together 2013-07-08 18:19:22 +00:00
okan
473473704c clarify kbd vs mouse functions 2013-07-08 16:32:51 +00:00
okan
53d2c330b7 move duplicate kbd and mouse modifier parsing to a generic function;
from Tiago Cunha
2013-07-08 16:10:55 +00:00
okan
f3dbf2e427 replace a few (x)malloc with (x)calloc to prevent potential integer
overflows; from Tiago Cunha
2013-07-08 15:48:16 +00:00
okan
2993105e89 whitespace and style fixes; from Tiago Cunha and one from me. 2013-07-08 15:46:16 +00:00
jsg
e3a5748bd3 update 2013-07-08 09:16:17 +00:00
jsg
b9bc50b107 update to libdrm 2.4.46
ok mpi@ kettenis@
2013-07-08 09:10:05 +00:00
jsg
0eba66b46b revert previous. Juan Francisco Cantero Hurtado reports that loading
the dri driver causes xorg to crash with r700 (PCI HD4350).  Likely
due to the incomplete support for r600/r700 currently in the tree.
2013-07-01 13:24:43 +00:00
jsg
2a3f70cf52 remove another local change that we don't need after
the gem ioctl changes kettenis made.
ok kettenis@
2013-07-01 13:12:52 +00:00
jsg
8d1c38158b Remove a local change that disabled the pageflipping
code in the KMS path.  Previously disabled due to
not having the required libdrm parts.
ok matthieu@
2013-06-29 14:20:25 +00:00
jsg
46d1e007d6 Build with support for KMS which was previously disabled due to
not having the required libdrm parts.  UMS will still be used if
KMS is not available.
ok matthieu@
2013-06-29 11:13:35 +00:00
matthieu
7b528a7590 Add basic EXA acceleration for the Alpine chipset. 2013-06-29 09:16:23 +00:00
matthieu
076750ef37 Quick fix for NULL pixmaps with server 1.14.
Problem reported and fix tested by J. Scott Heppler. Thanks.
2013-06-29 09:05:55 +00:00
jsg
7c02ec8a3f Define HAVE_LIBDRM_RADEON when compiling radeon dri drivers,
required for newer radeondrm.  Expanded version of a diff from kettenis@
ok kettenis@ mpi@
2013-06-27 14:53:50 +00:00
todd
561faa6da9 sync 2013-06-27 14:22:21 +00:00
mpi
1db608c0a5 Match what's done on i386/amd64 and use vt05 as default for xdm(1)
on macppc now that virtual consoles are supported.

Adding "xdm_flags=" to /etc/rc.conf.local should now be enough to
get xdm working out of the box, no need to edit /etc/ttys anymore.

ok matthieu@
2013-06-26 07:25:19 +00:00
jsg
8e6e23c185 in tree libdrm is now 2.4.45 2013-06-26 05:30:37 +00:00
matthieu
1d84fb9b66 update 2013-06-23 18:46:39 +00:00
okan
b72940ef73 properly fix (and re-organize) selfont selection. 2013-06-23 17:57:50 +00:00
matthieu
459e6d66cd Update to libXv 1.0.9 2013-06-23 09:51:37 +00:00
florian
f099f537b7 xenocara for beagle, no X server at this point.
"as a starting point" OK matthieu@
2013-06-21 10:38:32 +00:00
jsg
a530660a32 update to libdrm 2.4.45
ok kettenis@ mpi@, tested by ajacoutot@
2013-06-20 09:55:30 +00:00
okan
989f306272 when selfont is configured, make sure we continue and configure the rest
of the screen (quick fix); discovered the hard way by Rodrigo Mosconi.
2013-06-20 02:33:57 +00:00
jsg
65d2acd0c3 add the build infrastructure for the gallium r600 driver
ok mpi@
2013-06-17 23:30:25 +00:00
jsg
54ad3dfaaa byteswap.h and bswap_32 aren't portable, replace them with calls to
gallium's util_bswap32 as suggested by kettenis.

already merged upstream
ok kettenis@
2013-06-17 23:21:23 +00:00
okan
537fe7febb move Cursors into conf. 2013-06-17 17:11:10 +00:00
okan
8b4f5be847 now that we have conf_screen, which configures individual screens
*after* config parsing, we no longer need to split up display/screen
initialization, so collapse.
2013-06-17 14:08:51 +00:00
okan
a931e155f8 allow mouse button4 and button5; from Rodrigo Mosconi 2013-06-17 00:57:47 +00:00
shadchin
d5ecde7a60 Sun LKey section defines two xkb groups that lead to problems if there was only
one layout is configured. Toggle this section to one group.

pointed out, tested and ok landry@, ok matthieu@
2013-06-15 16:00:39 +00:00
matthieu
119695010a update 2013-06-14 21:42:36 +00:00
matthieu
f231986761 Update to libXvMC 1.0.8 2013-06-14 21:40:42 +00:00
matthieu
6f80097364 Update to libXrender 0.9.8. 2013-06-14 21:35:39 +00:00
matthieu
0e6332496b Default to EXA acceleration. 2013-06-14 21:27:14 +00:00
matthieu
04a5ce6247 Disable broken EXA operations for now. 2013-06-14 21:21:54 +00:00
jsg
1b3475a727 fix rcsid 2013-06-14 05:14:22 +00:00
matthieu
664a55a370 Fix initialization of shadowfb with modern X servers 2013-06-13 21:52:08 +00:00
matthieu
9a190ffb97 Fix initialization of shadowfb with modern X servers. 2013-06-13 21:48:11 +00:00
matthieu
cd7cbb53aa Fix loading the driver without XAA 2013-06-13 21:47:28 +00:00
jsg
fd2bf1e300 add the build infrastructure for the gallium r300 driver
based on an earlier diff from mpi@
ok mpi@
2013-06-13 10:39:28 +00:00
okan
356be89e9f move synthetic responses and have client_msg only work with WM_PROTOCOLS,
since that's all ClientMessageEvent is for anyway.
2013-06-10 21:37:30 +00:00
matthieu
3caadaf943 On mach64, only disable RenderAccel, not the full EXA acceleration.
This is enough to fix the screen corruption seen on Xft fonts and other
Xrender drawings.
2013-06-10 20:38:52 +00:00
okan
5daab9b270 Check for, and honour, CWStackMode and CWSibling change requests during a
ConfigureRequest event.  Additionally, honour a border width change;
detailed report and patch from Mike Small.
2013-06-10 20:11:43 +00:00
matthieu
7603c4ad9c Unbreak the sunffb driver. No acceleration for now, since XAA was
removed from X server 1.14.
2013-06-10 19:49:40 +00:00
matthieu
ff44df0816 Fixes from upstreams for vulnerabilities reported by Ilja Van Sprundel
Integer overflow in XF86DRIOpenConnection() and
XF86DRIGetClientDriverName() [CVE-2013-1993]

Reminded by jsg@. Thanks
2013-06-10 19:21:20 +00:00
jsg
120dbb0038 correct RADEON_GEM_WAIT_IDLE use.
RADEON_GEM_WAIT_IDLE is declared DRM_IOW but mesa
uses it with drmCommandWriteRead instead of drmCommandWrite
which leads to the ioctl being unmatched and returning an
error on at least OpenBSD.

Problem originally found and fixed in libdrm by kettenis@
Dave Airlie pointed out that mesa has the same issue.

This change has already been merged in upstream mesa.

ok matthieu@ kettenis@
2013-06-09 13:57:18 +00:00
matthieu
44b1fff236 regen 2013-06-08 15:39:14 +00:00
matthieu
6ce12539bb Get rid of a bash-ism 2013-06-08 15:38:51 +00:00
kettenis
980735ac71 Adjust for the changes in our implementation of the DRM_I915_GEM_MMAP and
DRM_I915_GEM_MMAP_GGT ioctls, effectively reverting a local change we made.
2013-06-07 20:48:17 +00:00
matthieu
4fcdc6434f sync 2013-06-07 19:52:24 +00:00