summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-19Make failure to XAA non-fatalAdam Jackson
Fall back to NoAccel on G80 since there's no shadowfb support there, otherwise fall to shadowfb. Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-04-25remove duplicated includesNicolas Kaiser
Remove duplicated includes of guarded headers. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2011-03-01Fix compiler warning.Cyril Brulebois
Get rid of this with CFLAGS="-Wall -Werror": | CC g80_display.lo | cc1: warnings being treated as errors | g80_display.c: In function ‘G80CrtcSetPClk’: | g80_display.c:216: error: unused variable ‘i’ Signed-off-by: Cyril Brulebois <kibi@debian.org> Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Tested-by: Aaron Plattner <aplattner@nvidia.com>
2010-10-30Correct copyright date in previous commitAlan Coopersmith
Oops, pasted in the new template and forgot to restore the original date Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-30nv 2.1.18xf86-video-nv-2.1.18Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-23Remove RANDR_12_INTERFACE checking, always defined.Gaetan Nadon
RANDR_12_INTERFACE is defined in xserver/randr/randstr.h since version 1.2. This driver only configures against xserver 1.3 or higher. Reported-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-22config: add comments for main statementsGaetan Nadon
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: complete AC_INIT m4 quotingGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_SUBST([XORG_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_HEADER_STDCGaetan Nadon
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 Nadon
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 Nadon
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 Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages.
2010-07-19Add a missing " }," pointed out by Johannes Obermayr.Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-19Merge branch 'master' of git://soprano/~aaron/xf86-video-nvAaron Plattner
2010-07-19The /compat code is no longer required.Gaetan Nadon
This was used at one point in time to backport the modes code from server 1.3 to server 1.2. When the tarball was created, whatever modes code was on the developer disk was included. The server 1.2 as shipped in the tarball on the web does not contain the modes code. It was added just after and found in git branch server-1.2-branch. The modes code was initially included in version 2.0.95 and still compiles with server 1.2. As of version 2.1.9 it no longer compiles. Subsequent versions are not backward compatible and probably not meant to be. The XRandR wiki points to articles saying that XRandR 1.2 first appeared in server 1.3 and nv 2.0.95. Given that modes code in current server version does not compile with server 1.2, and that the modes code is included in version 1.3 and up, might as well stop including this modes code in the driver. This patch makes the driver requiring server 1.3 or later. This will solve the issue where "make dist" fails "out of the box" and requires manual fix-up on the build machine which is documented in the compat/README file. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-19Add PCI table entries for the GeForce 315Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-14Unlike for lspci and the kernel, X bus IDs are decimal instead of hex.Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-13Bring NVKnownChipsets up to date.Aaron Plattner
Based on a suggestion from Renzo <rfabriek@nerdshack.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-15Fix the kernel driver error reporting to be a little more verbose.Aaron Plattner
Commit 3e9f7704122e0685ce83f7d3d3630e8a07293671 added printouts when the driver detects that a kernel module is attached to the given PCI device. However, it uses ErrorF and doesn't print any identifying information about *which* device has the problem or even which driver is complaining. Fix it to use xf86DrvMsg and print the driver name and PCI device and bus IDs. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-15Depend on libpciaccess >= 0.10.7.Aaron Plattner
This is the first version to contain pci_device_has_kernel_driver. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-15Revert "Refuse to bind to a device which has kernel modesetting active."Aaron Plattner
It was superseded by 3e9f7704122e0685ce83f7d3d3630e8a07293671, which depends on libpciaccess and not libdrm. This is better, because the server already depends on the former, while the latter is optional. This reverts commit 17ab5dbea69e690cbf78c25040db518471e0887f. Conflicts: src/nv_driver.c
2010-06-15nv: refuse to load if there's a kernel driver bound to the device alreadyBen Skeggs
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-13COPYING: update file with Copyright notices from source code.Gaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-25Don't use libcwrappers for calloc and freeTiago Vignatti
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-04-16Refuse to bind to a device which has kernel modesetting active.Marcin Slusarz
Touching directly the hardware while kernel modesetting is active breaks console output. Patch almost entrirely based on VESA patch by Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Tested-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-10Update MCP6x supported products.Aaron Plattner
Use the official names for 10DE:053B and 10DE:053E. Add some additional product IDs and update the documentation. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-10Bug #19817: Add support for GeForce 7025 and 7050.Markus Strobl
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08Bug #24787: Don't crash if LVDS initialization failsAaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08nv 2.1.17xf86-video-nv-2.1.17Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08More productsAaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Andy Ritger <ARitger@nvidia.com>
2010-03-05G80: Cast register reads before shifting them to avoid truncation to 32 bits.Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-05Bug #19545: Add support for MCP7x-based integrated GPUs.Aaron Plattner
Based in part on an idea from Ben Skeggs. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Andy Ritger <aritger@nvidia.com> Reviewed-by: Christian Zander <chzander@nvidia.com>
2010-03-02G80: Log unrecognized outputsAaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Andy Ritger <aritger@nvidia.com>
2010-03-02Bug #26612: Separate LUTs per output.Aaron Plattner
Wire up the RandR 1.2 gamma_set hook. Call it from G80SetPalette like the Intel driver does. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Andy Ritger <aritger@nvidia.com> Reviewed-by: Christian Zander <chzander@nvidia.com>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-30configure.ac: remove unused sdkdir=$(pkg-config...) statementGaetan Nadon
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-15nv 2.1.16xf86-video-nv-2.1.16Aaron Plattner
2009-12-15New board namesAaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-12-15Remove an unnecessary (and typo'd) gitignore commentAaron Plattner
2009-12-15g80: Add a no-op gamma hook so we don't crash on 1.7 serversAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-11-23Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-11-10INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am
2009-11-10INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
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-11-10Several driver modules do not have a ChangeLog target in Makefile.am #23814Gaetan Nadon
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