Enrico Weigelt, metux IT consult
8b416d59d6
drop obsolete compat macros
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:50:08 +01:00
Enrico Weigelt, metux IT consult
b1027d385f
drop now unused SISIOMEMTYPE
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:50:08 +01:00
Enrico Weigelt, metux IT consult
fee13c7581
1
...
1
1
2026-01-23 17:50:08 +01:00
Enrico Weigelt, metux IT consult
f3859805e4
drop #ifdef SISXINERAMA
...
Since SISXINERAMA is now always defined, don't need the #ifdef's anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:50:08 +01:00
Enrico Weigelt, metux IT consult
2b21876397
drop #ifdef SISDUALHEAD
...
It's always enabled, so no need for #ifdef's
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:50:08 +01:00
Enrico Weigelt, metux IT consult
144f14c1bb
(submit/drop-XAA) drop obsolete XAA
...
Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:50:08 +01:00
Enrico Weigelt, metux IT consult
c2723dd17d
sis_dri: fix printf() format
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
801514ee44
sis_video: fix warning on misleading indentions
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
3f3018e8ce
sis_utility: fix uninitialized variables
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
c52ab1c927
sis_opt: suppress printf format not literal warning
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
4eb5a3f8c9
sis_memcpy: fix const char* mismatch in SiS_ReadProc()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
303d394280
fix shadowed variables
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
39f8b84723
configure.ac: allow using higher C standards
...
Necessary for suppressing warnings on mixed declarations and code.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
f9a0717a24
sis6326_video: work around const issue XF86AttributeRec
...
This struct unfortunately is used for both the case where those name
fields are statically initialized as well as dynamically allocated.
(and the corresponding code already taking care of that).
Thus we have to explicitly ignore compiler warnings here.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
54407b0e25
fix various redeclarations of functions
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
c344e60c9a
fix rounding on result of SiSCalcVRate()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
9bd48ad4cb
fix pointer mismatch issues
...
FreeBSD compiler hates pointer arithmetics on void* pointers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-23 17:46:13 +01:00
Enrico Weigelt, metux IT consult
74f27fa31c
replace obsolete "pointer" typedef by plain void*
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-06 16:01:29 +01:00
Enrico Weigelt, metux IT consult
5f54da1e92
drop obsolete compat macros
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-02 16:59:44 +01:00
Enrico Weigelt, metux IT consult
422467fbfb
.github: add NetBSD build
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-29 18:20:30 +01:00
Enrico Weigelt, metux IT consult
8cde7b3272
.github: add freebsd and dragonfly build
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-28 16:58:53 +01:00
Enrico Weigelt, metux IT consult
34ddf24346
.github: use new common driver build actions
...
Using the new driver build actions in X11Libre/actions-build-driver repo,
instead of having lots of duplicated pipeline and script in all the
individual driver repos.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-27 14:35:54 +01:00
Enrico Weigelt, metux IT consult
022552c290
configure.ac: increase minimum xserver version to 25.0.0
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-19 16:17:06 +01:00
Enrico Weigelt, metux IT consult
aa61f4383d
release 25.0.0
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
xlibre-xf86-video-sis-25.0.0
2025-12-18 19:19:17 +01:00
Enrico Weigelt, metux IT consult
1558d6e8c5
configure.ac: tiny formatting cleanup
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 17:38:54 +01:00
Enrico Weigelt, metux IT consult
717cbfa268
drop hacks for ancient pre-libpciaccess Xservers
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 14:55:49 +01:00
Enrico Weigelt, metux IT consult
68a56a6851
drop obsolete #ifdef XFree86LOADER
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 13:48:29 +01:00
Enrico Weigelt, metux IT consult
0d7ab20805
configure.ac: replace DRIVER_NAME symbol by actual name
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 13:29:26 +01:00
Enrico Weigelt, metux IT consult
c23a302b21
configure.ac: drop obsolete checks for libc functions
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 12:22:27 +01:00
Enrico Weigelt, metux IT consult
aaaa7dd7b4
drop support for ancient pre-7.1 xextproto
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 12:09:11 +01:00
Enrico Weigelt, metux IT consult
88d227d4a8
drop obsolete .gitlab-ci.yml
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 11:55:13 +01:00
Enrico Weigelt, metux IT consult
7ea49be742
drop obsolete #ifdef HAVE_CONFIG_H
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 11:09:03 +01:00
Alan Coopersmith
37743f0433
Strip trailing whitespace from source files
...
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`
`git diff -w` & `git diff -b` show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/42 >
2025-12-16 10:35:42 +01:00
Enrico Weigelt, metux IT consult
ea3703e9fd
configure.ac: fix package name and issue tracker URL
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-15 19:14:47 +01:00
Enrico Weigelt, metux IT consult
c6f0807a8c
drop ifdef SISMERGED
...
It's always enabled, so no need to have the code cluttered with those #ifdef's.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
xlibre-xf86-video-sis-0.12.0.3
2025-12-15 18:44:21 +01:00
Enrico Weigelt, metux IT consult
eb0bd15bba
sis_driver: fix missing include of extinit.h
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-09 20:13:20 +01:00
b-aaz
3fa5ea45a5
configure: Automatically detect the default xorg-module-dir.
...
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.
Signed-off-by: b-aaz <b-aazbsd.proton.me>
xlibre-xf86-video-sis-0.12.0.2
2025-07-29 18:41:47 +02:00
Enrico Weigelt, metux IT consult
eb4869770f
.github: add CI pipeline
...
This pipeline builds the driver against the latest Xserver stable
release as well as current master.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-07-29 18:32:52 +02:00
callmetango
7b1fec3620
.github: Add issue forms
...
Add the following forms for issue creation:
* Bug report
* Feature request
* Code change
* Documentation update
* Organizational task
* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate
Part-of: X11Libre/misc#156
Signed-off-by: callmetango <callmetango@users.noreply.github.com >
2025-07-07 17:04:13 +02:00
Alan Coopersmith
861fc9235e
Improve man page formatting
...
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/41 >
xlibre-xf86-video-sis-0.12.0.1
2025-06-08 15:32:16 -07:00
Enrico Weigelt, metux IT consult
ee451146c0
drop obsolete XAA
...
Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/26 >
2025-04-13 10:12:51 -07:00
Alan Coopersmith
b144cedfe1
SiS_DDC2Delay: initialize variable before adding to it
...
Fixes issue flagged by Oracle Parfait 13.3 static analyser:
Uninitialised variable [uninitialised-var]:
Uninitialised variable 'j' may be used for addition with
SiS_GetReg(SiS_Pr->SiS_P3c4, 5)
at line 424 of src/init301.c in function 'SiS_DDC2Delay'.
Though in truth, it doesn't matter much since we never read the
values written to 'j'.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/39 >
2024-10-12 15:00:33 -07:00
Semenov Herman
9709fe9741
micro-optimize: removed excess check exist pointer before free()
...
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/38 >
2024-08-31 19:07:58 +00:00
Herman Semenov
0d0acc7d29
Added forgotten missing 'else if'
...
Signed-off-by: Semenov Herman <GermanAizek@yandex.ru >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/35 >
2024-08-31 18:57:48 +00:00
Semenov Herman
597ef98b01
Fixed missing break in switch VDisplay (don't get mode 1280x720)
...
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/34 >
2024-08-31 18:46:41 +00:00
Semenov German
42b78bc094
Fixed misprint in condition blocks with not used LCDheight (512x384, 400x300)
...
Signed-off-by: Семёнов Герман <GermanAizek@yandex.ru >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/33 >
2024-08-31 18:35:17 +00:00
Semenov Herman
4f24960405
Fixed in SiS 315+ includes all chips (+XGI) set 'Blue' custom gamma RGB options
...
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/32 >
2024-08-31 18:23:35 +00:00
Herman Semenov
cde13ef143
Fixed reset second XV display in DualHeadMode
...
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/31 >
2024-08-31 18:12:57 +00:00
Семёнов Герман
9bbe2a772f
Fixed invalid copy variable AllowHotkey in SiSCopyFromToEntity
...
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/30 >
2024-08-26 21:37:56 +03:00
Enrico Weigelt, metux IT consult
fb3b448df7
fix FTBS on XSERVER_LIBPCIACCESS
...
Not all Xserver versions define that symbol with a numeric value
(1 or 0), some just might not define it at all when disabled.
Using #if instead of #ifdef (as most sites do) will lead to compile break:
../../src/sis_driver.c:4008:25: error: expected value in expression
#if XSERVER_LIBPCIACCESS
^
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/27 >
2024-07-27 22:15:06 +00:00