190 Commits

Author SHA1 Message Date
Alan Coopersmith
6558ea686d gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-01 12:35:27 -07:00
Alan Coopersmith
7b8c415f42 xf86-video-ast 1.1.6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-ast-1.1.6
2022-12-08 16:13:56 -08:00
Elyes HAOUAS
4bcb826087 Res1280x800Table: Fix a typo on hexa value.
Replace "... AST2500PreCatchCRT), 60, 2, 35 }"
with "... AST2500PreCatchCRT), 60, 2, 0x35 }"
2022-11-18 15:21:09 -08:00
Daniel O'Connor
0e0fd56d9f Do not hang if P2A is disabled, using sensible defaults instead.
Based on Linux DRM https://patchwork.kernel.org/patch/9578793/
2022-11-10 16:43:54 -08:00
Alan Coopersmith
773f703d92 ast_vgatool: Fix indentation in ASTGetScratchOptions()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17 10:53:55 -07:00
Alan Coopersmith
19cf45e2a4 ast_vgatool: Fix -Wold-style-declaration warning
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-17 10:53:55 -07:00
Alan Coopersmith
065ed43c44 ast_mode: Eliminate unused DAC_TEXT & DAC_EGA arrays
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-17 10:53:55 -07:00
Alan Coopersmith
f9dcbd53e7 WriteAST1180SOC: Add _X_UNUSED attribute to temp variable
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-17 10:53:55 -07:00
Alan Coopersmith
8026dbf57d gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17 10:53:55 -07:00
Alan Coopersmith
7916e2a65c gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17 15:25:47 -08:00
Alan Coopersmith
b90cfb94d6 Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17 15:25:05 -08:00
Alan Coopersmith
0b9cdc9594 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17 15:19:50 -08:00
Alan Coopersmith
72e3f2e3e8 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 13:06:17 -08:00
Alan Coopersmith
a87ba3607d Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 12:14:44 -08:00
Mihail Konev
1dba6ba5a7 autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:22 +10:00
Emil Velikov
df8a9c009c autogen.sh: use quoted string variables
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-26 11:26:28 +10:00
Peter Hutterer
1eaafc834a autogen.sh: use exec instead of waiting for configure to finish
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-26 11:25:39 +10:00
Colin Walters
d6253bc124 autogen.sh: Implement GNOME Build API
http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-01-26 11:25:39 +10:00
Peter Hutterer
9dc95d058b configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26 11:21:15 +10:00
Y.C. Chen
39e80895ac Bump Version to 1.1.5 xf86-video-ast-1.1.5 2015-08-19 09:21:37 +08:00
Y.C. Chen
74281c4ce2 Support AST2500 2015-08-14 15:30:00 +08:00
Y.C. Chen
9918d6f69a Fixed Failed to Init when ASPEED Graphics is Secondary 2015-08-14 10:11:23 +08:00
Y.C. Chen
e545ab905e Fixed Transient Noise While System Resume from Hibernate 2015-08-13 15:54:15 +08:00
Y.C. Chen
77e7ac37c6 use same search mode criteria with ast drm driver 2015-08-13 15:21:57 +08:00
Thomas Klausner
4f404aa29e Use proper type.
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-18 15:09:17 +08:00
Y.C. Chen
d531cac475 Bump Version to 1.0.1 xf86-video-ast-1.0.1 2014-08-08 16:51:07 +08:00
Y.C. Chen
85be2b8ecd Update DP501FW Code 2014-08-08 16:36:04 +08:00
Y.C. Chen
d0d76062f7 Fixed 1600x900 cannot display properly 2014-08-08 16:04:22 +08:00
Egbert Eich
9464094601 Add _AST_H_ define to ast.h
Signed-off-by: Egbert Eich <eich@suse.de>
Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30 17:27:38 +02:00
Egbert Eich
364364910d Move firmware for DP501 to a separate file
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-30 17:27:34 +02:00
Egbert Eich
5bdd2cac0b Fix ABI version conflict in xf86UnclaimPciSlot()
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-30 17:27:29 +02:00
Egbert Eich
06245e2283 Fix typo
Chontel -> Chrontel

Signed-off-by: Egbert Eich <eich@suse.de>
Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
2014-04-30 17:27:25 +02:00
Egbert Eich
72a9703ae4 Include local headers only when needed
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-30 17:27:19 +02:00
Egbert Eich
8fb9e10084 Clean up namespace in ast_tool.c
- 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-30 17:27:14 +02:00
Egbert Eich
00fa895306 Clean up namespace in ast_accel.c
- 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-30 17:27:09 +02:00
Egbert Eich
a70eac7e6e Clean up namespace in ast_mode.c
- 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-30 17:27:03 +02:00
Egbert Eich
28f815fe8b Clean up namespace in ast_cursor.c
- 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-30 17:25:35 +02:00
Egbert Eich
f6a2ba02b2 Clean up namespace in ast_2dtool.c
- 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-30 17:25:29 +02:00
Egbert Eich
a833ba0b6c Clean up namespace in ast_vgatools.c
- 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-30 17:25:24 +02:00
Egbert Eich
e87938b319 Remove unused functions from ast_vgatools.c
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-30 17:25:19 +02:00
Egbert Eich
7c7fc069b7 Fix compiler warnings: add DrawablePtr argument to ASTPutImage
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-30 17:25:14 +02:00
Egbert Eich
0ddf408f17 Fix compiler warnings: get rid of deprecated IOADDRESS
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-30 17:25:05 +02:00
Egbert Eich
e855e6806e Fix compiler warnings: get rid if xf86PciInfo.h
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-04-30 17:23:00 +02:00
Y.C. Chen
ed39dc7c3c Bump version to 0.99.9 xf86-video-ast-0.99.9 2014-03-19 09:51:45 +08:00
Y.C. Chen
0bbae30ffc Support DP501 Display Output 2014-03-19 09:48:51 +08:00
Y.C. Chen
b308902b4a Support AST2400 2014-03-19 09:12:26 +08:00
Stefan Dirsch
f4fa79c12c Fixed driver name in error message about KMS active.
Seems some code came from cirrus driver by copy & paste. Fixed
this in error message about device already in use by KMS module.

Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Reviewed-by: Dave Airlie <airlied@redhat.com>
2014-03-18 12:00:12 +01:00
Stefan Dirsch
e54f2fdb7a ast: fix falling back after kernel check
if we find a kernel driver the code leave the pci slot claimed which
stops us falling back. unclaim the pci slot. patch inspired by
correspondant patch for cirrus driver by Dave Airlie.

Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Reviewed-by: Dave Airlie <airlied@redhat.com>
2014-03-18 11:58:39 +01:00
Stefan Dirsch
a40c98a483 Revert "Support AST2400"
This reverts commit 7f24775a46.
2014-03-18 11:56:19 +01:00
Stefan Dirsch
99e07e0341 Revert " Support DP501 Output"
This reverts commit 2a2ecb5517.
2014-03-18 11:56:16 +01:00