summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
5 daysuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult2-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-sunffb/-/merge_requests/6>
2024-01-17Fix warning: variable ‘pFfb’ set but not used [-Wunused-but-set-variable]Alan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Fix -Wunused-function warnings in ffb_ddc.cAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Fix warning: no previous prototype for ‘FFBi2cInit’ [-Wmissing-prototypes]Alan Coopersmith1-0/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Fix warning: no previous prototype for ‘FFB_InitDGA’ [-Wmissing-prototypes]Alan Coopersmith2-2/+2
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-15Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15Fix -Wdiscarded-qualifiers warning in init_dac_flags()Alan Coopersmith1-1/+1
ffb_dac.c: In function ‘init_dac_flags’: ffb_dac.c:385:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 385 | device = pFfb->psdp->device; | ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-2/+2
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:3571: AC_PROG_LIBTOOL is expanded from... configure.ac:45: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-07gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09README: Add supported device infoAlan Coopersmith1-0/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09xf86-video-sunffb 1.2.3xf86-video-sunffb-1.2.3Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Include xf86Cursor.h instead of xf86RamDac.hAlan Coopersmith1-1/+1
ramdac drivers have been removed from xserver since version 21.0.99.1 and xorg/xserver@f0385fb4 resulting in the following build failure: In file included from ../../src/ffb_accel.c:39: ../../src/ffb.h:33:10: fatal error: xf86RamDac.h: No such file or directory 33 | #include "xf86RamDac.h" | ^~~~~~~~~~~~~~ but xf86RamDac.h in turn included xf86Cursor.h which we still need. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Fix spelling/wording issuesAlan Coopersmith3-4/+4
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith3-20/+19
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-06-10Unbreak when XAA is not present.Matthieu Herrb1-3/+6
Turn accel off if loading XAA fails. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2013-01-21xf86-video-sunffb 1.2.2xf86-video-sunffb-1.2.2Matt Turner1-1/+1
2012-09-25Remove mibstore.hAdam Jackson1-2/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-16sunffb: fix XAA-less build.Dave Airlie4-1/+37
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-07sunffb: port to new compat API.Dave Airlie7-27/+128
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-10-29Add missing prototypes to silence warningsJeremy Huddleston1-0/+4
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29Use malloc/calloc/realloc/free directlyJeremy Huddleston2-10/+10
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-06Purge cvs tags.Jesse Adkins16-16/+0
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-22config: add comments for main statementsGaetan Nadon1-6/+6
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-4/+5
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
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_SUBST([XORG_CFLAGS])Gaetan Nadon1-1/+0
This macro is called by PKG_CHECK_MODULES 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 Nadon2-21/+7
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages.
2010-06-13COPYING: replace stub file with actual Copyright notices.Gaetan Nadon1-8/+18
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith1-22/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-30configure.ac: remove unused sdkdir=$(pkg-config...) statementGaetan Nadon1-1/+0
The sdkdir variable isn't use, so remove the statement. Acked-by: Dan Nicholson <dbn.lists@gmail.com> 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.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon1-1/+0
Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon2-3/+6
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-26Several driver modules do not have a ChangeLog target in Makefile.am #23814Gaetan Nadon3-101/+13
The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-6/+64
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-09-08sunffb: define %g2 and %g3 registers when building 64 bit version of the ↵Denis Gilmore2-0/+8
sunffb driver
2009-09-08xf86-video-sunffb: Remove unused .cvsignore file #23776Gaetan Nadon2-8/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-07sunffb 1.2.1xf86-video-sunffb-1.2.1Dave Airlie1-1/+1
2009-07-16Update to xextproto 7.1 support.Peter Hutterer2-1/+8
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>