summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
4 daysuse XNFrealloc() instead of xnfreallocHEADmasterEnrico Weigelt, metux IT consult1-2/+2
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>
6 daysuse XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult2-6/+6
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 Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07AlpOffscreenAccelInit: Use c99 designated struct initializerAlan Coopersmith1-5/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07Variable scope reductions as suggested by cppcheckAlan Coopersmith3-63/+58
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07GetAccelPitchValues: mark accelWidths as constAlan Coopersmith1-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>
2023-02-25Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith1-1/+1
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 Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-10xf86-video-cirrus 1.6.0xf86-video-cirrus-1.6.0Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith10-16/+16
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-08-02Save and restore RIF Control and RAC Control registersKevin Brace2-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>
2019-07-30Stop accessing SR12 and SR13Kevin Brace2-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>
2019-07-20Declare an I2C bus name string as a static type for alp_i2c.cKevin Brace1-2/+7
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-07-20Declare an I2C bus name string as a static type for lg_i2c.cKevin Brace1-2/+7
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-06Fix indentation of lg_i2c.cKevin Brace1-2/+6
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-02Tab to spaces conversion for lg_i2c.cKevin Brace1-52/+56
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17Activate I2C bus for Laguna based devicesKevin Brace1-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>
2019-04-17Check for a successful transmission of EDID for Laguna I2C bus codeKevin Brace1-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>
2019-04-17Fix for Laguna I2C bus code compilation errorKevin Brace1-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>
2019-04-17Make adjustments to code comments of lg_driver.cKevin Brace1-101/+97
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17Fix indentation of lg_driver.cKevin Brace1-474/+977
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-17Tab to spaces conversion for lg_driver.cKevin Brace1-1374/+1338
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-11Eliminate pointer arithmetic compilation warningsKevin Brace1-2/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-04-11Tab to spaces conversion for cir.hKevin Brace1-46/+46
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-20Fix for a compilation error when compiling XAA related filesKevin Brace1-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>
2018-12-25Suppress unused label compilation warningKevin Brace1-0/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25Use const char for xf86GetOptValString return typeKevin Brace2-2/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25Eliminate unused variable compilation warningKevin Brace1-4/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-11-25Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith3-25/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-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>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-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>
2016-12-08alpine: Default to 16bppAdam Jackson1-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>
2016-04-27Don't build split alpine and laguna supportAdam Jackson2-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>
2016-04-27Remove (almost) no-op setup functionsAdam Jackson2-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>
2016-04-27Use 16bpp when running in virt and on XenSource gfxFrederic Crozat1-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>
2016-04-27Disable "acceleration" under qemuStefan Dirsch1-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>
2015-05-06cirrus 1.5.3xf86-video-cirrus-1.5.3Julien Cristau1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-09-20cirrus: don't use pciTagDave Airlie3-0/+6
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-11-22Skip building xaa files when XAA is not supportedAlan Coopersmith1-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>
2013-01-16autogen.sh: Implement GNOME Build APIColin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-16configure: Drop AM_MAINTAINER_MODEAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-08cirrus: release 1.5.2xf86-video-cirrus-1.5.2Maarten Lankhorst1-1/+1
2013-01-08cirrus: fix out of bounds access to shadowfbMaarten Lankhorst1-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>
2012-09-25Remove mibstore.hAdam Jackson2-10/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-08-21cirrus: fix build against old serverDave Airlie1-0/+4
Reported-by: jobermayer on irc Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-08-20cirrus: fix falling back after kernel checkDave Airlie1-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>