Thomas Klausner
bc47059283
Add prototype for bGetEDID.
...
Fixes
warning: implicit declaration of function 'bGetEDID'
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
Reviewed-by: Connor Behan <connor.behan@gmail.com >
2015-08-10 23:41:56 +02:00
Thomas Klausner
4719b89548
Use correct variable type.
...
Fixes
warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
Reviewed-by: Connor Behan <connor.behan@gmail.com >
2015-08-10 23:41:53 +02:00
Thomas Klausner
d97ab5991b
Remove const marker for some variables.
...
They are used in non-const context. Fixes a couple of warnings:
warning: assignment discards 'const' qualifier from pointer target type
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
Reviewed-by: Connor Behan <connor.behan@gmail.com >
2015-08-10 23:41:51 +02:00
Thomas Klausner
7edfe7de41
Use correct type for variable.
...
Fixes many warnings of this type:
xgi.h:1016:14: note: expected 'XGIIOADDRESS' but argument is of type 'PUCHAR'
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
Reviewed-by: Connor Behan <connor.behan@gmail.com >
2015-08-10 23:41:48 +02:00
Thomas Klausner
a6fd697bbf
Stop using obsolete header file.
...
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
Reviewed-by: Connor Behan <connor.behan@gmail.com >
2015-08-10 23:41:46 +02:00
Thomas Klausner
c1b89865b6
Avoid redefinitions of u8, uint8_t, and GETBITS.
...
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
Reviewed-by: Connor Behan <connor.behan@gmail.com >
2015-08-10 23:41:39 +02:00
Adam Jackson
5a3e0de677
Remove call to miInitializeBackingStore to make the driver load again
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2014-09-11 10:38:45 -04:00
Egbert Eich
e26231b128
Remove mibstore.h to make driver build again
...
Signed-off-by: Egbert Eich <eich@freedesktop.org >
2013-08-14 13:12:35 +02:00
Egbert Eich
14eb17b8d5
Don't confuse editor and make function more readable
...
Don't use #if ... #endif intermixed with bracketing.
Signed-off-by: Egbert Eich <eich@freedesktop.org >
2013-07-29 12:39:01 +02:00
Adam Jackson
d963d20a7f
ddc: Fix uncredible fail in calling xf86UnloadSubModule
...
xf86UnloadSubModule() takes a ModuleDescPtr, though you wouldn't know it
from the prototype; it most certainly does not take a string. Also, ddc
has been a built-in module since RANDR 1.2 or so, so this call would
have been a no-op even if it were correct.
Signed-off-by: Adam Jackson <ajax@redhat.com >
2013-01-18 13:23:17 -05:00
Adam Jackson
24a3b87317
i2c: Don't scream on literally every single write to SCL or SDA
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2013-01-18 13:01:12 -05:00
Adam Jackson
f1c485513c
Fix XGIValidMode for 1.13 API
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2013-01-08 10:12:59 -05:00
Dave Airlie
be3abf8570
xgi: build against non-piooffset vgahw
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-08-07 09:18:23 +10:00
Dave Airlie
5cebdabdaa
xgi: convert to new server compat API
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-08-07 09:18:12 +10:00
Dave Airlie
eaaf5dd373
xgi: fix for XAA removal
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-08-07 09:17:57 +10:00
Johannes Obermayr
40f5514ca7
Fix warning: control reaches end of non-void function.
...
[Tormod: Remove unnecessary else and fix spelling in messages]
Signed-off-by: Tormod Volden <debian.tormod@gmail.com >
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com >
2012-01-13 22:47:04 +01:00
Adam Jackson
67a628afd1
Fall back to shadowfb if XAA is unavailable
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-12-19 17:42:06 -05:00
Adam Jackson
c348d847a3
Fix for new vgaHW ABI
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-12-19 17:41:24 -05:00
Stefan Dirsch
28a36e33ac
(xf86)LoaderReqSymLists is not longer supported/required.
...
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com >
2011-11-01 13:36:03 -07:00
Stefan Dirsch
3b24a2eef9
Fix some serious compiler warnings.
...
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com >
2011-11-01 13:35:42 -07:00
Jeremy Huddleston
b9db7661e6
Use unsigned long rather than deprecated IOADDRESS
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com >
2011-10-30 11:28:27 -07:00
Jeremy Huddleston
2fe2684818
Use malloc/calloc/realloc/free directly
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com >
2011-10-29 20:15:13 -07:00
Adam Jackson
21cfd0d446
Fix bAccessVGAPCIInfo to read when you tell it to
...
I have no idea how this worked at all before. Probably it didn't.
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-08-05 11:24:33 -04:00
Adam Jackson
6bf14b432c
s/\<alloc\>/malloc/g
...
ac3d39b1 apparently thought that just chopping off the initial 'x' was
okay. Nope!
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-08-05 11:19:45 -04:00
Adam Jackson
28c9a066e2
Don't include xf86Priv.h
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-06-22 17:00:34 -04:00
Jeremy Huddleston
d0ac7e713f
Include <unistd.h> for usleep(3)
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com >
2011-03-27 15:21:51 -07:00
Jeremy Huddleston
2195d1cf69
BuildFix for big endian machines (fixes incorrect macro in previous commit).
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com >
2011-03-27 15:17:04 -07:00
Adam Jackson
82b83468d0
Fix build on bigendian
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-03-25 18:55:27 -04:00
Trevor Woerner
ac3d39b14d
Convert x+m/calloc/free to m/calloc/free.
...
Replace calls to deprecated dynamic memory wrapper functions
in driver code.
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net >
Signed-off-by: Trevor Woerner <twoerner@gmail.com >
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-10-24 09:52:49 -04:00
Jesse Adkins
089e8da891
Purge cvs tags.
...
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com >
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2010-10-06 20:52:01 -07:00
Adam Jackson
2968f0a025
xf86-video-xgi 1.6.0
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
xf86-video-xgi-1.6.0
2010-08-10 11:06:25 -04:00
Trevor Woerner
9f69eadd3a
Modify search for drm include.
...
The build system already includes the location of the drm header
file (using -I) so the source doesn't need to hard-code the
relative path.
Reviewed-by: Gaetan Nadon <memsize@videotron.ca >
Signed-off-by: Trevor Woerner <twoerner@gmail.com >
2010-08-07 19:25:45 -04:00
Gaetan Nadon
313ccbd83a
config: add comments for main statements
2010-07-22 20:24:42 -04:00
Gaetan Nadon
9cbc4ed4b4
config: add comments for main statements
2010-07-21 20:12:43 -04:00
Gaetan Nadon
1038df3fac
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
dbbfc8de30
config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
...
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-21 14:37:42 -04:00
Gaetan Nadon
76a11f3715
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
...
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-21 14:05:23 -04:00
Gaetan Nadon
b59697b78c
config: complete AC_INIT m4 quoting
...
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-21 09:27:42 -04:00
Gaetan Nadon
b3a97ac2f7
config: remove unrequired AC_SUBST([DRI_CFLAGS])
...
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-20 21:54:12 -04:00
Gaetan Nadon
bbe1bcd32a
config: remove unrequired AC_SUBST([XORG_CFLAGS])
...
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-20 21:44:58 -04:00
Gaetan Nadon
c5bd3024ed
config: remove unrequired AC_HEADER_STDC
...
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-20 20:24:42 -04:00
Gaetan Nadon
511f04802f
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
...
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-20 19:41:31 -04:00
Gaetan Nadon
5ecf1285f4
config: update AC_PREREQ statement to 2.60
...
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-20 18:45:19 -04:00
Gaetan Nadon
60c9b466f8
config: upgrade to util-macros 1.8 for additional man page support
...
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
2010-07-20 17:38:00 -04:00
Fernando Carrijo
98cff06e16
Purge macro NEED_REPLIES
...
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br >
Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com >
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2010-07-09 20:56:14 -07:00
Chris Ball
d8af97e260
xgi: Compile fix: XSERVER_LIBPCIACCESS guards
2010-06-26 20:52:43 -04:00
Chris Ball
9f688a692e
xgi: Compile fix: f2b97df.. incorrectly removed micmap.h instead of mibank.h
2010-06-26 20:52:42 -04:00
Chris Ball
edc7a40ed2
xgi: Compile fix: guard XF86_VERSION_CURRENT with ifdef
2010-06-26 20:52:42 -04:00
xgi0007
f2b97df11d
XGI: Remove mibank.h reference
2010-06-23 11:14:54 +08:00
xgi0007
b8e0da9399
XGI: Fixed compile issues for current version of xorg-xserver
2010-06-23 11:08:33 +08:00