Commit Graph

160 Commits

Author SHA1 Message Date
Kevin Brace
7d9a0594a0 Version bumped to 1.4.0
Bug fix release to address non-HiQVideo Chips & Technologies device
initialization code crashing the X Server.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
xf86-video-chips-1.4.0
2019-02-15 15:39:38 -08:00
Kevin Brace
c5e70111d6 Fix for a faulty new vgaHW ABI conversion on non-HiQ Video devices
Unfortunately, commit 989cf4f1fb
missed inserting a call to vgaHWSetStdFuncs prior to calling
vgaHWGetIOBase for non-HiQ Video devices, so this will cause a crash
with the X Server.  The code has three different chipsPreInit* to
handle some aspects of a PreInit callback, but only chipsPreInitHiQV
function has the correct code.  Added the call to vgaHWSetStdFuncs
for chipsPreInit655xx and chipsPreInitWingine functions.  This bug
was observed on Chips & Technologies 65548.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-12 15:47:07 -08:00
Kevin Brace
18c04e66a1 Version bumped to 1.3.0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
xf86-video-chips-1.3.0
2018-12-25 08:24:18 -06:00
Kevin Brace
a6b3a9c41c Suppress logical operation and parenthesis related compilation warning
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25 08:11:14 -06:00
Kevin Brace
b20817b3a5 Use const char for xf86GetOptValString return type
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25 08:10:08 -06:00
Alan Coopersmith
6ee25959a6 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 13:07:21 -08:00
Mihail Konev
c2711eedaa autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26 14:00:22 +10:00
Emil Velikov
8413ac7c58 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
abd452ae55 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:23:46 +10:00
Alan Coopersmith
ebb8922c43 autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26 11:16:37 +10:00
Alan Coopersmith
32be6e8e6c configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26 11:16:37 +10:00
Matt Turner
fbda230cbc xf86-video-chips 1.2.7
Signed-off-by: Matt Turner <mattst88@gmail.com>
xf86-video-chips-1.2.7
2017-01-17 14:38:03 -08:00
Adam Jackson
aa82ecb140 Adapt Block/WakeupHandler signature for ABI 23
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-07-19 10:17:13 -04:00
Matt Turner
c54ddcf722 xf86-video-chips 1.2.6
Signed-off-by: Matt Turner <mattst88@gmail.com>
xf86-video-chips-1.2.6
2015-09-26 09:30:48 -07:00
Adam Jackson
9187d76bd4 Update for xserver 1.17
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-10-17 09:49:26 -04:00
Adam Jackson
bb03c06322 ddc: Use own thunk function instead of vgaHWddc1SetSpeedWeak
I plan to remove the Weak functions from future servers.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-21 09:38:35 -04:00
Alan Coopersmith
2dd89243cc Require ANSI C89 pre-processor, drop pre-C89 token pasting support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-06-24 22:37:38 -07:00
Adam Jackson
151a1ec855 Remove mibstore.h
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-25 08:54:34 -04:00
Alan Coopersmith
bde65934fe Add iopl.h to source lists in util/Makefile.am so it gets packaged
Was missed when it was created in commit c421f2477c, since
"make distcheck" passes due to configure determining it can't
build the utils without the header and moving on.

