Commit Graph

1245 Commits

Author SHA1 Message Date
matthieu
eaba5413b6 Update to xf86-video-vmware 13.3.0 2022-06-28 10:09:44 +00:00
matthieu
5b12122530 xf86-video-dummy: update to version 0.4.0 2022-06-28 09:36:35 +00:00
matthieu
8aaca22283 Do not free() an on-stack array.
Reported by Tobias Nygren using gcc10.
2022-05-27 16:34:34 +00:00
bentley
57ae4c770d Fix typo: ususally -> usually. 2022-05-11 07:48:58 +00:00
jsg
778b9e57b1 update to xf86-video-amdgpu 22.0.0 2022-03-08 03:56:50 +00:00
kettenis
648a8d44df The color map support in wsfb(4) only supports up to 256 palette entries.
However for 30-bit color depth modes, Xorg assumes 1024 palette entries are
supported.  Since we don't actually support hardware with both 30-bit
color depth and hardware palette support, skip the color map handling in
that case.  This is what the xf86-video-ati driver does as well.
This prevents us from smashing the stack.

ok matthieu@
2022-02-07 18:38:44 +00:00
fcambus
604ad5642e Update openchrome to 0.6.409.
OK and with help from matthieu@
2021-11-23 17:50:30 +00:00
matthieu
6022a4d069 Don't set SourceValidate pointer to NULL
inspired from similar code in amdgpu(4), fixes a crash when xrandr(1)
is invoked with X server 21.1.1. reported by espie@
2021-11-17 19:43:43 +00:00
matthieu
4fdf2e0102 Fixes for xserver 1.21 2021-11-11 09:31:13 +00:00
matthieu
09733ff99f Fixes for xserver 21.1 2021-11-11 09:30:43 +00:00
matthieu
d22761cd3a Update to git -current version for compatibility with Xserver 21.1 2021-11-11 09:30:14 +00:00
matthieu
34c1d1b371 regen 2021-08-31 18:57:26 +00:00
matthieu
b7edd29714 remove pwd $0 bashism 2021-08-31 18:56:43 +00:00
matthieu
004f79d9e1 Update to xf86-input-elographics 1.4.2 2021-08-30 11:22:46 +00:00
jsg
e52bdfbe2d update to xf86-video-amdgpu 21.0.0
only change to the diff on tech@ many people tested is a version bump
2021-08-03 05:35:52 +00:00
matthieu
80198aa25a support xf86-video-radeon and xf86-video-amdgpu drivers on riscv64.
from jsg@, ok kettenis@
2021-06-25 19:32:01 +00:00
drahn
be6f9bdd31 Initial attempt to build xserver for riscv64
ok matthieu@
2021-06-15 13:57:42 +00:00
matthieu
c6b8979185 remove sgi drivers lists 2021-05-02 10:22:57 +00:00
jcs
2cc95a6942 Ignore WSMOUSEIO_GTYPE ioctl failure when checking /dev/wsmouse
When xf86-input-ws has attached separately to all existing mouse
devices already or there are no mice plugged in, xf86-input-ws fails
to attach to the wsmouse mux as a default fallback because there is
no wsmouse device left in the mux to handle the WSMOUSEIO_GTYPE
ioctl.  If a USB mouse is later plugged in, there will not be any
xf86-input-ws driver loaded listening to /dev/wsmouse for input.

ok matthieu
2021-03-28 15:57:45 +00:00
matthieu
a9d2f207cb Update to xf86-video-r128 6.12.0 2021-03-26 18:23:03 +00:00
kettenis
266de26941 Add support for 30-bit color.
ok matthieu@
2021-03-13 14:00:04 +00:00
jsg
bb87bf9699 fix typo when defining away tightly_packed when building without -O
spotted by deraadt@ when building with CFLAGS=-fno-common

matches upstream commit by Alexei Podtelezhnikov
sna: fix typo for --enable-debug=full
db2356f5861d4a81d67c00843a15f5624cd21fb5
2021-02-07 07:33:03 +00:00
matthieu
55e4180bde Fix build with -fno-common. 2021-01-30 08:55:34 +00:00
jsg
ade87d994e Fix for GCC 10 activating stricter check for extern variables / structs
From Kevin Brace
edb46574d4686c59e80569ba236d537097dcdd0e in xf86-video-openchrome git

fixes clang 11 build
mortimer@ had the same diff ok fcambus@
2021-01-20 02:38:49 +00:00
jsg
9c091fab51 Fix link failure with gcc 10
From Adam Jackson
f223035f4ffcff2a9296d1e907a5193f8e8845a3 in xf86-video-ati git

