summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
32 hoursnetbsd: disable not-useful check for an existing kernel driverHEADmasternia1-0/+11
nv will refuse to work whenever there's a driver other than vga attached to the device we're trying to probe, yet nv works fine on top of gffb or genfb on NetBSD Signed-off-by: Nia Alarie <nia@NetBSD.org> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/20>
32 hoursnetbsd: Try getting the EDID via wscons if the DDC2 method fails.nia2-0/+30
Helps identifying displays on non-x86 hardware. Patch from Michael Lorenz, autotools'ified by me. Signed-off-by: Nia Alarie <nia@NetBSD.org> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/19>
2 daysnv/man: link the gitlab issue trackerYusuf Khan1-0/+5
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
2 daysnv: support GT 320M....hopefullyYusuf Khan1-0/+1
This is gt216 which is a close relative of my gt218 but...it should be closer to the rest of the chipsets enough to work hopefully. Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
2 daysg80/output: update known PCI rom sigsYusuf Khan1-1/+9
See src/common/nvswitch/kernel/inc/rom_nvswitch.h in open-gpu-kernel-modules Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
2 daysg80/disp: preinit all heads we know in displayYusuf Khan1-8/+11
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
2 daysg80/display: Annotate functionsYusuf Khan1-0/+6
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
5 daysuse XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult5-8/+8
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/18>
6 daysuse XNFalloc() instead of xnfallocEnrico Weigelt, metux IT consult1-1/+1
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/18>
11 daysnv: support 0xf0 device id rangeYusuf Khan1-0/+24
inspired by a bugzilla patch: "nv-2.1.12 : patch to add the latest and a lot of Nvidia CPUs (56) (until February 2009)" Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/17>
2024-04-19g80: dont set accelmethod to xaa when xaa is disabledYusuf Khan1-1/+4
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/15>
2024-03-24xf86-video-nv 2.1.23xf86-video-nv-2.1.23Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-03-17treewide: #if -> #ifdefYusuf Khan11-33/+33
I think the latest version of gcc got stricter in regards to this for some reason. Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
2024-01-26riva_hw.c: Ensure ABS macro expands correctlyAlan Coopersmith1-1/+1
Handles warning from Oracle Parfait static analyser: Error: Misleading macro Misleading macro [misleading-macro]: misleading evaluation of unary '-' operator in expansion of macro ABS due to missing parentheses at line 104 of src/riva_hw.c. binary '+' operator has lower precedence than unary '-' operator inside macro body at line 298 if (ABS(ainfo->vburst_size) + (ABS(ainfo->wcvlwm + 32) & ~0xf) - tmp> VFIFO_SIZE) low precedence binary '+' operator is hidden by expansion of macro argument a at line 104 #define ABS(a) (a>0?a:-a) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Fix warning: no previous prototype for ‘G80ExaInit’ [-Wmissing-prototypes]Alan Coopersmith1-0/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Fix -Wdiscarded-qualifiers warning in G80PreInitAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Fix warning: ‘NVPatternROP’ defined but not used [-Wunused-const-variable=]Alan Coopersmith1-0/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Fix warning: ‘NVDMAKickoffCallback’ defined but not used [-Wunused-function]Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Fix 4 -Wdiscarded-qualifiers warningsAlan Coopersmith2-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-2/+1
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:45: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:45: You should run autoupdate. aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from... configure.ac:45: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-07Don't call xf86DisableRandR in ABI_VIDEODRV_VERSION 24 & laterAlan Coopersmith2-0/+10
The API was removed by Xserver commit dd00e5466a0e4ea313d1860824da4123692827ed in xorg-server-1.20.0 and later. Found by gcc -Werror=implicit: riva_driver.c: In function ‘RivaScreenInit’: riva_driver.c:1213:12: error: implicit declaration of function ‘xf86DisableRandR’; did you mean ‘xf86DisableIO’? [-Werror=implicit-function-declaration] 1213 | xf86DisableRandR(); | ^~~~~~~~~~~~~~~~ | xf86DisableIO nv_driver.c: In function ‘NVScreenInit’: nv_driver.c:2635:16: error: implicit declaration of function ‘xf86DisableRandR’; did you mean ‘xf86DisableIO’? [-Werror=implicit-function-declaration] 2635 | xf86DisableRandR(); | ^~~~~~~~~~~~~~~~ | xf86DisableIO Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-05gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-25Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith1-1/+1
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-29fix nv on powerpcYusuf Khan1-0/+4
Written by either Julio Merino <julio at meroh.net> or Nathan Whitehorn <nwhitehorn at freebsd.org> (emails obfuscated similar to freebsd convention, authorship is in doubt)
2022-07-28gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-27bump to version 2.1.22xf86-video-nv-2.1.22Yusuf Khan1-1/+1
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
2022-07-25riva_xaa: don't build RivaSetRopPattern when XAA is not supportedAlan Coopersmith1-1/+2
Fixes gcc warnings: riva_xaa.c: In function ‘RivaSetRopPattern’: riva_xaa.c:94:33: warning: implicit declaration of function ‘XAAGetPatternROP’; did you mean ‘RivaSetPattern’? [-Wimplicit-function-declaration] pRiva->riva.Rop->Rop3 = XAAGetPatternROP(rop); ^~~~~~~~~~~~~~~~ RivaSetPattern At top level: riva_xaa.c:89:1: warning: ‘RivaSetRopPattern’ defined but not used [-Wunused-function] RivaSetRopPattern(RivaPtr pRiva, int rop) ^~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-06-24Replace xf86PciInfo.h with our own pci idsYusuf5-4/+82
Signed-off-by: YusufKhan-improves-things's avatarYusuf Khan <yusisamerican@gmail.com> --- v2: Add header to Makefile v3: commit v2
2022-02-19Update README.G80 for gitlab migrationAlan Coopersmith1-4/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith3-4/+4
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith3-21/+15
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-26autogen.sh: Implement GNOME Build APIColin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-01-26configure: Drop AM_MAINTAINER_MODEPeter Hutterer2-2/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-17xf86-video-nv 2.1.21xf86-video-nv-2.1.21Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2016-07-19Adapt Block/WakeupHandler signature for ABI 23Adam Jackson1-0/+8
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-12-21Fix shadow framebuffer implementation.Matthieu Herrb5-3/+56
Makes it possible to run the nv driver without XAA on cards where EXA is not supported. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-08-16init: Initialize VGA IOBase before using itEgbert Eich1-0/+2
The NV driver did never set the VGA IOBase for those registers which have different addresses dependent whether the VGA engine is running in mono or color mode. This has not been detected as the VGA mode and font save/restore functions initialize this value themselves. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2013-03-24Include xf86Modes.h to use functions from hw/xfree86/modes/xf86Modes.c.Jeremy White1-0/+1
Signed-off-by: Jeremy White <jwhite@codeweavers.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2012-09-25Remove mibstore.hAdam Jackson5-10/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17nv: bump version to 2.1.20xf86-video-nv-2.1.20Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17nv: add missing fbman includes.Dave Airlie2-0/+2
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17xf86-video-nv: bump to version 2.1.19Dave Airlie2-2/+2
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16nv: make XAA optional.Dave Airlie15-16/+103
This allows nv to build without XAA. Signed-off-by: Dave Airlie <airlied@redhat.com>