Commit Graph

172 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
a887304234 drop hacks for ancient pre-libpciaccess Xservers
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 15:12:21 +01:00
Enrico Weigelt, metux IT consult
b0ec43f4ff drop obsolete #ifdef XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:41:21 +01:00
Enrico Weigelt, metux IT consult
b6f1a234a9 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:09:51 +01:00
Enrico Weigelt, metux IT consult
18930570d4 drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:53:30 +01:00
Enrico Weigelt, metux IT consult
caea69266f drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 19:35:44 +01:00
Enrico Weigelt, metux IT consult
b27fd436e9 man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:57:35 +01:00
Enrico Weigelt, metux IT consult
f74d55ffab README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:16:34 +01:00
Enrico Weigelt, metux IT consult
049dd152fe release 1.6.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-cirrus-1.6.1
2025-12-15 15:38:37 +01:00
Alan Coopersmith
ac84fe358f 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-cirrus/-/merge_requests/10>
2025-12-15 15:38:18 +01:00
Enrico Weigelt, metux IT consult
233886c007 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:37:55 +01:00
b-aaz
b6bd9176b6 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-cirrus-1.6.0.2
2025-07-29 18:55:32 +02:00
Enrico Weigelt, metux IT consult
3934fcdf7f .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-24 20:34:58 +02:00
callmetango
83e1d54cb9 .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:06:57 +02:00
Alan Coopersmith
76ef1c71a8 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`

Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-cirrus/-/merge_requests/9>
xlibre-xf86-video-cirrus-1.6.0.1
2025-06-01 17:29:59 -07:00
Enrico Weigelt, metux IT consult
15d6831652 drop compat to pre-1.18 xorg-server versions
Since we're now relying on >= 1.18, we can drop lots of old compat stuff.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-cirrus/-/merge_requests/8>
2024-05-23 18:37:02 +02:00
Alan Coopersmith
f6ed544a2c Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.

Allows dropping remnants of code for XAA and pre-pciaccess X servers

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-cirrus/-/merge_requests/6>
2024-05-13 15:22:20 -07:00
Enrico Weigelt, metux IT consult
6254a73abb use XNFrealloc() instead of xnfrealloc
xnfrealloc is just an alias for XNFrealloc() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-cirrus/-/merge_requests/5>
2024-05-10 11:39:28 +02:00
Enrico Weigelt, metux IT consult
9fb55bd42f use XNFcallocarray() instead of xnfcalloc macro
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-cirrus/-/merge_requests/5>
2024-05-08 14:33:58 +02:00
Alan Coopersmith
d72c0bb68e gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-01 12:49:09 -07:00
Alan Coopersmith
c5eb70d9cb AlpOffscreenAccelInit: Use c99 designated struct initializer
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07 12:48:02 -07:00
Alan Coopersmith
ee2b4beba4 Variable scope reductions as suggested by cppcheck
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07 12:37:22 -07:00
Alan Coopersmith
3c32eedb0c GetAccelPitchValues: mark accelWidths as const
Suggested by cppcheck:

alp_driver.c:413:6: style: Variable 'accelWidths' can be declared
  with const [constVariable]

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07 12:09:34 -07:00
Alan Coopersmith
c5f3f665a2 Remove "All rights reserved" from Oracle copyright notices
Oracle no longer includes this term in our copyright & license notices.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-25 09:10:15 -08:00
Alan Coopersmith
b57d5587c5 gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09 12:06:56 -08:00
Alan Coopersmith
adb5a2b750 xf86-video-cirrus 1.6.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-cirrus-1.6.0
2022-07-10 16:47:22 -07:00
Alan Coopersmith
bd34f56e20 gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 10:08:43 -08:00
Alan Coopersmith
dcb341816e Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 10:07:44 -08:00
Alan Coopersmith
6d66293961 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 10:03:43 -08:00
Kevin Brace
df543b5ff6 Save and restore RIF Control and RAC Control registers
While the standby resume from ACPI S3 State still fails (i.e., hard
system freeze), saving and restoring Rambus RIF (Rambus Interface)
Control and RAC (Rambus ASIC Cell) Control registers prevents weird
artifacts from being displayed after standby resume (i.e., merely a
blank screen after standby resume).

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-08-02 19:47:31 -07:00
Kevin Brace
226b6f9a3f Stop accessing SR12 and SR13
The access to these extended VGA sequencer registers appears to come
from the code for Cirrus Logic Alpine family.  Laguna family does not
use these registers according to Laguna VisualMedia Accelerators Family
CL-GD546X Software Technical Reference Manual, Second Edition.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-07-30 16:38:28 -07:00
Kevin Brace
c474c463fb Declare an I2C bus name string as a static type for alp_i2c.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-07-20 17:22:09 -07:00
Kevin Brace
d5f71611d9 Declare an I2C bus name string as a static type for lg_i2c.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-07-20 17:22:01 -07:00
Kevin Brace
ad8486b4e9 Fix indentation of lg_i2c.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-06 17:30:44 -07:00
Kevin Brace
ac84f687e3 Tab to spaces conversion for lg_i2c.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-02 18:08:38 -07:00
Kevin Brace
ebd5feef7c Activate I2C bus for Laguna based devices
There is really no good reason for I2C bus based automatic display
detection to not be turned on by default.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17 16:08:43 -07:00
Kevin Brace
22c611d52f Check for a successful transmission of EDID for Laguna I2C bus code
The existing code can potentially cause a null pointer crash if EDID
was not obtained successfully.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17 16:08:25 -07:00
Kevin Brace
6e59935a7b Fix for Laguna I2C bus code compilation error
When commit 9a5e19597b (cirrus: convert
to compat server API.) updated the code, it did not update Laguna I2C
bus code to handle newer X Servers.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17 16:07:49 -07:00
Kevin Brace
9d679b9820 Make adjustments to code comments of lg_driver.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17 16:06:13 -07:00
Kevin Brace
bd5ed38076 Fix indentation of lg_driver.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17 16:02:40 -07:00
Kevin Brace
95c16ca9f1 Tab to spaces conversion for lg_driver.c
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17 15:56:31 -07:00
Kevin Brace
13f8f978e8 Eliminate pointer arithmetic compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-11 17:47:40 -07:00
Kevin Brace
5d8d7bcbb1 Tab to spaces conversion for cir.h
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-11 17:36:09 -07:00
Kevin Brace
ee3504d959 Fix for a compilation error when compiling XAA related files
When commit 27f85fc523 (Don't build
split alpine and laguna support) merged Alpine and Laguna support,
it missed a backslash ('\') to denote the next line for XAA related
files.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-20 09:38:50 -08:00
Kevin Brace
a4a45b7a29 Suppress unused label compilation warning
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25 08:37:45 -06:00
Kevin Brace
b32b125e91 Use const char for xf86GetOptValString return type
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25 08:34:30 -06:00
Kevin Brace
1069d52aa4 Eliminate unused variable compilation warning
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25 08:30:08 -06:00
Alan Coopersmith
d1139bd2fe Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 13:08:00 -08:00
Alan Coopersmith
4f0d349f54 Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 12:24:32 -08:00
Mihail Konev
b47b3632fb autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:22 +10:00
Emil Velikov
71580d0188 autogen.sh: use quoted string variables
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
fall-outs, when they contain space.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26 11:13:25 +10:00