378 Commits

Author SHA1 Message Date
Gaetan Nadon
976120265b 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
91a354748c 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
67b7e53a3a 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:31 -04:00
Gaetan Nadon
d35946f7f5 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
e81a04c16a 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:42:26 -04:00
Aaron Plattner
90ee9cbb11 Add a missing " }," pointed out by Johannes Obermayr.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-19 15:52:06 -07:00
Aaron Plattner
fd341048ba Merge branch 'master' of git://soprano/~aaron/xf86-video-nv 2010-07-19 11:34:39 -07:00
Gaetan Nadon
6d2431a37f The /compat code is no longer required.
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-19 11:34:30 -07:00
Aaron Plattner
a2dc32c5c9 Add PCI table entries for the GeForce 315
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-19 11:28:01 -07:00
Aaron Plattner
c383cc20dd Unlike for lspci and the kernel, X bus IDs are decimal instead of hex.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-14 10:34:01 -07:00
Aaron Plattner
b9f1251a98 Bring NVKnownChipsets up to date.
Based on a suggestion from Renzo <rfabriek@nerdshack.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-13 12:48:21 -07:00
Aaron Plattner
0f220eb693 Fix the kernel driver error reporting to be a little more verbose.
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-15 14:59:25 -07:00
Aaron Plattner
4e1efd5222 Depend on libpciaccess >= 0.10.7.
This is the first version to contain pci_device_has_kernel_driver.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-15 14:59:25 -07:00
Aaron Plattner
78ffecce36 Revert "Refuse to bind to a device which has kernel modesetting active."
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 17ab5dbea6.

Conflicts:

	src/nv_driver.c
2010-06-15 14:59:25 -07:00
Ben Skeggs
133f7c4d51 nv: refuse to load if there's a kernel driver bound to the device already
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-06-15 14:59:25 -07:00
Gaetan Nadon
6a86c607b6 COPYING: update file with Copyright notices from source code.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-13 09:50:31 -04:00
Tiago Vignatti
4fff9d3f0a Don't use libcwrappers for calloc and free
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-05-25 13:32:18 +03:00
Marcin Slusarz
17ab5dbea6 Refuse to bind to a device which has kernel modesetting active.
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-04-16 12:53:05 -07:00
Aaron Plattner
250a3a7cee Update MCP6x supported products.
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-10 18:32:22 -08:00
Markus Strobl
347625b8e1 Bug #19817: Add support for GeForce 7025 and 7050.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-10 18:28:07 -08:00
Aaron Plattner
e6b0463294 Bug #24787: Don't crash if LVDS initialization fails
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08 16:50:54 -08:00
Aaron Plattner
71321d0dde nv 2.1.17
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
xf86-video-nv-2.1.17
2010-03-08 13:34:20 -08:00
Aaron Plattner
467f0f3890 More products
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Andy Ritger <ARitger@nvidia.com>
2010-03-08 13:33:24 -08:00
Aaron Plattner
e34a53167d G80: Cast register reads before shifting them to avoid truncation to 32 bits.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-05 14:27:31 -08:00
Aaron Plattner
9378ecd34a Bug #19545: Add support for MCP7x-based integrated GPUs.
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-05 12:29:15 -08:00
Aaron Plattner
49349f6e47 G80: Log unrecognized outputs
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Andy Ritger <aritger@nvidia.com>
2010-03-02 13:08:02 -08:00
Aaron Plattner
7b01fc8f4b Bug #26612: Separate LUTs per output.
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-03-02 08:19:08 -08:00
Alan Coopersmith
e6f4c9c637 Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15 13:46:50 -08:00
Gaetan Nadon
893cee2aed 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
Aaron Plattner
2b69212ff8 nv 2.1.16 xf86-video-nv-2.1.16 2009-12-15 15:49:00 -08:00
Aaron Plattner
99ed1c83f7 New board names
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-12-15 15:49:00 -08:00
Aaron Plattner
5eb0149713 Remove an unnecessary (and typo'd) gitignore comment 2009-12-15 15:49:00 -08:00
Adam Jackson
85638b2f0a g80: Add a no-op gamma hook so we don't crash on 1.7 servers
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-15 16:42:15 -05:00
Gaetan Nadon
d3ba2a45ed 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
8664df401f INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Automake 'foreign' option is specified in configure.ac.
Remove from Makefile.am
2009-11-10 18:41:34 -05:00
Gaetan Nadon
bbb016dfdc 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-11-10 18:41:34 -05:00
Gaetan Nadon
ee24fd1773 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-11-10 18:41:34 -05:00
Gaetan Nadon
57c505852b .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-11-10 18:41:34 -05:00
Gaetan Nadon
f07ed67a9e .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-11-10 18:41:34 -05:00
Aaron Plattner
b30ec386ab More new boards
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-11-10 12:17:23 -08:00
Aaron Plattner
f050096ad3 New boards
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-11-09 16:16:19 -08:00
Peter Hutterer
0250f0d7eb nv 2.1.15
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xf86-video-nv-2.1.15
2009-09-11 12:24:18 +10:00
Dave Airlie
5486e55c9f abi: fixup so the define is picked up 2009-07-28 18:37:42 +10:00
Dave Airlie
85b5ff3fdf nv: change to using ABI version check 2009-07-28 15:22:40 +10:00
Dave Airlie
445498d2cc nv: update for resources/RAC API removal 2009-07-28 13:32:32 +10:00
Peter Hutterer
957b8c1a24 Update to xextproto 7.1 support.
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers
need to include dpmsconst.h if xextproto 7.1 is available.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-16 11:49:24 +10:00
Gaetan Nadon
e8d4dd85de xf86-video-nv: use XORG_CHANGELOG macro to create ChangeLog. #22611
Adding the macro in configure.ac and use it in Makefile.am
Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-11 20:37:59 +10:00
Aaron Plattner
c56b92149c Bump to 2.1.14 xf86-video-nv-2.1.14 2009-07-02 12:03:13 -07:00
Aaron Plattner
05d2b851b9 More new chips 2009-06-26 17:53:53 -07:00
Aaron Plattner
68c2914f17 Fix modesets on certain GPUs that were broken by the previous commit. 2009-06-12 17:34:43 -07:00