summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-02BSD MakefileobsdMatthieu Herrb
2024-05-23drop compat to pre-1.18 xorg-server versionsHEADmasterEnrico Weigelt, metux IT consult
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-13Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)Alan Coopersmith
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-10use XNFrealloc() instead of xnfreallocEnrico Weigelt, metux IT consult
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-08use XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult
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>
2023-10-01gitlab CI: ensure libtool is installed in build containerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07AlpOffscreenAccelInit: Use c99 designated struct initializerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07Variable scope reductions as suggested by cppcheckAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07GetAccelPitchValues: mark accelWidths as constAlan Coopersmith
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-02-25Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-10xf86-video-cirrus 1.6.0xf86-video-cirrus-1.6.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-08-02Save and restore RIF Control and RAC Control registersKevin Brace
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-07-30Stop accessing SR12 and SR13Kevin Brace
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-20Declare an I2C bus name string as a static type for alp_i2c.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-07-20Declare an I2C bus name string as a static type for lg_i2c.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-06Fix indentation of lg_i2c.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-02Tab to spaces conversion for lg_i2c.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17Activate I2C bus for Laguna based devicesKevin Brace
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-17Check for a successful transmission of EDID for Laguna I2C bus codeKevin Brace
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-17Fix for Laguna I2C bus code compilation errorKevin Brace
When commit 9a5e19597be4f5ee4c1030e4a716207789e78668 (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-17Make adjustments to code comments of lg_driver.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17Fix indentation of lg_driver.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17Tab to spaces conversion for lg_driver.cKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-11Eliminate pointer arithmetic compilation warningsKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-11Tab to spaces conversion for cir.hKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-20Fix for a compilation error when compiling XAA related filesKevin Brace
When commit 27f85fc523102f89c3fc1546ae500816ccbffc8a (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>
2018-12-25Suppress unused label compilation warningKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25Use const char for xf86GetOptValString return typeKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25Eliminate unused variable compilation warningKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-11-25Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov
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-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer
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>
2016-12-08alpine: Default to 16bppAdam Jackson
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-04-27Don't build split alpine and laguna supportAdam Jackson
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-27Remove (almost) no-op setup functionsAdam Jackson
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-27Use 16bpp when running in virt and on XenSource gfxFrederic Crozat
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-27Disable "acceleration" under qemuStefan Dirsch
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>
2015-05-06cirrus 1.5.3xf86-video-cirrus-1.5.3Julien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-09-20cirrus: don't use pciTagDave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-11-22Skip building xaa files when XAA is not supportedAlan Coopersmith
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-01-16autogen.sh: Implement GNOME Build APIColin Walters
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-16configure: Drop AM_MAINTAINER_MODEAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-08cirrus: release 1.5.2xf86-video-cirrus-1.5.2Maarten Lankhorst
2013-01-08cirrus: fix out of bounds access to shadowfbMaarten Lankhorst
Perform the same bounds checking other drivers do. Thanks to Dave Gilbert for feedback on this patch. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>