Age | Commit message (Collapse) | Author |
|
|
|
Long ago, xf86_reload_cursors() was turned into a noop. And we were not
using anything specific from xf86PciInfo.h.
Signed-off-by: Connor Behan <connor.behan@gmail.com>
|
|
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|
|
|
|
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|
|
This applies some obvious changes to stop gcc from complaining about
dead code, shadow declarations, differing signedness and sections that
mix declarations with code.
The warning about discarding const qualifiers is more annoying because
we pass string literals to some functions which accept non-const
pointers. Currently, this takes the following approach. If the function
*needs* to accept non-const pointers, cast the string literal as char *.
Otherwise, change the function to only accept a const pointer. To
anticipate future use cases though, I could also leave function
definitions as they are and just always cast string literals.
Alternatively, if this is more trouble that it is worth, we could just
put up with the warnings.
Signed-off-by: Connor Behan <connor.behan@gmail.com>
|
|
We have PCI_VENDOR_ID and PCI_CHIP defined in geode.h.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|
|
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|
|
|
|
|
|
|
|
Fix warning on unused variable "value".
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Fix a a lot warnings on duplicate forward declarations.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
There's used to have separate versions for older Xserver versions, but no
anymore, so these aren't needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Since recent commits require xserver-1.18.0 or later to build against,
there's no reason leaving behind big chunks of code that can only build
against the XAA support removed in xserver-1.13.0 (released in 2012).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Relying on >= 1.18 now, so no need for compat with older ones anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Since we're relying on xserver >= 1.18, we can assume video api
major version >= 20.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Since we're relying on xserver >= 1.18, we know its present.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Since we're depending on at least 1.18, we can rely on it being present.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
We're relying on at least 1.18 now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
|
|
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-geode/-/merge_requests/4>
|
|
xnfalloc is just an alias for XNFalloc() 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-geode/-/merge_requests/4>
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Causes autoreconf to fail with:
libtoolize: error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Forces 32-bit build since it fails to build 64-bit
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
Thanks to Ben Hutchings for pointing out that vesafb and legacy X
drivers can peacefully coexist if iomem=relaxed gets added to the
Linux kernel cmdline options.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|
|
|
|
|
|
Fix for FTBFS due to -fno-common on GCC 10.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
|
|
|
|
This release restores compatibility with xserver-1.20 and newer.
VALIDATION PLATFORM
* Debian (X server 1.20.4) on FIC ION603A (Geode LX800).
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
Also update http: URL's to https:
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
xf86DisableRandR() doesn't exist anymore, and we don't need it anyway,
the core code will notice that we set up RANDR ourselves.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
|
|
On OSes that don't have a /dev/videox we'll just fail the open() and not
initialize the Xv adaptor.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
|
|
This release restores compatibility with xserver-1.19 and newer.
VALIDATION PLATFORM
* Debian (X server 1.19.0) on FIC ION603A (Geode LX800).
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
|