summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
7 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-ark/-/merge_requests/5>
2024-01-17Fix warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]Alan Coopersmith1-3/+3
In file included from ark_driver.c:43: ark_driver.c: In function ‘ARKPreInit’: ark.h:90:23: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow] 90 | unsigned char tmp; \ | ^~~ ark_driver.c:364:9: note: in expansion of macro ‘modinx’ 364 | modinx(PIOOFFSET + 0x3c4, 0x1d, 0x01, 0x01); | ^~~~~~ ark_driver.c:246:23: note: shadowed declaration is here 246 | unsigned char tmp; | ^~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functionsAlan Coopersmith1-0/+5
The Xorg headers provide their own versions of strlcat, strlcpy, and timingsafe_memcmp for platforms that don't have them in libc yet, but rely on configure to set HAVE_* defines to determine if they should be defined in the headers. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17configure: 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:45: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:45: You should run autoupdate. aclocal.m4:3551: AC_PROG_LIBTOOL is expanded from... configure.ac:45: 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>
2023-02-21xf86-video-ark 0.7.6xf86-video-ark-0.7.6Alan Coopersmith2-3/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09gitlab 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-17Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-17Update README for gitlab migrationAlan Coopersmith3-20/+18
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>
2022-01-17Fix spelling/wording issuesAlan Coopersmith2-7/+7
Found by using: codespell --builtin clear,rare,usage,informal,code,names 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>
2013-09-27Remove usage of mibstore.h (removed from server)Gaetan Nadon1-2/+0
The module had a compile error for this missing header file. Changes similar to vmware commit 23d87c92b7211cc5249eefe4ab3a2c7f370e279e Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-07-17xf86-video-ark: bump to version 0.7.5xf86-video-ark-0.7.5Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17convert to new X screen conversion apiDave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17ark: update for compat X server ABI.Dave Airlie4-31/+131
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17ark: make build against XAA-less server.Dave Airlie4-5/+27
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-16Don't check for unneeded proto headers.Matt Turner1-2/+0
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26xf86-video-ark 0.7.4xf86-video-ark-0.7.4Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26Change types of FBBase/MMIOBase to pointer, remove castsMatt Turner2-5/+5
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26Use pci_device_map_legacy rather than xf86MapDomainMemoryMatt Turner2-3/+4
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26Fix typo in 5ab0bf04Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26Use unsigned long rather than deprecated IOADDRESSMatt Turner2-13/+13
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26Remove uses of xf86PciInfo.hMatt Turner3-3/+6
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-26Add &component=Driver/ark to Bugzilla linkMatt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-25Remove if(E != NULL) checks around free(E)Matt Turner1-3/+0
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-25Remove xalloc/xcalloc/xrealloc/xfreeMatt Turner1-5/+5
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-12-19Fix for new vgaHW ABIAdam Jackson1-0/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Make failure to XAA non-fatalAdam Jackson1-2/+3
No shadowfb support in this driver yet. Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-17Adapt to videoabi 12Adam Jackson2-14/+26
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-02-28Don't assume that FB address registers are initialized properlyOndrej Zary2-12/+19
https://bugs.freedesktop.org/show_bug.cgi?id=28249 ark driver does not work with Hercules Stingray 64 card (ark2000pv). X fails to start with: [...] (II) ark(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (II) ark(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 (==) ark(0): Depth 24, (--) framebuffer bpp 32 (==) ark(0): RGB weight 888 (==) ark(0): Default visual is TrueColor (**) ark(0): Chipset: "ark2000pv" (--) ark(0): Framebuffer @ 0xe5e50000 (==) ark(0): Using gamma correction (1.0, 1.0, 1.0) (--) ark(0): Detected 2048 bytes video ram [...] Fatal server error: AddScreen/ScreenInit failed for driver 0 Comparing with lspci, the framebuffer address is wrong: 00:0f.0 VGA compatible controller: ARK Logic Inc 2000PV [Stingray] (prog-if 00 [VGA controller]) Flags: medium devsel Memory at e5000000 (32-bit, prefetchable) [size=4M] [virtual] Expansion ROM at 1c000000 [disabled] [size=64K] Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-07-23xf86-video-ark 0.7.3xf86-video-ark-0.7.3Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-21config: add comments for main statementsGaetan Nadon1-7/+6
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-3/+4
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: complete AC_INIT m4 quotingGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_HEADER_STDCGaetan Nadon1-2/+0
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-20config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon1-1/+0
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-20config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
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-20config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon1-3/+3
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-12COPYING: replace stub file with Copyright noticeGaetan Nadon1-8/+18
Copyright 2000 Ani Joshi Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-08config: move compiler flags from configure.ac to Makefile.amGaetan Nadon2-5/+3
CFLAGS is an automake defined variable that should not be set by the module. It should not be AC_SUBST either, it already is. Use AM_CFLAGS in Makefile.am. This will allow the user to override the flags as they will be in the right order. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-08config: remove unrequired '-I$(top_srcdir)/src'Gaetan Nadon1-1/+1
The current dir is already included by default in the makefile top_builddir = .. DEFAULT_INCLUDES = -I. -I$(top_builddir) Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-08config: remove unused INCLUDES='-I$(top_srcdir)/src'Gaetan Nadon1-2/+0
This statement is redundant and not used in the makefile Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-08config: remove unused variable XORG_INCSGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-29configure.ac: sdkdir usage duplicates the sdk include dirGaetan Nadon1-2/+1
The sdkdir variable provides a duplicate copy of the include/xorg directory. The statement is removed as this was it's only used. In the Makefile, there is now only one instance of the -I sdkdir The sdkdir is provided in XORG_CFLAGS. Acked-by: Dan Nicholson <dbn.lists at gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-15configure.ac: remove -I$(prefix)/include from INCLUDESGaetan Nadon1-1/+1
Using $prefix for any purpose will yield incorrect results as not all modules uses the same prefix and that modules can use different directory which is configurable. Similar to #24676 The main include dir comes from XORG_CFLAGS Reported-By: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-23Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+1
Now that the INSTALL file is generated. Allows running make maintainer-clean.