Reported-by: Andreas Radke <a.radke@arcor.de>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-21 09:27:10 -07:00
Dave Airlie
bce7917e2e xf86-video-chips: bump to version 1.2.5
Signed-off-by: Dave Airlie <airlied@redhat.com>
xf86-video-chips-1.2.5
2012-07-17 16:05:09 +10:00
Dave Airlie
ffbe4a08d0 chips: fix make dist.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17 15:24:04 +10:00
Dave Airlie
b3a6933357 chips: build without XAA support at all.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16 04:39:40 +01:00
Dave Airlie
a912214b47 chips: drop usage of deprecated xf86PciInfo.h
Just takes the pci ids chips needs into the driver.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05 19:09:05 +01:00
Dave Airlie
93f4ceaa28 chips: move to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05 19:05:43 +01:00
Dave Airlie
2d23302d82 chips: use new scrn/screen conversion APIs.
Generated by util/modular/x-driver-screen-scrn-conv.sh

Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05 18:41:10 +01:00
Dave Airlie
846257efe8 chips: add compat API header 2012-06-05 18:40:48 +01:00
Adam Jackson
989cf4f1fb Fix for new vgaHW ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19 17:45:41 -05:00
Adam Jackson
5d57535516 Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19 16:18:34 -05:00
Jeremy Huddleston
8a5ea07f30 Build fix for ABI Version 12
ABI Version 12 removes support for multiple PCI domains.  If you need to
use this driver on a system with more than one PCI domain, you should
either port this driver to using libpciaccess directly or stick with an
older server.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-18 23:51:11 -07:00
Jeremy Huddleston
c421f2477c Fix implicit declaration of iopl
warning: implicit declaration of function ‘iopl’ [-Wimplicit-function-declaration]

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-18 23:09:09 -07:00
Jeremy Huddleston
94a8b34528 util: Consolidate common macros
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-18 23:04:32 -07:00
Jeremy Huddleston
f5191838b7 configure.ac: Remove AM_PROG_CC_C_O
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-18 22:37:00 -07:00
Jeremy Huddleston
7ca1840f39 Use malloc/calloc/realloc/free directly
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-18 22:24:54 -07:00
Mark Kettenis
5f8a732012 PciTag is unused when using libpciaccess
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-10-02 14:30:44 +02:00
Dave Airlie
e4bd864898 chips: gut the overlay 8/16 support from driver.
This driver is for chips that were bought by Intel in 1997,
this feature means maintaining a lot of code in the X server
for little gain.

Drop it like its hot.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-03-31 13:12:46 +10:00
Julien Cristau
314b727303 Bump to 1.2.4 xf86-video-chips-1.2.4 2011-02-27 17:12:48 +01:00
Julien Cristau
25c21f7c47 Replace deprecated xalloc/xrealloc/xfree with malloc/realloc/free
Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27 17:00:25 +01:00
Julien Cristau
a7b607ed72 Fix compiler warning
src/ct_driver.c:160: warning: ‘chipsFindIsaDevice’ declared ‘static’ but never defined

Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27 17:00:25 +01:00
Julien Cristau
3901322baf Fix unused variable warning
src/ct_driver.c: In function ‘CHIPSScreenInit’:
src/ct_driver.c:3920: warning: unused variable ‘racflag’

Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27 17:00:24 +01:00
Julien Cristau
c409e21314 Fix compiler warning on 64bit
src/ct_driver.c: In function ‘chipsPreInitHiQV’:
src/ct_driver.c:1598: warning: format ‘%lX’ expects type ‘long unsigned int’, but argument 4 has type ‘CARD32’

Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27 17:00:24 +01:00
Julien Cristau
c4d03c11f8 Add parentheses to fix compiler warnings
src/ct_ddc.c: In function ‘chips_ddc1Read’:
src/ct_ddc.c:34: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’

src/ct_dga.c: In function ‘CHIPS_SetViewport’:
src/ct_dga.c:243: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’

src/ct_driver.c: In function ‘chipsTestDACComp’:
src/ct_driver.c:7490: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’

Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27 16:59:32 +01:00
Adam Jackson
5830fed3eb Import the xf8_16bpp implementation
This is trivial, just do it directly.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-11-22 16:39:21 -05:00
Jesse Adkins
02b3264149 Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06 20:42:15 -07:00
Gaetan Nadon
8e957e501d config: add AM_PROG_CC_C_O for per-target compilation flags
The use of per-target compilation flags with C sources requires
that the macro AM_PROG_CC_C_O be called from configure.ac

If the C compiler does not accept the -c and -o options simultaneously,
define NO_MINUS_C_MINUS_O. This macro actually tests both the compiler
found by AC_PROG_CC, and, if different, the first cc in the path.
The test fails if one fails. This macro was created for GNU Make
to choose the default C compilation rule.

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-23 20:52:17 -04:00
Alan Coopersmith
5665714d0d xf86-video-chips 1.2.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-chips-1.2.3
2010-07-23 11:33:37 -07:00
Gaetan Nadon
a9c2df54a4 config: add comments for main statements 2010-07-21 20:12:43 -04:00
Gaetan Nadon
0e225c6674 config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 16:07:00 -04:00
Gaetan Nadon
02d4b3da8d config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:37:41 -04:00
Gaetan Nadon
7c22a9399d config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:05:22 -04:00
Gaetan Nadon
95f26913d1 config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 09:27:42 -04:00