summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
6 daysuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult3-8/+8
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-siliconmotion/-/merge_requests/5>
2023-09-27xf86-video-siliconmotion 1.7.10xf86-video-siliconmotion-1.7.10Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-09-26gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
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>
2022-12-15Replace malloc()+memset() with calloc()Alan Coopersmith1-8/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-15Replace malloc()+snprintf() with Xasprintf()Alan Coopersmith1-5/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-15Quiet -Wempty-body warningAlan Coopersmith1-1/+3
smi_video.c: In function ‘SetAttrSAA7111’: smi_video.c:802:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] if ((j&7) == 7) DEBUG("\n"); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-15constify some char * declarationsAlan Coopersmith1-7/+9
Clears 6 of 17 -Wdiscarded-qualifiers warnings from gcc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-28gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-28Fix spelling/wording issuesAlan Coopersmith7-16/+16
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-28Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07Update 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-26/+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>
2017-01-26autogen.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>
2017-01-26configure: Drop AM_MAINTAINER_MODEPeter Hutterer2-2/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-17xf86-video-siliconmotion 1.7.9xf86-video-siliconmotion-1.7.9Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2016-07-19Adapt Block/WakeupHandler signature for ABI 23Adam Jackson1-0/+5
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-09-30Use X11/Xarch.h for endian detection.Thomas Klausner3-10/+11
Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-23Check for drawables before compositingConnor Behan1-0/+4
This should prevent a crash when something like Cairo tries to composite a solid picture. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-05-09Bump to 1.7.8xf86-video-siliconmotion-1.7.8Julien Cristau1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-05-09Fix a couple const-ness warningsJulien Cristau3-3/+3
smi_accel.c: In function 'SMI_GEReset': smi_accel.c:51:1: warning: passing argument 4 of 'SMI_GEReset' discards 'const' qualifier from pointer target type WaitIdle(); ^ smi_accel.c:38:1: note: expected 'char *' but argument is of type 'const char *' SMI_GEReset(ScrnInfoPtr pScrn, int from_timeout, int line, char *file) ^ [...] smi_driver.c: In function 'SMI_DetectPanelSize': smi_driver.c:1011:12: warning: assignment discards 'const' qualifier from pointer target type if ((s = xf86GetOptValString(pSmi->Options, OPTION_PANEL_SIZE)) != NULL) { ^ Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-05-09Fix SwitchMode and AdjustFrame hooksJulien Cristau2-6/+7
smi_driver.c: In function 'SMI_Probe': smi_driver.c:360:24: warning: assignment from incompatible pointer type pScrn->SwitchMode = SMI_SwitchMode; ^ smi_driver.c:361:24: warning: assignment from incompatible pointer type pScrn->AdjustFrame = SMI_AdjustFrame; ^ Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-05-08Fix BlockHandler declarationJulien Cristau1-2/+1
smi_video.c: In function 'SMI_SetupVideo': smi_video.c:940:24: warning: assignment from incompatible pointer type pSmi->BlockHandler = pScreen->BlockHandler; ^ Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-05-08Fix shadow compiler warningJulien Cristau1-4/+4
smi_video.c: In function 'SetAttrSAA7111': smi_video.c:795:6: warning: declaration of 'i' shadows a parameter [-Wshadow] int i; ^ smi_video.c:723:39: warning: shadowed declaration is here [-Wshadow] SetAttrSAA7111(ScrnInfoPtr pScrn, int i, int value) ^ Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-09-30Remove dependency on xf86PciInfo.hAdam Jackson2-2/+9
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-09-30Fix a typoAdam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-09-30Fix build against xserver 1.17Adam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-21Use own thunk function instead of vgaHW*WeakAdam Jackson1-1/+7
I plan to remove the Weak functions from a future server. Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-09Remove miInitializeBackingStore()Adam Jackson1-2/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17xf86-video-siliconmotion: bump to version 1.7.7xf86-video-siliconmotion-1.7.7Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17smi: convert to new X server screen conversion apis.Dave Airlie4-17/+17
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17smi: port to compat-api for new server.Dave Airlie6-30/+125
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17smi: fix build against XAA-less serverDave Airlie4-0/+34
2012-03-23xf86-video-siliconmotion 1.7.6xf86-video-siliconmotion-1.7.6Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-02-09Add &component=Driver/siliconmotion to Bugzilla linkMatt Turner2-2/+2
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-02-09Don't check for randrproto or renderprotoMatt Turner1-2/+0
The driver supports neither randr or render. Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-12-19Fix for new vgaHW ABIAdam Jackson1-0/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Make failure to XAA non-fatalAdam Jackson1-2/+2
No shadowfb support in this driver yet. Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-17Check ABI major not encoded ABIAdam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16Adapt to missing PIOOffset in videoabi 12Adam Jackson1-0/+4
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-02-27Bump to 1.7.5xf86-video-siliconmotion-1.7.5Julien Cristau1-1/+1
2011-02-27Replace calls to xalloc/xcalloc/xfree with malloc/calloc/freeJulien Cristau4-37/+35
Also don't check for NULL before calling free(). Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27Fix compiler warning on 64bitJulien Cristau1-1/+1
src/smi_driver.c: In function ‘SMI_MapMem’: src/smi_driver.c:1498: warning: format ‘%08lX’ expects type ‘long unsigned int’, but argument 6 has type ‘CARD32’ Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27Fix build with xserver 1.10Julien Cristau2-0/+4
ScrnInfo->pixmapPrivate is gone Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-22config: add comments for main statementsGaetan Nadon1-5/+6