Alan Coopersmith
7648873250
Strip trailing whitespace from source files
...
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`
`git diff -w` & `git diff -b` show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/merge_requests/12 >
2025-08-12 17:42:09 -07:00
Alan Coopersmith
bd09098198
Improve man page formatting
...
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/merge_requests/11 >
2025-04-22 17:45:52 -07:00
Bjarni Ingi Gislason
7dd8150830
fbdev.4: Some editorial changes for this man page [Debian bug #1095447 ]
...
Originally from https://bugs.debian.org/1095447
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/merge_requests/11 >
2025-04-17 17:27:11 -07:00
Matt Turner
0ead445440
xf86-video-fbdev 0.5.1
...
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/merge_requests/9 >
2024-11-08 10:19:03 -05:00
Enrico Weigelt, metux IT consult
c8d9f3be7e
drop compat with ancient xservers
...
We're relying on >= 1.18 now, so no compat with older ones needed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/merge_requests/8 >
2024-05-28 14:38:46 +02:00
Alan Coopersmith
ae894fe112
Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
...
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.
Allows dropping remnants of code for ISA and pre-pciaccess X servers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/merge_requests/7 >
2024-05-14 11:16:37 -07:00
Enrico Weigelt, metux IT consult
dc48c20ceb
use XNFcallocarray() instead of xnfcalloc macro
...
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-05-08 15:46:23 +02:00
Alan Coopersmith
7bccdf4373
Fix warning: unused variable ‘scrnIdx’ [-Wunused-variable]
...
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-15 10:08:31 -08:00
Alan Coopersmith
112b6c1153
Fix warning: statement with no effect [-Wunused-value]
...
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-15 10:08:23 -08:00
Alan Coopersmith
89728ce1d6
Add X.Org's standard C warning flags to AM_CFLAGS
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2024-01-07 09:19:53 -08:00
Alan Coopersmith
554d6fda21
configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
...
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 >
2024-01-07 09:17:53 -08:00
Alan Coopersmith
7f445dbd5a
gitlab CI: ensure libtool is installed in build container
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2023-10-01 13:10:19 -07:00
Alan Coopersmith
a8aa1c97f9
gitlab CI: stop requiring Signed-off-by in commits
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2023-02-09 12:06:56 -08:00
Alan Coopersmith
6ef9644156
gitlab CI: add a basic build test
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-22 10:26:32 -08:00
Alan Coopersmith
cf1875209c
Fix spelling/wording issues
...
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-22 10:25:44 -08:00
Alan Coopersmith
2850cd86d1
Build xz tarballs instead of bzip2
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-22 10:25:12 -08:00
Tuomo Rinne
4730f13b92
Fix build error when building with xserver built using meson
2019-01-14 22:33:42 +00:00
Alan Coopersmith
4865f92f74
Update configure.ac bug URL for gitlab migration
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2018-11-25 13:57:38 -08:00
Alan Coopersmith
f676c9def1
Update README for gitlab migration
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2018-11-18 12:35:19 -08:00
Adam Jackson
82aa13d013
fbdev 0.5.0
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2018-05-30 12:31:25 -04:00
Adam Jackson
67525c485f
Update for 1.20 ABI
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2018-05-30 12:31:25 -04:00
Alan Coopersmith
9af7f81534
Use #ifdef instead of #if to avoid build error
...
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 >
2018-03-05 11:42:22 -05:00
Adam Jackson
e0bce0d017
Use shadowUpdate32to24 at 24bpp
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2017-02-16 12:22:09 -05:00
Adam Jackson
3cf9923119
Remove dead pix24bpp variable
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2017-02-16 12:22:09 -05:00
Mihail Konev
8c03e3474e
autogen: add default patch prefix
...
Signed-off-by: Mihail Konev <k.mvc@ya.ru >
2017-01-26 14:00:22 +10:00
Emil Velikov
39f668420f
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
303f902c76
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
f627319599
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
22f288b4e4
configure: Drop AM_MAINTAINER_MODE
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2017-01-26 11:16:37 +10:00
Adam Jackson
2c5eba8574
Fix shadow fb allocation size (v2)
...
->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 >
2017-01-05 11:15:27 -05:00
Pascal Terjan
66e7909bfe
Initialize pci_dev
...
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 >
2016-01-27 11:33:24 -05:00
Adam Jackson
ae0aeffae6
Pass the pci device (if any) through to fbdevhw in probe and preinit
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2014-08-11 12:13:20 -04:00
Adam Jackson
2673e72706
Use own thunk functions instead of fbdevHW*Weak
...
I plan to remove the Weak functions from a future server.
Signed-off-by: Adam Jackson <ajax@redhat.com >
2014-05-21 09:49:56 -04:00
Adam Jackson
dd1cf1028c
Default to 32bpp if the console is 8bpp (and we weren't told otherwise)
...
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 >
2014-03-21 12:41:55 -04:00
Julien Cristau
679ed9a4e6
Bump to 0.4.4
2013-09-23 20:02:47 +02:00
Adam Jackson
ac293412a0
Remove mibstore.h
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2012-09-25 08:54:37 -04:00
Dave Airlie
2edaad4ab2
fbdev: bump to 0.4.3
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-07-02 12:47:08 +01:00
Dave Airlie
8a65ca2fdc
fbdev: port to new server API.
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-06-05 11:29:31 +01:00
Dave Airlie
91e8b295f8
fbdev: convert to new screen conversion APIs.
...
Generated using util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-06-05 11:21:08 +01:00
Dave Airlie
6e29cf8c29
fbdev: add compat-api + makefile
2012-06-05 11:21:03 +01:00
Paulo Zanoni
a87213930e
Add MOD_CLASS_VIDEODRV to FBDevVersRec
...
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-12-17 13:09:24 +01:00
Cyril Brulebois
be003f2568
Perform XV initialization only if the server supports it.
...
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-10 14:07:24 +01:00
Cyril Brulebois
20909cd806
Avoid unused variables when XSERVER_LIBPCIACCESS is defined.
...
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-10 14:07:04 +01:00
Cyril Brulebois
90524a26d3
man: Stop mentioning server's -scanpci option.
...
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-10 14:06:11 +01:00
Cyril Brulebois
0d45d8f3ad
Convert x{re,c,}alloc and xfree.
...
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-10 14:05:48 +01:00
Jesse Adkins
049cdddd14
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:48 -07:00
Gaetan Nadon
d3a2fe1b76
config: add comments for main statements
2010-07-21 20:12:43 -04:00
Gaetan Nadon
f7e68d16dc
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
0ddf357522
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
55e0de6cb1
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
a05560b1d3
config: complete AC_INIT m4 quoting
...
Signed-off-by: Gaetan Nadon <memsize@videotron.ca >
2010-07-21 09:27:42 -04:00
Gaetan Nadon
8f7d8a7ba3
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:57 -04:00
Gaetan Nadon
9b3ef42fdd
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
b768d66b87
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:30 -04:00
Gaetan Nadon
fa588a1ddc
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
6977b3490a
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
Julien Cristau
7ec9d466e5
Bump to 0.4.2
2010-04-03 18:05:21 +02:00
Julien Cristau
b3220bf63e
configure: require xorg-macros 1.4 for XORG_INSTALL
...
Signed-off-by: Julien Cristau <jcristau@debian.org >
2010-02-10 02:11:44 +01:00
Julien Cristau
a9df47d6d0
fbdev: add missing shadowRemove in CloseScreen()
...
Fixes crash in CloseScreen().
Signed-off-by: Julien Cristau <jcristau@debian.org >
Tested-by: Cyril Brulebois <kibi@debian.org >
2010-02-08 19:20:00 +01:00
Alan Coopersmith
a5b035414d
Update Sun license notices to current X.Org standard form
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
2010-01-15 15:44:54 -08:00
Gaetan Nadon
5ec41a8b2e
configure.ac: remove unused sdkdir=$(pkg-config...) statement
...
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-12-30 15:13:00 -05:00
Adam Jackson
69f82077fd
Remove afb support
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2009-12-14 13:40:32 -05:00
Gaetan Nadon
4e8a6ac78d
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
...
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
2009-11-23 09:25:05 -05:00
Gaetan Nadon
d868015c9c
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
...
Automake 'foreign' option is specified in configure.ac.
Remove from Makefile.am
2009-10-28 14:41:41 -04:00
Gaetan Nadon
a9e65feebd
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
...
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-28 14:09:09 -04:00
Gaetan Nadon
7b583191fa
Several driver modules do not have a ChangeLog target in Makefile.am #23814
...
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-26 12:54:21 -04:00
Gaetan Nadon
6b5e30a2df
.gitignore: use common defaults with custom section # 24239
...
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-10-22 12:34:16 -04:00
Dave Airlie
e233c12c97
fbdev: bump for release 0.4.1
2009-07-30 12:04:27 +10:00
Dave Airlie
dfe51de992
fbdev: change to using ABI version check
2009-07-28 15:22:40 +10:00
Dave Airlie
fe00991326
fbdev: update for resources/RAC API removal
2009-07-28 13:32:29 +10:00
Adam Jackson
16ea2bb46c
Remove useless loader symbol lists.
2009-05-28 14:55:08 -04:00
Adam Jackson
c3434c8625
Allow building against a non-DGA server.
2009-03-04 10:09:47 -05:00
Alan Coopersmith
db33e337a8
Add README with pointers to mailing list, bugzilla & git repos
2009-01-30 20:38:47 -08:00
Alan Coopersmith
f9b88908fc
Remove xorgconfig & xorgcfg from See Also list in man page
2009-01-09 16:27:44 -08:00
Adam Jackson
092f0f10cb
Make ISA optional
2008-11-23 20:04:30 -05:00
Adam Jackson
73ff2d0cd7
fbdev 0.4.0
2008-03-19 13:51:44 -04:00
Matthias Hopf
6bae3476b0
Fixed leftover PCIACCESS -> XSERVER_LIBPCIACCESS.
2007-10-12 15:58:34 +02:00
Brice Goglin
a9a7763ce0
Replace a non-ascii char with the corresponding groff escape in fbdev.man
2007-09-12 01:49:33 +02:00
Ian Romanick
31707aeccd
Add conditional support for pci-rework branch.
...
To build VESA driver for use with pci-rework Xserver, add --enable-pciacces
to the configure command line. Otherwise, the "traditional" VESA driver will
be built.
2007-01-22 08:52:43 -08:00
Michel Dänzer
b17f9256d5
Only determine pitch after setting initial mode.
...
We were determining it from the mode which is current at X server startup,
which may have a completely different pitch.
2006-12-31 17:43:52 +01:00
Michel Dänzer
436a2c094a
Bump to 0.3.1 for release.
2006-12-29 12:57:44 +01:00
Michel Dänzer
5b54cbd70e
Use package version definitions from XORG_RELEASE_VERSION macros.
2006-12-29 12:57:23 +01:00
Michel Dänzer
b6fd370824
Don't prefer 24bpp for depth 24.
2006-12-29 12:29:31 +01:00
Michel Dänzer
43236f5bfc
Fix shadow framebuffer, and by extension rotation.
...
Based on Adam Jackson's shadow framebuffer fixes in xf86-video-vesa.
2006-12-27 13:08:02 +01:00
Michel Dänzer
643573a51f
Add missing argument to xf86DrvMsg().
2006-12-27 13:08:02 +01:00
Michel Dänzer
b5b1b7d731
Update my e-mail address.
2006-12-27 13:08:01 +01:00
Michel Dänzer
abfc75fbcd
Convert .cvsignore to .gitignore.
...
Add a couple of items while we're at it.
2006-12-27 13:08:01 +01:00
Adam Jackson
a12d1ce572
Make debug output a run-time option instead of compile-time.
2006-11-08 12:22:53 -05:00
Jeremy C. Reed
6ed2e61542
Replace stub file with real license.
...
"XFree86 code without an explicit copyright is covered by the
following copyright/license" ....
Discussed on xorg list.
2006-10-18 14:56:01 -05:00