summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-07-23Remove RANDR_12_INTERFACE checking, always defined.Gaetan Nadon2-10/+0
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-19Add a missing " }," pointed out by Johannes Obermayr.Aaron Plattner1-1/+1
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-19Merge branch 'master' of git://soprano/~aaron/xf86-video-nvAaron Plattner1-6/+78
2010-07-19The /compat code is no longer required.Gaetan Nadon2-45/+1
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 Plattner1-1/+4
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 Plattner1-4/+4
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-13Bring NVKnownChipsets up to date.Aaron Plattner1-6/+75
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 Plattner1-3/+6
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-15Revert "Refuse to bind to a device which has kernel modesetting active."Aaron Plattner2-34/+1
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 Skeggs1-0/+6
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-05-25Don't use libcwrappers for calloc and freeTiago Vignatti12-39/+39
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-04-16Refuse to bind to a device which has kernel modesetting active.Marcin Slusarz2-1/+34
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 Plattner1-3/+6
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 Strobl2-2/+10
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08Bug #24787: Don't crash if LVDS initialization failsAaron Plattner1-10/+13
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-08More productsAaron Plattner1-1/+13
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 Plattner1-2/+2
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-05Bug #19545: Add support for MCP7x-based integrated GPUs.Aaron Plattner2-4/+27
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 Plattner1-2/+15
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Andy Ritger <aritger@nvidia.com>
2010-03-02Bug #26612: Separate LUTs per output.Aaron Plattner3-54/+104
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>
2009-12-15New board namesAaron Plattner1-0/+26
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-12-15g80: Add a no-op gamma hook so we don't crash on 1.7 serversAdam Jackson1-1/+7
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-11-10More new boardsAaron Plattner1-0/+1
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-11-09New boardsAaron Plattner1-0/+2
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-07-28abi: fixup so the define is picked upDave Airlie1-0/+1
2009-07-28nv: change to using ABI version checkDave Airlie3-3/+3
2009-07-28nv: update for resources/RAC API removalDave Airlie7-7/+24
2009-07-16Update to xextproto 7.1 support.Peter Hutterer3-0/+15
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-06-26More new chipsAaron Plattner1-0/+1
2009-06-12Fix modesets on certain GPUs that were broken by the previous commit.Aaron Plattner1-1/+3
2009-06-10New chip support.Aaron Plattner4-15/+105
Part of the G80DispPreInit change suggested by <shenyn321@hotmail.com>.
2009-05-28Remove useless loader symbol lists.Adam Jackson3-309/+1
2009-05-15More chip names.Aaron Plattner1-1/+49
Add support for the following previously unsupported chips: * 0x0658 - Quadro FX 380 * 0x0659 - Quadro FX 580 * 0x065C - Quadro FX 770M
2009-05-06G80: Fix incorrect I2C port access for ports above 3.Yinan Shen1-2/+3
2009-05-06Fix a dumb typo in the chip name entry for the GeForce 9800 GTX+Aaron Plattner1-1/+1
2009-03-20Add missing pci id for GeForce 7100 GSBryce Harrington1-0/+1
Signed-off-by: Bryce Harrington <bryce@bryceharrington.org> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-02-03Add NV_/RIVA_ prefixes to fix build warnings.Aaron Plattner4-92/+92
xserver commit 5e0967f5 pollutes the namespace by adding a "SetBit" macro to inputstr.h that conflicts with the preexisting ones in nv_type.h and riva_type.h.
2008-11-03Build fix, s/pNv->/pRiva->/.Chris Ball1-2/+2
Fixes 52c034f5a41195f2b3193ec8c18b3f4ed7a763a3.
2008-11-03Do E-EDID if built against a server that supports it.Adam Jackson3-2/+16
2008-10-27Adjust the nv34 panel tweak for Toshiba Tecra M2.Adam Jackson1-2/+15
2008-10-17Only match PCI display devices in our display driver.Aaron Plattner2-9/+17
Apparently the server needs the driver to tell it that no, we really don't want screen sections on our NIC, USB hubs, bridge devices, etc. Stop whining about PROBE_DETECT in G80 PreInit and just bail out instead. Bug #18099: Xorg -configure tries to create a screen for every nvidia device.
2008-08-28G80: Fix a CPUToScreenColorExpandFill bug introduced by commit 2e0416c.Aaron Plattner1-1/+1
2008-08-26One more missing GPU name.Aaron Plattner1-1/+2
2008-08-25More chips names.Aaron Plattner1-1/+12
2008-08-24Bug #15309: Set the pixel clock even if the hardware doesn't think it needs it.Aaron Plattner1-3/+2
Fixes a problem where switching from DVI to VGA hangs.
2008-08-23Fix warnings.Aaron Plattner2-2/+1
2008-08-23G80: Log the i2c port number for LVDS, when there is one.Aaron Plattner1-2/+6
2008-08-19Print error message when pci_device_map_range failsAlan Coopersmith1-3/+10
2008-08-19Fix pciaccess READ_LONG to work with Sun compilersAlan Coopersmith1-2/+10
Sun compilers don't allow nesting {} inside () apparently
2008-08-04G80: Fix some ROP bugs.Aaron Plattner2-8/+8