xf86-video-geode: Changes to 'master'

Martin-Éric Racine q-funk at kemper.freedesktop.org
Mon Nov 21 00:44:21 PST 2011


 Makefile.am     |    1 
 README          |   42 +++++++++-
 configure.ac    |  128 ++++++++++++++++--------------
 src/Makefile.am |  232 ++++++++++++++++++++++++++++----------------------------
 src/z4l.c       |   22 -----
 5 files changed, 225 insertions(+), 200 deletions(-)

New commits:
commit d1c40f2d5baa2d964499412c7f1c443c9ee63626
Author: Martin-Éric Racine <martin-eric.racine at iki.fi>
Date:   Mon Nov 21 10:24:29 2011 +0200

    README: added a sample xorg.conf for 1024x600 and 800x480 laptops.

commit 8fc372b4e239005dda60f45737468f1e82571457
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Sun Nov 20 15:58:03 2011 -0500

    config: fix Autoconf warnings and improve comments
    
    These changes have been done in all other video drivers.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 725d6ddc0b0888af9b033ccb6ce88c9800a791f9
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Sun Nov 20 15:35:29 2011 -0500

    config: The compiler version to use is now set in XORG_DEFAULT_OPTIONS
    
    In this case "now" means a couple of years ago. All of Xorg is compiled
    with AC_PROG_CC_C99. It shows up in config.log as CC='gcc -std=gnu99'.
    
    The removed statement was resetting the compiler to C89 as it comes
    after XORG_DEFAULT_OPTIONS.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 40aae069bb15cda123f5e08b757ca93166e62db8
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Sun Nov 20 15:24:00 2011 -0500

    config: remove a few dead/obsolete lines of code
    
    HAVE_XEXTPROTO_71 not used in Makefile.
    AC_HEADER_STD is very obsolete.
    AC_SUBST([XORG_CFLAGS]) is redundant.
    DRIVER_NAME is correctly no longer used.
    AC_SUBST([moduledir]) has just been moved up.
    
    Any erroneously removed statements above would result
    in a configuration failure.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit fa0e88bfe00baa648ab3b1184b56f7dc5536aa21
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Sat Nov 19 15:33:33 2011 -0500

    Move back ztv with geode driver
    
    Now we have a clean separation between CPP flags and C Flags
    Only the C Flags apply to both geode and ztv driver, however
    it is not worth doing a per target compilation.
    
    Should some flags become mutually exclusive and if we want to have
    both target in the same makefile, add the incompatible flag
    on the appropriate target, example:
    
    geode_drv_la_CFLAGS = $(AM_CFLAGS) -newCFlag
    and/or
    geode_drv_la_CPPFLAGS = $(AM_CPPFLAGS) -newCPPFlag
    
    Note that both AM_CFLAGS and AM_CPPFLAGS are picked-up by both
    geode and ztv driver target.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 03529b7b35fa8d7b5bac277d6abe1caf0557301a
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Sat Nov 19 13:22:32 2011 -0500

    Separate compiler from pre-processor options
    
    Clean-up what goes in AM_CFLAGS and AM_CPPFLAGS
    Use more descriptive names such that comments are not needed.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit ac99bf2c5cdf86f039a290397614ca042a56c8db
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Fri Nov 18 16:36:12 2011 -0500

    Detect 32bit support on 64bit OS and compile with -m32 if found
    
    For gcc compiler only at the moment.
    The configuration reports if support is found or not, e.g.:
    
       checking if gcc supports the -m32 Intel/AMD option... yes
    
    The configuration C test relies on #include unistd.h which includes
    features.h which includes gnu/stubs.h which includes gnu/stubs-32.h
    which is missing on 64 bit system without the 32 bit library support.
    
    Tested on x86_64 AMD64 CPU with/without libc6-dev-i386 which provides
    32 bit support. Remains to be tested on Geode and FreeBSD 32/64 bit.
    
    The configuration does not attempt to decide if building should proceed
    or be aborted. If no 32 bit support then the build will die in the
    assembly code as it always did before.
    
    The variable M32_CFLAGS provides the flag for the makefiles.
    The variable names and organization is subject to change.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 3021c6df08004ec9ed846fec4000d798148eeb0e
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Thu Nov 17 19:47:10 2011 -0500

    geode source: streamline whitespace and sort alphabetically
    
    No functional changes.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit c1993fa8e5bf07bbd43b09ae2ec27c287725d81e
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Thu Nov 17 19:21:01 2011 -0500

    Remove -I linux_v26 as the directory does not exist
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 4eaba919fccc7618aee0b2f58294e460640bedb9
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Thu Nov 17 12:32:55 2011 -0500

    Remove unused and misleading I386ARCH configuration code
    
    The AM_CONDITIONAL I386ARCH is not used.
    
    The AC_CHECK_DECLS is misleading as it suggests there could be some i*86
    system with a 64 bit architecture which is incorrect.
    It also provides false results on 64 bit computer.
    
    The generated HAVE_DECL_XXX are not used anyway.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 65275e62415ded849f9986a36ad55ca3c96dc331
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Thu Nov 17 12:20:13 2011 -0500

    Remove -DPNL_SUP for the ztv driver
    
    Only the gx driver provide such a panel.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 60c3f5f7e9482d29f043504860319aeead7b9a69
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Thu Nov 17 09:32:24 2011 -0500

    Remove duplicate warning variable and werror option
    
    Use already existing:
      --enable-strict-compilation
                              Enable all warnings from compiler and make them
                              errors (default: disabled)
    which, byt the way was broken as it was not implemented in geode.
    
    Use already existing CWARNINGFLAGS variable, so there is no need
    to define GCC_WARNINGS.
    
    Both come from util-macros version 1.4 or later.
    http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in
    ?id=03b04a6b5d61aafbd2705f7d29e58e0c92553a4a
    
    If you configure with a later version of util-macros you may see new
    warnings appear as additional flags have been added over the years.
    
    You get better support for platforms/compiler differences.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 5f228208cc65348e35aa24b6cddae1df19b67fa5
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 20:14:08 2011 -0500

    Remove unrequired .s assembly files automake support
    
    Only the suffixes .s, .S, and .sx are recognized by automake
    as being files containing assembly code.
    
    http://www.gnu.org/software/automake/manual/automake.html#Assembly-Support
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit fc9957114875edb94cba89a4f4f0e023f2c98bfb
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 19:47:08 2011 -0500

    Remove ztv LINUX_2_6 switch and dead code
    
    The makefile defines LINUX_2_6 so the "else" code is dead.
    The port from kernel 2.4 is complete.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 100576b3a0a38da7a957969745b2cf087929c478
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 19:15:17 2011 -0500

    Remove broken duplicate visibility configure option
    
    This was added by commit f762b456 in 2007 and has been since implemented
    in the server which returns it in XORG_CFLAGS
    
    pkg-config --cflags xorg-server
    
    The server also takes care of platforms and compilers being used.
    Currently the visibility is set twice and even if you disable it,
    it is still passed through XORG_CFLAGS.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 970d142abe2fa09b294dd2bfa860fe3bbcaa8c68
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 17:01:48 2011 -0500

    Remove unused LINUX_2_6 macro from geode driver makefile
    
    It is used in ztv but not geode driver.
    In the wake of more platforms other than linux, might as well
    remove any source of confusion.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 65625eac28af7cf3164e5560478cd18aaa0ac33e
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 15:20:07 2011 -0500

    Remove HAVE__GX HAVE_LX and OPT_ACCEL from ztv build
    
    These macros are not used in z4l.c.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit dd8eadc53732ed2929e38c565240147165767625
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 15:11:18 2011 -0500

    Remove no longer used AMD_V4L2_VIDEO from makefiles
    
    This macro has been removed every where from source code.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit fc19e7d2bd256663b4a731661a35abcf435eaf18
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Wed Nov 16 14:07:10 2011 -0500

    Add a configure option to enable/disable building the ztv driver
    
    Even when V4L2 is available there are always reasons why distros
    may not want to build the driver.
    
    This patch uses a common idiom in xorg.
    When no configure option is specified ztv is built iff v4l2 is detected (auto).
    When user issues --disable-ztv, the ztv driver is not built (no)
    When user issues --enable-ztv, the ztv driver is built (yes) if v4l2 is detected
    but the configuration fails if v4l2 is missing. Distros do not want silent
    failures when a feature is explicitly requested but cannot be built.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 23b85b3fcd1439561f0693755a31f7fded50741b
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Tue Nov 15 19:36:17 2011 -0500

    Add conditional build for ztv
    
    Detect the presence of Video4Linux V2 and do not build if missing.
    
    The geode driver is no longer Linux only.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit e4b771572d7b0797a794340ab8fb8b1db91a5eb1
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Tue Nov 15 18:02:34 2011 -0500

    Move ztv driver to it's own directory
    
    The convention is to have the video driver (geode) in the src subdir
    and any other targets (utils, apps, other drivers) in their own
    directory. It makes it much simpler to right a correct makefile
    and to set conditional compile.
    
    This highlighted a few things to fix. For now, the directory includes
    have not been copied as they are required. The AM_CCASFLAGS is not required
    either as there is no assembler.
    
    Other than that, the gcc command issued has no differences. Other unrequired
    defines could be removed later.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>



More information about the xorg-commit mailing list