summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
6 daysuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult1-1/+1
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-fbdev/-/merge_requests/5>
2024-01-15Fix warning: unused variable ‘scrnIdx’ [-Wunused-variable]Alan Coopersmith1-1/+0
fbdev.c: In function ‘FBDevDGASetMode’: fbdev.c:1145:9: warning: unused variable ‘scrnIdx’ [-Wunused-variable] 1145 | int scrnIdx = pScrn->pScreen->myNum; | ^~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15Fix warning: statement with no effect [-Wunused-value]Alan Coopersmith1-2/+1
fbdev.c: In function ‘FBDevProbe’: fbdev.c:355:21: warning: statement with no effect [-Wunused-value] 355 | 0; | ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-07Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-07configure: 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:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from... configure.ac:44: 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-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith1-1/+1
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-01-14Fix build error when building with xserver built using mesonTuomo Rinne1-1/+1
2018-11-25Update 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/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-05-30fbdev 0.5.0xf86-video-fbdev-0.5.0Adam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-05-30Update for 1.20 ABIAdam Jackson1-0/+2
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-03-05Use #ifdef instead of #if to avoid build errorAlan Coopersmith1-1/+1
fbdev.c:491:21: error: #if with no expression #if HAVE_SHADOW_3224 ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2017-02-16Use shadowUpdate32to24 at 24bppAdam Jackson2-6/+43
Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-02-16Remove dead pix24bpp variableAdam Jackson1-10/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
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-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
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-26autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-05Fix shadow fb allocation size (v2)Adam Jackson1-2/+2
->bitsPerPixel is rather obviously eight times too large. v2: Use ->displayWidth - the pitch - not ->virtualX (Keith Packard) Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-01-27Initialize pci_devPascal Terjan1-1/+1
Else it is read before initialization if XSERVER_LIBPCIACCESS is not defined or location.type is not BUS_PCI. Noticed when I got a segfault where it was 0x1 while doing some tests on arm. Signed-off-by: Pascal Terjan <pterjan@google.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-08-11Pass the pci device (if any) through to fbdevhw in probe and preinitAdam Jackson1-2/+8
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-21Use own thunk functions instead of fbdevHW*WeakAdam Jackson1-15/+71
I plan to remove the Weak functions from a future server. Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-03-21Default to 32bpp if the console is 8bpp (and we weren't told otherwise)Adam Jackson1-0/+26
You can still override this on the command line or in the config file. Without this we'll come up at 8bpp on matroxfb (and probably others), which among other things breaks the default desktop since gnome-shell wants GLX and GLX doesn't support pseudocolor anymore. Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-09-23Bump to 0.4.4xf86-video-fbdev-0.4.4Julien Cristau1-1/+1
2012-09-25Remove mibstore.hAdam Jackson1-2/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-02fbdev: bump to 0.4.3xf86-video-fbdev-0.4.3Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05fbdev: port to new server API.Dave Airlie2-36/+95
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05fbdev: convert to new screen conversion APIs.Dave Airlie1-4/+4
Generated using util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05fbdev: add compat-api + makefileDave Airlie3-0/+44
2010-12-17Add MOD_CLASS_VIDEODRV to FBDevVersRecPaulo Zanoni1-1/+1
fbdev seems to be the only video driver without MOD_CLASS_VIDEODRV Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com> Reviewed-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-11-10Perform XV initialization only if the server supports it.Cyril Brulebois1-0/+2
Use XV from server's xorg-server.h to determine whether to perform XV initialization. Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-11-10Avoid unused variables when XSERVER_LIBPCIACCESS is defined.Cyril Brulebois1-0/+2
Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-11-10man: Stop mentioning server's -scanpci option.Cyril Brulebois1-3/+1
It got removed in server's 9727db88d57089be6483104de435626cdbad883a (long time ago). Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-11-10Convert x{re,c,}alloc and xfree.Cyril Brulebois1-9/+9
Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-10-06Purge cvs tags.Jesse Adkins1-1/+0
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-21config: add comments for main statementsGaetan Nadon1-5/+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.