[PATCH] Fixes for the new Nvidia driver 352.21

Luca Boccassi luca.boccassi at gmail.com
Sat Jul 4 13:31:11 UTC 2015


Dear Maintainer(s),

I am attaching a few patches, svn-diff'ed from top of the "346" SVN
development branch, revision 5355 (head), of the nvidia-graphics-drivers
repo. These fixes are needed in order to package the new 352.21 driver,
released recently by Nvidia. I built both x86_64 and i386 packages, and
I tested with a GTX 780, with both 4.0 and 3.16 kernel versions on
Jessie x86_64. I did not try to build the armhf packages. I found no
issues, everything seemed to work smoothly.

The patches fix the following:

- New IDs added to nv-readme.ids
- pci.ids and monitoring.conf are no longer shipped by Nvidia
- Refreshed the Quilt patches
- Added new symbols
- Conftest.sh looks for new functions: list_cut_position, phys_to_dma,
get_dma_ops, and new structs: dma_ops, noncoherent_swiotlb_dma_ops,
backing_dev_info. The DMA functions are arch-specific, so I did my best
to try and support x86, ARM, ARM64 and PPC (ARM64 and PPC in case it can
be useful in the future, since I read some interest on this mailing list
about adding support for those 2 archs). I believe the versions should
be correct, but please note that I only built the x86 packages.

Feel free to cherry-pick individual fixes from the diffs.

I hope this can be useful!

Kind regards,
Luca Boccassi

-- Package-specific info:
uname -a:
Linux luca-desktop 4.0.0-2-amd64 #1 SMP Debian 4.0.5-1 (2015-06-16) x86_64 GNU/Linux

/proc/version:
Linux version 4.0.0-2-amd64 (debian-kernel at lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-21) ) #1 SMP Debian 4.0.5-1 (2015-06-16)

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  352.21  Tue Jun  9 21:53:31 PDT 2015
GCC version:  gcc version 4.9.2 (Debian 4.9.2-10)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 352-nv-readme.diff
Type: text/x-patch
Size: 277 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150704/31afc405/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 352-pci-ids-monitoring-conf.diff
Type: text/x-patch
Size: 2678 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150704/31afc405/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 352-refresh-patches.diff
Type: text/x-patch
Size: 14044 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150704/31afc405/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 352-symbols.diff
Type: text/x-patch
Size: 29500 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150704/31afc405/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 352-conftest.diff
Type: text/x-patch
Size: 2950 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150704/31afc405/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150704/31afc405/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list