Commit Graph

4233 Commits

Author SHA1 Message Date
jsg
f5929fd67d Recent thinkpads try to set a backlight value one greater than the
maximum causing backlight control to be disabled.  Limit the backlight
values to the maximum so xbacklight will work.

Backlight control via the brightness buttons won't yet work as
that likely requires opregion/acpi bits.

Tested by jcs@ jasper@ phessler@ naddy@ and Amarendra Godbole
ok phessler@ kettenis@
2012-12-13 01:23:08 +00:00
matthieu
6ccdfafb55 remove white space at end of line 2012-12-08 23:23:27 +00:00
matthieu
a9c3b44e12 Enable the radeon r100 dri module on macppc. ok mpi@ 2012-12-07 17:13:41 +00:00
todd
dcd15d31eb sync 2012-12-04 18:39:51 +00:00
mpi
6fba99f3a9 Correctly define HAVE_POSIX_MEMALIGN, missed in previous. Breakage reported
by ajacoutot@
2012-12-04 14:06:32 +00:00
matthieu
ebbac4e612 regen 2012-12-02 22:59:10 +00:00
matthieu
a1dad419fa Fix XAA support. Problem noticed by sthen@ 2012-12-02 22:51:25 +00:00
matthieu
26135f75ee Check return value of I830MapMMIO().
Allows the server to fail with a useful error message instead of
segfaulting later, like reported by Alexei Malinin on misc@.
2012-12-02 17:59:25 +00:00
miod
41bf070000 Sync 2012-12-01 21:10:47 +00:00
miod
ef8a0d093a Do not build kdrive on static arches, for libGL doesn't get build on them.
ok matthieu@
2012-12-01 21:10:42 +00:00
okan
00eccbe44f zap extra lines 2012-11-29 16:50:03 +00:00
matthieu
20262dc0a9 fix botched file. I managed to commit a file with a typo. 2012-11-29 16:46:10 +00:00
todd
ab0f34c4da sync 2012-11-29 16:29:17 +00:00
okan
d43f96b65c specific last match for autogroup; few iterations with Kent Spillner. 2012-11-29 04:25:49 +00:00
okan
ddf27615e6 x_setupscreen -> screen_init; no functional change. 2012-11-29 03:54:46 +00:00
okan
58353e9599 remove dead extern 2012-11-29 03:34:19 +00:00
matthieu
a9777fc130 Don't build profiled versions of libdrm_intel and libdrm_radeon. 2012-11-28 21:13:16 +00:00
okan
db22777ba0 add xasprintf() for upcoming changes. 2012-11-28 14:32:44 +00:00
okan
9c0280009c ever since the 9wm code bits were removed or replaced, this file has
been a no-op, for each source file has a complete license marker (ISC).

no objections from oga, who did the 9wm rewrite/remove work in 2008.
2012-11-28 14:25:05 +00:00
okan
096354b57d replace hand rolled font_make() with XftFontOpenName() and merge into
font_init().
2012-11-28 14:14:44 +00:00
mpi
4769f6e518 Correct include path, our drm headers live in /usr/include/dev/pci/drm 2012-11-28 13:56:29 +00:00
mpi
26df0b43a8 Include the software winsys and state tracker sources in the swrastg
driver rather than in the libmesagallium build. This non functional
change allows to use the libmesagallium in any gallium target (r300g,
nouveau...)
2012-11-28 13:53:16 +00:00
mpi
5bcdec7171 Fix an EXA-related big endian issue, introduced in 6.14.5 with the support
of accelerated solid pictures on r1xx, r2xx and r3xx.

Problem reported by landry@, ok matthieu@
2012-11-28 10:03:36 +00:00
mpi
ad95eb8c9f Update to libdrm 2.4.31 and add the non-yet-linked libkms, prodded by jsg@
Tested by jsg@, ajacoutot@, shadchin@ and matthieu@, ok matthieu@
2012-11-27 14:37:08 +00:00
matthieu
7de58e3a96 Update to xf86-video-mga 1.6.2 2012-11-23 21:31:16 +00:00
matthieu
0d13b72738 update 2012-11-23 21:08:19 +00:00
matthieu
7f78badd24 Update to xf86-video-r128 6.9.1 2012-11-23 20:47:03 +00:00
matthieu
87d6a5b7bb Update to pixman 0.28.0. Tested by ajacoutot@, mpi@ and naddy@ in a full
ports build. Tweaks from mpi@ for macppc.
2012-11-23 20:44:07 +00:00
matthieu
6d8faa157e Update to libxcb 1.9.0.
tested by ajacoutot@ and naddy@ on a full ports build
2012-11-22 20:31:32 +00:00
matthieu
979e0a076a Upate after radeon driver updates. From a diff by Tim van der Molen.
Thanks.
2012-11-18 23:32:07 +00:00
matthieu
28a7796da7 update 2012-11-16 17:46:18 +00:00
okan
50585c9a89 add some checks 2012-11-16 14:15:48 +00:00
okan
48634b386c variable name consistency; from Thomas Pfaff 2012-11-14 21:31:53 +00:00
okan
89bef83e09 tab-complete buglet fix: once exec_path is completed, allow for
subsequent completion; from Alexander Polakov
2012-11-14 21:12:24 +00:00
matthieu
957b095fdb regen 2012-11-11 21:34:52 +00:00
matthieu
5e96e40232 Patch the driver a bit more, to be able to build without XAA. 2012-11-11 21:34:15 +00:00
matthieu
65bb9e1366 regen 2012-11-11 18:54:32 +00:00
matthieu
b779baaa33 When building without and obj dir, cp may fail. 2012-11-11 18:54:02 +00:00
matthieu
3bc130ae81 regen 2012-11-11 15:51:20 +00:00
matthieu
2548fbc088 Make it possible to build radeon drivers without XAA. 2012-11-11 15:49:43 +00:00
mpi
5675f61d57 Try to load the gallium3d "swrastg" driver if available before falling back
to the default mesa "swrast" one for software rendering.

ok matthieu@
2012-11-11 12:18:31 +00:00
mpi
0661f3e5da Link libGL with -lpthread to allow the llvm-pipe driver to be loaded.
ok matthieu@, ajacoutot@
2012-11-11 12:09:09 +00:00
okan
4f78cb6835 sort 2012-11-09 03:52:02 +00:00
okan
81715b0acb fix some warnings; inspired by a diff from Thordur Bjornsson. 2012-11-08 20:18:19 +00:00
okan
74af9940e6 style nit; from Tiago Cunha. 2012-11-07 21:10:32 +00:00
okan
02dbbaba8a add comment why we mouse unbind, just like kbd 2012-11-07 21:04:55 +00:00
okan
62f3e39ff4 now that we have FOREACH_SAFE queue macros, use them where appropriate;
from Tiago Cunha.
2012-11-07 21:01:48 +00:00
okan
8d78ddf545 plug a leak when using 'unmap' for kbd/mouse bindings; from Tiago Cunha. 2012-11-07 20:37:55 +00:00
okan
1e3fec4362 get rid of the xfree() wrapper around free(); from Tiago Cunha. 2012-11-07 20:34:39 +00:00
todd
9170b573b5 sync 2012-11-07 19:52:34 +00:00