summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-05Handle a -Wformat warningAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05Handle 2 -Wdeclaration-after-statement warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05Handle 12 -Wmissing-prototypes warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-01gitlab CI: ensure libtool is installed in build containerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08xf86-video-ast 1.1.6Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-18Res1280x800Table: Fix a typo on hexa value.Elyes HAOUAS
Replace "... AST2500PreCatchCRT), 60, 2, 35 }" with "... AST2500PreCatchCRT), 60, 2, 0x35 }"
2022-11-10Do not hang if P2A is disabled, using sensible defaults instead.Daniel O'Connor
Based on Linux DRM https://patchwork.kernel.org/patch/9578793/
2022-10-17ast_vgatool: Fix indentation in ASTGetScratchOptions()Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17ast_vgatool: Fix -Wold-style-declaration warningAlan Coopersmith
ast_vgatool.c:3400:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] void static vGetDefaultSettings(ScrnInfoPtr pScrn) ^~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17ast_mode: Eliminate unused DAC_TEXT & DAC_EGA arraysAlan Coopersmith
At top level: ast_mode.c:389:23: warning: ‘DAC_EGA’ defined but not used [-Wunused-variable] static VBIOS_DAC_INFO DAC_EGA[] = { ^~~~~~~ ast_mode.c:370:23: warning: ‘DAC_TEXT’ defined but not used [-Wunused-variable] static VBIOS_DAC_INFO DAC_TEXT[] = { ^~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17WriteAST1180SOC: Add _X_UNUSED attribute to temp variableAlan Coopersmith
Clears 67 out of 84 warnings of the form: In file included from ast_cursor.c:53:0: ast_cursor.c: In function ‘ASTLoadCursorImage’: ast_vgatool.h:149:15: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable] ULONG temp; \ ^ ast_cursor.c:293:9: note: in expansion of macro ‘WriteAST1180SOC’ WriteAST1180SOC(AST1180_GFX_BASE+AST1180_HWC1_PATTERNADDR, ulPatternAddr); ^~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17Fix 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-17Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.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>
2017-01-26autogen.sh: Implement GNOME Build APIColin Walters
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-01-26configure: Drop AM_MAINTAINER_MODEPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-08-19Bump Version to 1.1.5xf86-video-ast-1.1.5Y.C. Chen
2015-08-14Support AST2500Y.C. Chen
2015-08-14Fixed Failed to Init when ASPEED Graphics is SecondaryY.C. Chen
2015-08-13Fixed Transient Noise While System Resume from HibernateY.C. Chen
2015-08-13use same search mode criteria with ast drm driverY.C. Chen
2014-08-18Use proper type.Thomas Klausner
Two other places in this file already use uint32_t when passing it to PCI_READ_LONG. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2014-08-08Bump Version to 1.0.1xf86-video-ast-1.0.1Y.C. Chen
2014-08-08Update DP501FW CodeY.C. Chen
2014-08-08 Fixed 1600x900 cannot display properlyY.C. Chen
2014-04-30Add _AST_H_ define to ast.hEgbert Eich
Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Move firmware for DP501 to a separate fileEgbert Eich
This makes ast_vgatools.c much more readable. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Fix ABI version conflict in xf86UnclaimPciSlot()Egbert Eich
xf86UnclaimPciSlot() received a GDevPtr as 2nd argument with ABI_VIDEODRV_VERSION 13. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Fix typoEgbert Eich
Chontel -> Chrontel Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Include local headers only when neededEgbert Eich
Move inclusion of local headers from ast.h to the individual files. Include only those headers which are needed. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Clean up namespace in ast_tool.cEgbert Eich
- Made sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Placed declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Clean up namespace in ast_accel.cEgbert Eich
- Made sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Placed declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Clean up namespace in ast_mode.cEgbert Eich
- Make local functions static This sometimes helps the compiler to optimize. - Made sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Placed declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Clean up namespace in ast_cursor.cEgbert Eich
- Make sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Place declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Clean up namespace in ast_2dtool.cEgbert Eich
- Make local functions static This sometimes helps the compiler to optimize. - Make sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Place declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Clean up namespace in ast_vgatools.cEgbert Eich
- Make local functions static This sometimes helps the compiler to optimize. - Make sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Place declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Remove unused functions from ast_vgatools.cEgbert Eich
SetI2CReg(), GetI2CReg() wait_fw_ready(), read_data() and clear_cmd() are used nowhere currently. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Fix compiler warnings: add DrawablePtr argument to ASTPutImageEgbert Eich
An archaeological survey revealed that this ABI change took place in 2006 already. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Fix compiler warnings: get rid of deprecated IOADDRESSEgbert Eich
For newer ABI versions IOADDRESS can be replaced by int which is big enough to hold an PIO offset. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30Fix compiler warnings: get rid if xf86PciInfo.hEgbert Eich
xf86PciInfo.h is not needed in the ASpeed driver at all. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-03-19Bump version to 0.99.9xf86-video-ast-0.99.9Y.C. Chen
2014-03-19Support DP501 Display OutputY.C. Chen