summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-10Geode 2.11.19xf86-video-geode-2.11.19Martin-Éric Racine
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>
2016-07-19Adapt Block/WakeupHandler signature for ABI 23Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-02-03Geode 2.11.18xf86-video-geode-2.11.18Martin-Éric Racine
This release restores compatibility with xserver-1.18 and newer. Conditional support for the Geode MSR device on FreeBSD is merged. GX acceleration and compositing is upgraded to current standards. LX switching to VT and back is restored. Farewell blanks screens! VALIDATION PLATFORM * Debian (X server 1.18.0) on FIC ION603A (Geode LX800). Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2015-12-02LX: Restore old VT switch codeConnor Behan
Calls for enabling and disabling outputs were removed from the VT switch routine when RandR support was added. Presumably, this is because the server already sets DPMS properly on a VT switch. However, DDX code can undo what the server does so it seems best to keep the explicit calls. Closes: X.Org Bugzilla #80825 Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-09-28Geode MSR support for FreeBSDArrigo Marchiori
The file src/geode_msr.c does not compile under FreeBSD. The attached patch allows to compile the driver. Closes: Free Desktop Bug #92158 Signed-off-by: Arrigo Marchiori <ardovm@yahoo.it>
2015-08-27Fix GX UploadToScreen and DownloadFromScreenConnor Behan
Even though most embedded drivers don't do it, there could be a slight advantage on a single arch from reimplementing unaccelerated UTS and DFS since the xserver avoids assembly. This does not remove them, it merely updates them to work with the latest EXA. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-08-26Fix GX composite hooksConnor Behan
These need to fallback for solid and gradient pictures. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-07-23Properly hide config.h inclusion inside HAVE_CONFIG_H.Matthew Green
v2: make config.h inclusion the first one. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-05-20Geode 2.11.17xf86-video-geode-2.11.17Martin-Éric Racine
This release restores compatibility with xserver-1.17. Support for the Geode MSR device on OpenBSD is merged. VALIDATION PLATFORM * Debian (X server 1.17.1) on FIC ION603A (Geode LX800). Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2015-03-12Fix building Geode against xserver 1.17Maarten Lankhorst
The xf86MapVidMem API is gone. Use pciaccess calls where applicable and mmap for XpressROMPtr. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>
2014-10-01Add config.h include to src/lx_memory.cBrian A. Lloyd
The src/lx_memory.c file uses the xf86.h header file. This file must have HAVE_STRNDUP defined before calling it when the building platform has a strndup function. When using config.h, this file doesn't have that define and so fails to compile. The attached patch adds the conditional config.h to this file so it may compile on the affected platforms. The patch is trivial and may be included and used under whatever licensing desired. Closes: Free Desktop Bug #84541 Signed-off-by: Brian A. Lloyd <brian.lloyd@familyhonor.net>
2014-09-25Geode MSR support for OpenBSDMarc Balmer
This patch adds conditional support for the Geode MSR device on OpenBSD. Signed-off-by: Marc Balmer <mbalmer@netbsd.org> Signed-off-by: Matthieu Herrb <matthieu@openbsd.org>
2014-07-17Geode 2.11.16xf86-video-geode-2.11.16Martin-Éric Racine
This release restores compatibility with xserver-1.15 and newer by adding a missing xf86Modes.h include to src/geode_dcon.c VALIDATION PLATFORM * Debian (X server 1.15.99.904) on FIC ION603A (Geode LX800). Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2014-02-08No need to conditionalize the xf86Modes.h include.Martin-Éric Racine
2014-02-08Added conditional include to fix FTBFS on xserver 1.15 and up.Martin-Éric Racine
Thanks to Maarten Lankhorst for the fix.
2013-10-09Geode 2.11.15xf86-video-geode-2.11.15Martin-Éric Racine
This release restores compatibility with xserver-1.14 by removing mibstore.h includes and miInitializeBackingStore() functions. Since Nov.2010 (commit c4c4676) the only purpose of mibstore.h was to define an empty function for backward compatibility. Build helpers migrate to contemporary [build-aux] and [m4]. VALIDATION PLATFORM * Debian (X server 1.14.3) on FIC ION603A (Geode LX800). Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-03Migrate AC_CONFIG_AUX_DIR to [build-aux]Martin-Éric Racine
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-02Fix whitespace in AC_INITMartin-Éric Racine
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-02Bump AC_PREREQ to 2.60 as suggested by Gaetan NadonMartin-Éric Racine
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-10-02libtool upgrade to include m4 directoryMartin-Éric Racine
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2013-01-09Remove mibstore.hAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-11-25Geode 2.11.14xf86-video-geode-2.11.14Martin-Éric Racine
This release restores compatibility with xserver-1.13, cairo-1.12 and gtk-3: * Fix building with new xserver-1.13 (Maarten Lankhorst) + Implement xserver-1.13 API changes. + Make XAA support optional (dropped as of xserver-1.13). * Implement solid source pictures acceleration for cairo-1.12 (Mart Raudsepp) * Fix EXA Composite implementation in the LX component (Mart Raudsepp) Restores icon and text rendering for GNOME 3 fallback mode. This release also improves compatibility with non-Linux/non-32-bit hardware: * Fix compiling on 64-bit hosts (Dave Airlie) * Fix compiling on non-Linux platforms (Martin-Éric Racine) VALIDATION PLATFORMS * Debian (X server 1.7.7) on Artec DBE61. * Debian (X server 1.12.14) on FIC ION603A. * Fedora (X server 1.13) on OLPC XO-1.
2012-11-24pre-release whitespace cleanup using ../modular/x-indent-all.shMartin-Éric Racine
2012-11-20NEWS: Release notes for 2.11.14Mart Raudsepp
2012-11-20NEWS: Fix placement order of 2.11.10 NEWS compared to othersMart Raudsepp
2012-11-20lx_exa: Improvements to negative srcX/Y PictOpSrc/Over operationsMart Raudsepp
Adds handling of negative srcX or srcY coordinates, which is used by gtk3 GtkTrayIcon implementation via cairo for centering icons on top of the destination area. For now just handle the drawing within source pixmap bounds in these cases, as full handling of the out of bound zero-vector for PictOpSrc seems to require bigger refactoring, which is not suitable for the impending stable release. The approach implemented here should result in correct rendering for PictOpOver (as out of bounds with non-repeat mode ends up meaning transparency). For PictOpSrc no black borders are rendered where appropriate, but before this approach, no source pixmap would even be rendered at all, so it should be a net improvement for the upcoming release, while fixing the gtk3 icons in GNOME3 fallback. The completely out of bounds special case check didn't work correctly for negative srcX or srcY because exaScratch.srcWidth/Height are unsigned types, so the negative srcX or srcY got casted to unsigned, which resulted in a big number, so srcX >= 0 was always true (but GCC managed to not warn of the implicit signedness cast). Fixes https://bugs.freedesktop.org/show_bug.cgi?id=51360
2012-10-23lx_exa: Implement solid pictures support as source with a maskMart Raudsepp
cairo-1.12 uses solid pictures instead of 1x1R pixmaps in glyph rendering paths, so accelerate it. In addition to acceleration, it avoids a bug in xserver-1.13.0 and earlier which causes visible misrendering for fallback path, making cairo-1.12 a viable and desired choice on GeodeLX systems. Quick benchmarking suggests a 4-12% win in cairo-traces.
2012-10-23lx_exa: Remove unused srcPixmap member from exaScratchMart Raudsepp
Became redundant with commit 32a927b8e6
2012-10-02Clarified the copyright and license of src/geode_msr.c src/geode_blend.hMartin-Éric Racine
Debian's 'licensecheck' tool showed these two files to have unspecified copyright and license. Git log clarifies that these had been created by Jordan Crouse when he was still at AMD, so their stock copyright notice was copied as-is from other files in src/
2012-09-18lx_exa: Downgrade src/dst format warnings to fallbacks to not spam the logMart Raudsepp
We don't support 10bit wide color channels, BGRA and other types, which mainly cause these fallbacks. The ErrorF's were unwarranted, these are just fallbacks as any other, so don't output these warnings without GEODE_TRACE_FALL.
2012-09-18lx_exa: Fix crash with solid fills on PictOpAdd operationsMart Raudsepp
lx_check_composite has many special checks for PictOpAdd to return successfully early, but these were done even earlier than the check for solid fills. This resulted in lx_prepare_composite assuming the source pixmap exists, which is not the case with solid fills. Move the solid fill fallback checks before the others, so we are guaranteed to always have a source pixmap in PrepareComposite and Composite and don't crash trying to access a NULL pointer. Also move up the mask check to do less checks in the PictOpAdd logic.
2012-08-29NEWS: add information about releases since 2.11.9Martin-Éric Racine
...and flip the location of the recent src/Makefile.am addition.
2012-08-09src/Makefile.am: added missing compat-api.h to geode_drv_la_SOURCESMartin-Éric Racine
2012-07-26configure: Make the new XAA checks work, and other improvementsMart Raudsepp
commit 68646c31 added XAA checks were too early, when XORG_CFLAGS isn't declared yet, so it got never enabled. Move the block after xorg-server pkg-config checks, which declare XORG_CFLAGS. Change configure to fail if --enable-xaa is explicitly requested, but XAA headers are not found. Other tweaks for more autoconf-ism. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2012-07-26Initial stab at converting geode to new X1.13 APIMaarten Lankhorst
Preparing to compile geode on X 1.13 All compiler errors are gone as far as I can tell, but I lack the hardware to verify it works as well.
2012-07-26Allow building on Xservers without XAAMaarten Lankhorst
2012-07-25lx_exa: Fix EXA minor version checksMart Raudsepp
The old version of just checking for EXA_MINOR_VERSION >= 2 would stop working if ever EXA gets a new major version, as minor would be reset to 0, and start unexpectedly working again when minor gets bumped gradually up to 2 again. Other drivers also assume that a new major would still have the vfunc we use.
2012-07-25Fix an unused variable warning in geode_driver.cMart Raudsepp
geode_driver.c:372:9: warning: variable 'cpu_detected' set but not used [-Wunused-but-set-variable] Was used only in a DEBUGMSG, which has since been made not do anything ever, so just kill it completely, as the debug message wasn't useful anyway.
2012-07-11Whitespace cleanup using ../modular/x-indent.shMartin-Éric Racine
2012-04-03geode: fix compile on x86-64 in tinderbox.Dave Airlie
geode_ddc.c: In function 'GeodeI2CInit': geode_ddc.c:158: error: cast to pointer from integer of different size Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-01-02z4l.c: drop unnecessary #include linux/types.hMartin-Éric Racine
On hybrid platforms, such as Debian GNU/KFreeBSD, that support V4L2 and yet without providing the full complement of Linux headers, ZTV fails to compile because of this missing header. Given how removing this header does not adversely affect compiling, plus it might improve portability, we went ahead and removed it. Nonetheless, as observed by Gaetan Nadon, z4l.c includes code that explicitly disables the module on any OS other than Linux: LoaderGetOS(&osname, NULL, NULL, NULL); if (osname == NULL || strcmp(osname, "linux") != 0) { if (errmaj) *errmaj = LDR_BADOS; if (errmin) *errmin = 0; return NULL; } Still, in the interest of OS neutrality, we decided to leave recent autoconf magic in place and to let OS vendors figure out how to get the module loaded on non-Linux OS themselves. Patches are welcome. Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2011-12-26Geode 2.11.13xf86-video-geode-2.11.13Martin-Éric Racine
This release mainly features a complete overhaul of the building scripts plus a cleanup of deprecated macros. The key benefit is that this Geode driver can finally build on FreeBSD and on other platforms not offering V4L2 support and that it can also build on a 64-bit host using its 32-bit personality. Support for the Video Input Port (VIP) feature of the Geode LX found in 'ztv' is now documented and the source code saw the removal of deprecated Linux 2.4 backward compatibility code. Compiling is skipped on platforms without V4L2. Configuration for laptops featuring WXGA resolutions is finally documented. Setting the GEODE_TRACE_FALL macro now enables composite operation tracing on this driver. This can be used to profile the performance during development. Fixes to keep this driver compilable on recent X servers are also included. VALIDATION PLATFORMS * Debian/stable (X server 1.7.7) on Artec DBE61 and Hercules EC-800. * Ubuntu/Precise (X server 1.10.4) on FIC ION603A. Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2011-12-25Fix lx_display.c:360:9: warning: ISO C90 forbids mixed declarations and codeMartin-Éric Racine
2011-12-19Fix for new vgaHW ABIAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-12DCONDPMSSet: handle error return code on "write" to avoid a warningGaetan Nadon
The author of the write() system call has deemed important for the caller to check the return code. If not, the compiler issues a warning. The patch handles a bad return code from write() just in the same way as the code does for the open() calls. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-29README: added example of ZTV loading to EC800 xorg.conf sample.Martin-Éric Racine
2011-11-29README: do not suggest compiling with xserver older than 1.3Gaetan Nadon
This was done at one point in time by some drivers (3 that I remember) but the workarounds all have been removed since. The tarballs created by those drivers picked-up whatever code happened to be on the developer disk and was not in git. The code was not maintained and in fact did not work thereafter. http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/configure.ac ?id=84f69081abaeef8b05cafb64d3102eb2abdf9a8e Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-11-24README: added info about how to calculate arbitrary laptop modelines.Martin-Éric Racine
2011-11-21README: whitespace cleanup.Martin-Éric Racine
2011-11-21README: harmonize x.org versus freedesktop.org as much as possible.Martin-Éric Racine