summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
6 daysuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult1-2/+2
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-ast/-/merge_requests/8>
2024-01-05Handle a -Wformat warningAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05Handle 2 -Wdeclaration-after-statement warningsAlan Coopersmith1-6/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05Handle 12 -Wmissing-prototypes warningsAlan Coopersmith1-12/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-2/+1
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 Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08xf86-video-ast 1.1.6xf86-video-ast-1.1.6Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-18Res1280x800Table: Fix a typo on hexa value.Elyes HAOUAS1-1/+1
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'Connor1-4/+20
Based on Linux DRM https://patchwork.kernel.org/patch/9578793/
2022-10-17ast_vgatool: Fix indentation in ASTGetScratchOptions()Alan Coopersmith1-14/+14
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17ast_vgatool: Fix -Wold-style-declaration warningAlan Coopersmith1-1/+1
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 Coopersmith1-0/+2
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 Coopersmith2-2/+2
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 Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17Fix spelling/wording issuesAlan Coopersmith3-5/+5
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.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-20/+20
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>
2015-08-19Bump Version to 1.1.5xf86-video-ast-1.1.5Y.C. Chen1-1/+1
2015-08-14Support AST2500Y.C. Chen7-45/+627
2015-08-14Fixed Failed to Init when ASPEED Graphics is SecondaryY.C. Chen1-9/+9
2015-08-13Fixed Transient Noise While System Resume from HibernateY.C. Chen1-0/+3
2015-08-13use same search mode criteria with ast drm driverY.C. Chen2-27/+40
2014-08-18Use proper type.Thomas Klausner1-1/+1
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. Chen1-1/+1
2014-08-08Update DP501FW CodeY.C. Chen2-1907/+1969
2014-08-08 Fixed 1600x900 cannot display properlyY.C. Chen2-36/+44
2014-04-30Add _AST_H_ define to ast.hEgbert Eich1-0/+6
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 Eich4-3303/+3330
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 Eich1-1/+5
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 Eich1-3/+3
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 Eich7-5/+11
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 Eich3-12/+5
- 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 Eich3-7/+7
- 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 Eich3-51/+50
- 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 Eich4-11/+9
- 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 Eich6-80/+68
- 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 Eich4-135/+107
- 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 Eich1-163/+0
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 Eich1-1/+8
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 Eich2-12/+12
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 Eich7-7/+0
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. Chen1-1/+1