summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* AlpOffscreenAccelInit: Use c99 designated struct initializerHEADmasterAlan Coopersmith2023-05-071-5/+6
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Variable scope reductions as suggested by cppcheckAlan Coopersmith2023-05-073-63/+58
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* GetAccelPitchValues: mark accelWidths as constAlan Coopersmith2023-05-071-3/+3
| | | | | | | | | 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>
* Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith2023-02-251-1/+1
| | | | | | Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith2023-02-091-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xf86-video-cirrus 1.6.0xf86-video-cirrus-1.6.0Alan Coopersmith2022-07-101-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-01-221-0/+98
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix spelling/wording issuesAlan Coopersmith2022-01-2210-16/+16
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-01-221-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Save and restore RIF Control and RAC Control registersKevin Brace2019-08-022-0/+10
| | | | | | | | | | 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>
* Stop accessing SR12 and SR13Kevin Brace2019-07-302-8/+0
| | | | | | | | | 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>
* Declare an I2C bus name string as a static type for alp_i2c.cKevin Brace2019-07-201-2/+7
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Declare an I2C bus name string as a static type for lg_i2c.cKevin Brace2019-07-201-2/+7
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Fix indentation of lg_i2c.cKevin Brace2019-05-061-2/+6
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Tab to spaces conversion for lg_i2c.cKevin Brace2019-05-021-52/+56
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Activate I2C bus for Laguna based devicesKevin Brace2019-04-171-5/+1
| | | | | | | 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>
* Check for a successful transmission of EDID for Laguna I2C bus codeKevin Brace2019-04-171-0/+6
| | | | | | | The existing code can potentially cause a null pointer crash if EDID was not obtained successfully. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Fix for Laguna I2C bus code compilation errorKevin Brace2019-04-171-1/+1
| | | | | | | | 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>
* Make adjustments to code comments of lg_driver.cKevin Brace2019-04-171-101/+97
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Fix indentation of lg_driver.cKevin Brace2019-04-171-474/+977
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Tab to spaces conversion for lg_driver.cKevin Brace2019-04-171-1374/+1338
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Eliminate pointer arithmetic compilation warningsKevin Brace2019-04-111-2/+2
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Tab to spaces conversion for cir.hKevin Brace2019-04-111-46/+46
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Fix for a compilation error when compiling XAA related filesKevin Brace2019-02-201-1/+1
| | | | | | | | | 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>
* Suppress unused label compilation warningKevin Brace2018-12-251-0/+2
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Use const char for xf86GetOptValString return typeKevin Brace2018-12-252-2/+2
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Eliminate unused variable compilation warningKevin Brace2018-12-251-4/+1
| | | | Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2018-11-251-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2018-11-183-25/+19
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-261-4/+4
| | | | | | | | | 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>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-261-1/+1
| | | | | | | 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>
* alpine: Default to 16bppAdam Jackson2016-12-081-13/+1
| | | | | | | | 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>
* Don't build split alpine and laguna supportAdam Jackson2016-04-272-59/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Remove (almost) no-op setup functionsAdam Jackson2016-04-272-27/+2
| | | | | | | | | | 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>
* Use 16bpp when running in virt and on XenSource gfxFrederic Crozat2016-04-271-1/+14
| | | | | | | 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>
* Disable "acceleration" under qemuStefan Dirsch2016-04-271-0/+10
| | | | | | | | | | 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>
* cirrus 1.5.3xf86-video-cirrus-1.5.3Julien Cristau2015-05-061-1/+1
| | | | Signed-off-by: Julien Cristau <jcristau@debian.org>
* cirrus: don't use pciTagDave Airlie2014-09-203-0/+6
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>
* Skip building xaa files when XAA is not supportedAlan Coopersmith2013-11-221-2/+8
| | | | | | | 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>
* autogen.sh: Implement GNOME Build APIbaserock/morphColin Walters2013-01-161-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Drop AM_MAINTAINER_MODEAdam Jackson2013-01-161-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* cirrus: release 1.5.2xf86-video-cirrus-1.5.2Maarten Lankhorst2013-01-081-1/+1
|
* cirrus: fix out of bounds access to shadowfbMaarten Lankhorst2013-01-081-137/+180
| | | | | | 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>
* Remove mibstore.hAdam Jackson2012-09-252-10/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* cirrus: fix build against old serverDave Airlie2012-08-211-0/+4
| | | | | Reported-by: jobermayer on irc Signed-off-by: Dave Airlie <airlied@redhat.com>
* cirrus: fix falling back after kernel checkDave Airlie2012-08-201-2/+6
| | | | | | | if we find a kernel driver the code leave the pci slot claimed which stops us falling back. unclaim the pci slot. Signed-off-by: Dave Airlie <airlied@redhat.com>
* xf86-video-cirrus: bump to version 1.5.1xf86-video-cirrus-1.5.1Dave Airlie2012-07-171-1/+1
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>
* cirrus: handle server with no XAADave Airlie2012-07-1310-12/+65
| | | | | | this fixes cirrus to work with a server with no XAA module. Signed-off-by: Dave Airlie <airlied@redhat.com>
* cirrus: bump to 1.5.0 for release.xf86-video-cirrus-1.5.0Dave Airlie2012-07-021-1/+1
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>