fixes clang 11 build
mortimer@ had the same diff
2021-01-18 01:33:50 +00:00
jsg
24a11e5588 Fix link failure with gcc 10
From Adam Jackson
edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d in xf86-video-amdgpu git

fixes clang 11 build
mortimer@ had the same diff
2021-01-18 01:31:19 +00:00
robert
d5d80a8928 unbreak DRI3 support by using priv_open_device() to open the devices
priv_open_device() has to be used in case the X server is running
privilege separated

ok jsg@
2021-01-09 07:22:49 +00:00
robert
b9b78c90f9 unbreak DRI3 support by using priv_open_device() to open the devices
priv_open_device() has to be used in case the X server is running
privilege separated

ok kettenis@, jsg@, matthieu@
2020-12-21 09:06:14 +00:00
kettenis
81154a94b9 Video drivers for powerpc64.
ok matthieu@, jsg@
2020-10-28 22:18:10 +00:00
jsg
49df366b19 backport commits to not crash when accel is disabled
cb27a5b Handle NULL fb_ptr in pixmap_get_fb
e2cd67a Bail from amdgpu_pixmap_get_handle with ShadowFB
2020-10-26 14:15:50 +00:00
jsg
a76b9a7e41 backport commits to not crash when accel is disabled
c0eb5dbd Don't crash X server if GPU acceleration is not available
4d84cf43 Handle NULL fb_ptr in pixmap_get_fb

prompted by a report to bugs@ from Jean-Louis ABRAHAM
ok matthieu@
2020-10-26 13:32:00 +00:00
matthieu
fd0b27a538 Use C99 designated structure initializers.
No expected code change.
2020-09-13 10:26:31 +00:00
matthieu
1242f9054e Remove the (out of date) list of supported architectures. 2020-06-14 07:10:44 +00:00
matthieu
6080f556ca Fix VT switching in EXA acceleration. 2020-05-16 14:18:52 +00:00
matthieu
25e39ca9f7 MFC: alpine: Default to 16bpp
24bpp support is going away, so since we can't do 32bpp and these cards
have basically no VRAM to begin with, drop to 16bpp.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-16 14:15:35 +00:00
matthieu
6629d50366 Fix for removal of the shadowDamage() macro in xserver 1.20.
Problem nocited by David Savolainen. Thanks.
2020-01-25 18:06:04 +00:00
matthieu
049847108f Update to xf86-video-ati 19.10.0. tested by jsg@ 2019-10-26 09:37:25 +00:00
matthieu
0999e0299d Update to xf86-video-amdgpu 19.1.0. Tested by mortimer@ and jsg@ 2019-10-26 09:36:38 +00:00
jsg
4126f04810 build xf86-video-amdgpu on arm64
ok kettenis@ patrick@
2019-08-28 08:03:10 +00:00
matthieu
3a6045e486 replace obsoleted xf86{,Un}BlockSIGIO() calls by input_{,un}lock()
for xserver 1.20. No functional change.
2019-08-08 12:28:09 +00:00
matthieu
2aeb2bf61b Adapt Block and Wakeup handlers prototypes to X server 1.20.
No functional change.
2019-08-08 12:23:34 +00:00
matthieu
c0e6abce88 Adapt Block and Wakeup handlers prototypes to X server 1.20.
No functional change.
2019-08-08 12:04:36 +00:00
matthieu
14e30ce507 Compatibility with xserver 1.20
reminded by jsg@
2019-07-27 07:49:57 +00:00
matthieu
b8401f432f Compatibility with xserver 1.20 2019-07-27 07:48:19 +00:00
matthieu
f21a3f24c9 Compatibility with xserver 1.20 2019-07-27 07:47:47 +00:00
matthieu
adc53f058f Compatibility with xserver 1.20 2019-07-27 07:46:53 +00:00
matthieu
47fb7c8d96 Compatibility with xserver 1.20 2019-07-27 07:46:01 +00:00
matthieu
7a92c4a4d9 Compatibility with xserver 1.20 2019-07-27 07:44:23 +00:00
matthieu
b61f69c71c Replace LoaderGetOS() calls by direct calls to uname(3).
In xserver 1.20, LoaderGetOS() is removed. ok and tweak jca@
2019-06-30 17:10:24 +00:00
matthieu
8a3bde648b Remove. Unlinked from the build for 6 weeks. 2019-06-30 12:41:51 +00:00