In function ‘vSetStdReg’,
inlined from ‘ASTSetMode’ at ast_mode.c:522:9:
ast_mode.c:724:10: warning: ‘vgamodeinfo.pStdTableEntry’ may be used
uninitialized [-Wmaybe-uninitialized]
724 | jReg = pStdModePtr->MISC;
| ~~~~~^~~~~~~~~~~~~~~~~~~
ast_mode.c: In function ‘ASTSetMode’:
ast_mode.c:496:21: note: ‘vgamodeinfo.pStdTableEntry’ was declared here
496 | VBIOS_MODE_INFO vgamodeinfo;
| ^~~~~~~~~~~
In function ‘vSetCRTCReg’,
inlined from ‘ASTSetMode’ at ast_mode.c:523:9:
ast_mode.c:780:70: warning: ‘vgamodeinfo.pEnhTableEntry’ may be used
uninitialized [-Wmaybe-uninitialized]
780 | if ((pAST->jChipType == AST2500) && (pVGAModeInfo->pEnhTableEntry->Flags & AST2500PreCatchCRT))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ast_mode.c: In function ‘ASTSetMode’:
ast_mode.c:496:21: note: ‘vgamodeinfo.pEnhTableEntry’ was declared here
496 | VBIOS_MODE_INFO vgamodeinfo;
| ^~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
ast_mode.c: In function ‘bGetAST1000VGAModeInfo’:
ast_mode.c:647:9: warning: this ‘if’ clause does not guard...
[-Wmisleading-indentation]
647 | if (loop->ulRefreshRate <= ulRefreshRate
| ^~
ast_mode.c:650:25: note: ...this statement, but the latter is
misleadingly indented as if it were guarded by the ‘if’
650 | loop++;
| ^~~~
Fixes: 77e7ac3 ("use same search mode criteria with ast drm driver")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
ast_vgatool.c: In function ‘CBRTest_AST2150’:
ast_vgatool.c:1273:10: warning: variable ‘mmiobase’ set but not used
[-Wunused-but-set-variable]
1273 | UCHAR *mmiobase;
| ^~~~~~~~
ast_vgatool.c: In function ‘CBRTest’:
ast_vgatool.c:1755:10: warning: variable ‘mmiobase’ set but not used
[-Wunused-but-set-variable]
1755 | UCHAR *mmiobase;
| ^~~~~~~~
ast_vgatool.c: In function ‘CBRTest2’:
ast_vgatool.c:1803:10: warning: variable ‘mmiobase’ set but not used
[-Wunused-but-set-variable]
1803 | UCHAR *mmiobase;
| ^~~~~~~~
Fixes: 666abcb ("xf86-video-ast-0.93.09")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.
Signed-off-by: b-aaz <b-aazbsd.proton.me>
This pipeline builds the driver against the latest Xserver stable
release as well as current master.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Add the following forms for issue creation:
* Bug report
* Feature request
* Code change
* Documentation update
* Organizational task
* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate
Part-of: X11Libre/misc#156
Signed-off-by: callmetango <callmetango@users.noreply.github.com>
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>
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>
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>
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>