matthieu
fb763cc6fe
Revert previous:
...
unbreak build with clang-16 by fixing up function definitions to match
the whole CARD64 vs uint64_t issue needs more thinking.
Suggested by kettenis@
2023-09-08 05:44:27 +00:00
robert
5ab3ec55fb
unbreak build with clang-16 by not using non-existent functions and by
...
using correct types where needed; this also removes some unnecessary casts
and some ancient compat defines
parts from and ok jsg@
2023-09-07 09:13:51 +00:00
robert
09bc32815c
unbreak build with clang-16 by fixing up function definitions to match
...
our uint64_t is an unsinged long long, but CARD64 is defined as unsigned long
so the function pointer types in both glamor and xf86-video-amdgpu were
mismatched and clang-16 treats that as an error
ok matthieu@
2023-09-06 11:42:37 +00:00
matthieu
4c4398b2e9
Avoid close(-1). ok miod@
...
wsClose() is called twice on X server exit, so this test is needed to
avoid calling close a 2nd time with -1.
2023-08-12 16:48:44 +00:00
aoyama
849b02b8d8
Support 8bpp X server on LUNA.
...
LUNA's frame buffer is 'planar' type, not packed pixel. So use
shadowUpdateAfb8 as shadow framebuffer procedure to work 8bpp X
server.
It took 10 years to make X server colored on LUNA.
Originally inspired by NetBSD/amiga.
ok miod@
2023-08-04 23:49:45 +00:00
aoyama
16c1375008
Fix mmap'ing size for LUNA framebuffer.
...
LUNA's video memory has 'linebytes * fPtr->info.height' bytes per 1
plane and the real visible area begins at 'offset' within that video
memory area, so it does not need to add 'offset' when mmap'ing video
memory.
Noticed by nono emulator.
ok miod@
2023-08-01 11:06:13 +00:00
matthieu
0c022eeb73
Update to xf86-video-r128 6.12.1
2023-07-03 08:00:43 +00:00
matthieu
35184de566
Update xf86-video-ati to 22.0.0
...
All the important changes where already imported from upstreams.
2023-07-03 07:50:30 +00:00
matthieu
214c231816
Update to xf86-input-mouse 1.9.5
2023-07-03 07:28:53 +00:00
matthieu
d1a8d3ab03
Update to xf86-video-sunffb 1.2.3
2023-05-09 20:17:04 +00:00
matthieu
117e3cccd6
Include xf86Cursor.h instead of xf86RamDac.h
2023-05-09 20:04:40 +00:00
matthieu
94b291fab9
Update to xf86-video-dummy 0.4.1
2023-05-08 16:03:58 +00:00
bentley
e447743965
Swap saved x/y touchscreen values if axes are swapped.
...
This fixes an issue where moving a finger horizontally or vertically
on a rotated touchscreen caused the cursor to jump to position along
a diagonal line.
ok miod@ kettenis@
2023-04-27 12:25:56 +00:00
bentley
3e7961fbf9
Fix error message typos: COORS -> COORDS.
...
ok matthieu@
2023-04-25 20:18:48 +00:00
bentley
becd7a8418
xtsscale is in section 1, not section 8.
2023-04-25 16:07:13 +00:00
matthieu
32b316183a
Update to xf86-video-nv 2.1.22
2023-04-10 17:34:09 +00:00
matthieu
bdc10943f4
Update to xf86-input-vmmouse 13.2.0
2023-04-10 17:15:06 +00:00
matthieu
97110c5faa
Update to xf86-input-void 1.4.2
2023-04-10 17:08:51 +00:00
matthieu
83bdfdd822
Update to xf86-input-mouse 1.9.4
2023-04-10 16:38:33 +00:00
matthieu
c85cd51b9e
Update to xf86-input-joystick 1.6.4
2023-04-10 16:33:30 +00:00
matthieu
30d3895fc4
Update to xf86-input-elographics 1.4.3
2023-04-10 16:25:33 +00:00
matthieu
f20d5d564b
Update to xf86-video-amdgpu 23.0.0. Tested by op@ and jsg@
2023-03-01 20:21:10 +00:00
kettenis
921296be19
Add kqueue(2) support such that the amdgpu Xorg driver notices events
...
signalled by the kernel driver. This makes sure xbacklight(1) will report
the right display brightness if it is changed by using the brightness keys
on the keyboard or through wsconsctl(8).
ok jsg@, matthieu@
2022-12-05 16:41:17 +00:00
matthieu
81e9319cbd
Update xf86-video-mach64 to version 6.9.7.
2022-12-04 18:15:08 +00:00
jsg
317ccbdd41
disable libudev to fix build when xatracker is present
...
xatracker is part of Mesa and not currently installed
ok matthieu@
2022-11-11 01:12:13 +00:00
matthieu
bd36b57990
When no device is provided in the config file, try xf86Info.consoleFd
...
before defaulting to an hard-coded device name. Tested by tobhe@
2022-11-10 17:38:58 +00:00
matthieu
fed98a76a4
Simplify the test on mode in WsfbSaveScreen() and add error checking.
...
Tested by tobhe@
2022-11-10 17:36:42 +00:00
kettenis
26ef013041
Handle framebuffers where the first pixel isn't page aligned in a similar
...
way to the xf86-video-wsfb driver.
ok matthieu@
2022-07-21 18:21:06 +00:00
kettenis
e092382511
Handle framebuffers where the first pixel isn't page-aligned. Fixes the
...
running on the framebuffer of the Apple 14" and 16" Macbook Pro avoiding
"the notch". Remove the special case for the LUNA framebuffer now that
the offset for the first pixel is passed by the WSDISPLAYIO_GINFO ioctl.
ok aoyama@, matthieu@
2022-07-16 21:14:40 +00:00
matthieu
93bdf29fb5
Update xf86-video-mga to version 2.0.1
2022-07-15 14:33:46 +00:00
matthieu
5ae47b8b5e
Update x86-input-synaptics to version 1.9.2
2022-07-15 13:34:17 +00:00
matthieu
4f7f18850f
Update xf86-input-keyboard to version 2.0.0
...
No functional change on *BSD. Linux support is removed.
2022-07-15 13:26:04 +00:00
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