Alan Coopersmith
ff7e389794
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-08-12 17:33:38 -07: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
Peter Hutterer
b91628997d
autogen.sh: use exec instead of waiting for configure to finish
...
Syncs the invocation of configure with the one from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
2017-01-26 11:13:25 +10:00
Adam Jackson
c6f5096252
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 >
2016-12-08 13:36:18 -05:00
Adam Jackson
27f85fc523
Don't build split alpine and laguna support
...
Before:
text data bss dec hex filename
25772 2040 16 27828 6cb4 src/.libs/cirrus_alpine.so
11429 1552 112 13093 3325 src/.libs/cirrus_drv.so
21968 2016 16 24000 5dc0 src/.libs/cirrus_laguna.so
59169 5608 114 64921 fd99 (TOTALS)
After:
text data bss dec hex filename
47831 3840 112 51783 ca47 src/.libs/cirrus_drv.so
So, in the worst case, you're using roughly two more pages for (clean,
evictable) text, but two fewer (dirty) pages for data and bss. Fixing
this also allows the X server to clean up module loading a bit by
enforcing the _drv.so suffix, and since this is the only driver pulling
such shenanigans...
Reviewed-by: Julien Cristau <jcristau@debian.org >
Signed-off-by: Adam Jackson <ajax@redhat.com >
2016-04-27 17:09:15 -04:00
Adam Jackson
adaf1fe744
Remove (almost) no-op setup functions
...
These became practical no-ops when I removed reference to the loader
symbol lists. gcc will still emit code (and bss) for them though. No
functional change, just doing it to prove that nothing special happens
at submodule load.
Reviewed-by: Julien Cristau <jcristau@debian.org >
Signed-off-by: Adam Jackson <ajax@redhat.com >
2016-04-27 17:09:11 -04:00
Frederic Crozat
82db44fe8a
Use 16bpp when running in virt and on XenSource gfx
...
Due to graphics corruption default to 16bpp in virt instead of 24 (Fedora).
Do the same on XenSource gfx, which suffers from the same issue.
Reviewed-by: Adam Jackson <ajax@redhat.com >
2016-04-27 11:59:04 -04:00
Stefan Dirsch
23da607336
Disable "acceleration" under qemu
...
Disable "acceleration" under qemu, since taking the hypercall trap
is really quite expensive and you're better off doing noaccel. Patch
is based on the one by "Adam Jackson" <ajax@redhat.com >
http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-drv-cirrus.git/tree/cirrus-1.2.0-qemu.patch?id=daccd1c8174623500eddfa297d8ea76a86d3c5d9
Reviewed-by: Adam Jackson <ajax@redhat.com >
2016-04-27 11:52:40 -04:00
Julien Cristau
3a2e2d9ef8
cirrus 1.5.3
...
Signed-off-by: Julien Cristau <jcristau@debian.org >
xf86-video-cirrus-1.5.3
2015-05-06 22:46:51 +02:00
Dave Airlie
df389885ad
cirrus: don't use pciTag
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2014-09-20 18:51:17 +10:00
Alan Coopersmith
f0d278b48a
Skip building xaa files when XAA is not supported
...
No point building & linking empty *.o files into the drivers.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
2013-11-22 22:00:33 -08:00
Colin Walters
6504929481
autogen.sh: Implement GNOME Build API
...
http://people.gnome.org/~walters/docs/build-api.txt
Signed-off-by: Adam Jackson <ajax@redhat.com >
2013-01-16 13:18:27 -05:00
Adam Jackson
0313bab7f1
configure: Drop AM_MAINTAINER_MODE
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2013-01-16 13:18:23 -05:00
Maarten Lankhorst
e2bf5b2556
cirrus: release 1.5.2
xf86-video-cirrus-1.5.2
2013-01-08 11:04:38 +01:00