nvidia-graphics-drivers-legacy-340xx (340.108-26) unstable; urgency=medium

  [ Andreas Beckmann ]
  * Backport ccflags-y and nv_timer_delete_sync changes from 570.153.02 and
    nv_vma_start_write changes from 570.169 and disable objtool usage to fix
    kernel module build for Linux 6.15.  (Closes: #1114234)

  [ Luca Boccassi ]
  * Remove myself from Uploaders.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 16 Sep 2025 22:12:34 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-25) unstable; urgency=medium

  * Backport drm_driver_has_date changes from 570.124.04 to fix kernel module
    build for Linux 6.14.
  * Bump Standards-Version to 4.7.2. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Wed, 09 Apr 2025 14:31:18 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-24) unstable; urgency=medium

  * Do not test building modules for the removed i386 kernels.
  * Backport cmd_symlink changes from 550.142 to fix kernel module build for
    Linux 6.13.
  * Fix warnings during module build.

 -- Andreas Beckmann <anbe@debian.org>  Sat, 25 Jan 2025 21:08:39 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-23) unstable; urgency=medium

  * Backport nv_get_kern_phys_address() changes from 555.42.02 to fix kernel
    module build with gcc-14 on arm*.
  * Work around architecture misdetection when building the kernel modules in
    an armhf environment on an arm64 host.

 -- Andreas Beckmann <anbe@debian.org>  Sun, 03 Nov 2024 22:48:37 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-22) unstable; urgency=medium

  * Inject -Wno-error=implicit-function-declaration etc. into conftest to fix
    kernel module build with gcc-14.
  * bug-script: Report 'apt-cache policy' (535.183.06-1).
  * Bump Standards-Version to 4.7.0. No changes needed.
  * Move udev rules to /usr.  (Closes: #1073628)

 -- Andreas Beckmann <anbe@debian.org>  Wed, 11 Sep 2024 09:20:18 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-21) unstable; urgency=medium

  * Revert backport of pin_user_pages changes.
  * Backport drm/drm_device.h check needed by drm_device_has_pdev backport.
    (Closes: #1009259)
  * Backport drm_gem_prime_handle_to_fd changes from 470.223.02 to fix kernel
    module build for Linux 6.6.
  * Refuse to load module if IBT is enabled.  (Closes: #1052069)

 -- Andreas Beckmann <anbe@debian.org>  Mon, 13 Nov 2023 03:33:49 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-20) unstable; urgency=medium

  * Backport get_user_pages and pin_user_pages changes from 418.30, 520.56.06,
    525.53 and 535.86.05 to fix kernel module build for Linux 6.5.

 -- Andreas Beckmann <anbe@debian.org>  Thu, 21 Sep 2023 22:19:51 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-19) unstable; urgency=medium

  * Backport vm_area_struct_has_const_vm_flags changes from 470.199.02 to fix
    kernel module build for Linux 6.3.  (Closes: #1036173)
  * libnvidia-tls.so.*: Use patchelf to add a dependency on libpthread.so.0.
    (Closes: #1031489)

 -- Andreas Beckmann <anbe@debian.org>  Thu, 25 May 2023 15:56:16 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-18) unstable; urgency=medium

  * Backport acpi_op_remove changes from 470.182.03 to fix kernel module build
    for Linux 6.2.  (Closes: #1032891)
  * nvidia-alternative: Access kmod config files over a versioned
    symlink (510.108.03-3).
  * Add versioned Provides: nvidia-kernel-dkms-any (515.65.01-1).
  * Bump Standards-Version to 4.6.2. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Fri, 17 Mar 2023 20:36:54 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-17) unstable; urgency=medium

  * Update o_binary patch to fix kernel module build for Linux 6.1.
  * Backport acpi changes from 390.157, replacing earlier backports.
  * Rename the internally used ARCH variable which might clash on externally
    set values.
  * Rename "legacy" variables to more generic "variant" (440.44-2).
  * Use substitutions for ${nvidia-kernel} and friends (510.108.03-1).
  * Try to compile a kernel module at package build time (510.108.03-1).

 -- Andreas Beckmann <anbe@debian.org>  Sat, 03 Dec 2022 11:12:50 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-16) unstable; urgency=medium

  * Backport nv_install_notifier changes from 418.30 and 470.141.03, acpi
    changes from 430.09, 510.85.02 and 515.65.01 to fix kernel module build
    for Linux 6.0.
  * Minor packaging sync and cleanup (470.129.06-6).
  * Drop references to kernel-package and make-kpkg, gone since stretch
    (470.141.03-1).
  * Overhaul build-module-packages.sh (470.141.03-1).
  * Add module-assistant based autopkgtest for the *-source package
    (470.141.03-1).
  * Simplify changelog management for the *-source package (470.141.03-1).
  * Copy the Source stanza from d/control to the module control file
    (470.141.03-1).
  * Update lintian overrides.

 -- Andreas Beckmann <anbe@debian.org>  Thu, 20 Oct 2022 11:30:02 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-15) unstable; urgency=medium

  * Backport pci/dma and acpi_bus_get_device changes from 470.129.06 to fix
    kernel module build for Linux 5.18.  (Closes: #1012588)
  * Switch to B-D: dh-dkms.
  * Bump Standards-Version to 4.6.1. No changes needed.
  * Update lintian overrides.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 21 Jun 2022 21:57:01 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-14) unstable; urgency=medium

  * dkms.conf: Use a BUILD_EXCLUSIVE equivalent hack to skip building for -rt
    kernels, not supported upstream (510.54-1).
  * Declare Testsuite: autopkgtest-pkg-dkms (510.54-1).

 -- Andreas Beckmann <anbe@debian.org>  Tue, 12 Apr 2022 00:40:59 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-13) unstable; urgency=medium

  * Backport pde_data changes from 470.103.01 to fix kernel module build for
    Linux 5.17.
  * Add /etc/X11/xorg.conf.d/20-nvidia-legacy-340xx.conf setting
      Option "IgnoreABI" "1"
    In #1005311 it was confirmed that setting the IgnoreABI flag is sufficient
    to make this driver work with Xorg Xserver 21.
  * Add xorg-video-abi-25 (Xorg Xserver 21) as alternative dependency.
  * nvidia-legacy-340xx-alternative: Add Conflicts: nvidia-alternative to
    prevent co-installation of this unsupported EoL legacy driver along with
    components of the current driver.  (Closes: #1003707)

 -- Andreas Beckmann <anbe@debian.org>  Wed, 23 Feb 2022 20:37:03 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-12) unstable; urgency=medium

  * Add /lib/udev/rules.d/61-nvidia.rules to associate the gpu driven by the
    non-drm legacy driver with a seat, thanks to Oswald Buddenhagen.
    (Closes: #1001756)
  * Work around update-alternatives bug #916799 and re-register the
    alternative to clean-up leftover slaves (390.87-5).
  * nvidia-legacy-340xx-alternative: Add libnvidia-ml.so slave alternative if
    libnvidia-ml-dev is installed (460.56-2).
  * nvidia-legacy-340xx-driver-libs: Add Recommends: libnvidia-encode1
    (460.91.03-1).  (Closes: #989885)
  * Generate tight dependencies on libnvidia*-glcore/libnvidia*-eglcore
    (470.57.02-3).
  * bug-script: Show the nvidia and glx alternatives (470.82.00-1).
  * nvidia-legacy-340xx-alternative: libnvidia-cfg.so.1 on its own is not
    sufficient to activate a nvidia alternative (470.82.00-1).
    (Closes: #996595)
  * Fix bashisms in upstream scripts (470.82.00-1).
  * nvidia-legacy-340xx-kernel-support: Provide
    /etc/modprobe.d/nvidia-options.conf as a template taking into account the
    module renaming. This is a slave alternative of the nvidia alternative
    (470.86-1).  (Closes: #999670)
  * Backport drm_driver_has_gem_prime_callbacks changes from 460.39 to fix drm
    detection for Linux 5.11.  (Closes: #995799)
  * Backport drm_driver_has_legacy_dev_list changes from 361.16 and disable
    operations using drm_driver.legacy_dev_list if unavailable to fix kernel
    module build with DRM_LEGACY disabled.
  * Backport drm_device_has_pdev changes from 470.63.01 to fix kernel module
    build for Linux 5.14.
  * Add check for drm_device.agp and disable operations using drm_device.agp
    if unavailable to fix kernel module build with DRM_LEGACY disabled.
  * Backport stdarg.h changes from 470.82.00 to fix kernel module build for
    Linux 5.16.
  * Bump Standards-Version to 4.6.0. No changes needed.
  * Update lintian overrides.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 28 Dec 2021 20:41:22 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-11) unstable; urgency=medium

  * Backport asm/kmap_types.h changes from 460.32.03 to fix kernel module
    build for Linux 5.11.
  * Backport set_current_state changes from 470.63.01 to fix kernel module
    build for Linux 5.14.  (Closes: #995054)
  * Refresh patches.

 -- Andreas Beckmann <anbe@debian.org>  Sun, 26 Sep 2021 21:40:52 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-10) unstable; urgency=medium

  * Backport drm_prime_pages_to_sg_has_drm_device_arg changes
    from 455.45.01 to fix kernel module build for Linux 5.10.
  * Bump watch file version to 4.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 15 Dec 2020 22:23:56 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-9) unstable; urgency=medium

  * Import drm_legacy_pci_init/exit() from src:linux 5.9.11-1 which are no
    longer available after NOUVEAU_LEGACY_CTX_SUPPORT (and thus DRM_LEGACY)
    got finally disabled.  (Closes: #976056, #976638)
  * Bump Standards-Version to 4.5.1. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 08 Dec 2020 20:00:58 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-8) unstable; urgency=medium

  * Backport drm_gem_object_get changes from 418.30.
  * Backport get_user_pages_remote, vga_tryget, drm_driver_has_gem_free_object
    changes from 455.23.04 to fix kernel module build for Linux 5.9.
    (Closes: #972430)
  * Update lintian overrides.

 -- Andreas Beckmann <anbe@debian.org>  Fri, 23 Oct 2020 23:49:54 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-7) unstable; urgency=medium

  [ Andreas Beckmann ]
  * Allow alternative libnvidia-{tesla,legacy}-*-cfg1 packages to substitute
    libnvidia-cfg1 in third-party packages (450.57-2).
    - Add Provides: libnvidia-cfg.so.1 (= ${nvidia:Version}).
    - Generate alternative versioned dependency on libnvidia-cfg.so.1 through
      the symbols file.
  * Test that the patches can be applied to the module source (450.66-1).
  * nvidia-kernel-dkms: Ship with unapplied patches and apply the patches
    while building kernel modules (450.66-1).
  * Simplify generating the -source and -dkms packages (450.66-1).
  * Backport nv_vmalloc changes from 450.57
    and work around mmap_{sem=>lock} rename
    and modernize use-nv-kernel-ARCH.o_binary.patch
    to fix kernel module build for Linux 5.8.  (Closes: #969089)
  * Update lintian overrides.

  [ Vincent Cheng ]
  * Remove myself from Uploaders.

 -- Andreas Beckmann <anbe@debian.org>  Sun, 30 Aug 2020 02:44:30 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-6) unstable; urgency=medium

  * Fix #includes in conftest.sh to fix kernel module build for Linux 5.7,
    thanks to Jiri Palecek.  (Closes: #960735)
  * Update lintian overrides.

 -- Andreas Beckmann <anbe@debian.org>  Wed, 20 May 2020 17:07:41 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-5) unstable; urgency=medium

  * Backport nv_ioremap_nocache changes from 440.64 and nv_proc_ops_t and
    nv_timeval changes from 440.82 to fix kernel module build for Linux 5.6.
  * drm_legacy_pci_init() was moved to drm/drm_legacy.h in Linux 5.6.
    (Closes: #958446)

 -- Andreas Beckmann <anbe@debian.org>  Tue, 28 Apr 2020 13:01:30 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-4) unstable; urgency=medium

  * Add 03-unfuck-for-5.5.x.patch from Archlinux to fix kernel module build
    for Linux 5.5.  (Closes: #956034)

 -- Andreas Beckmann <anbe@debian.org>  Tue, 07 Apr 2020 18:58:40 +0200

nvidia-graphics-drivers-legacy-340xx (340.108-3~deb9u1) stretch; urgency=medium

  * Rebuild for stretch.

 -- Andreas Beckmann <anbe@debian.org>  Sun, 02 Feb 2020 12:56:28 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-3~deb10u1) buster; urgency=medium

  * Rebuild for buster.

 -- Andreas Beckmann <anbe@debian.org>  Sun, 02 Feb 2020 12:26:56 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-3) unstable; urgency=medium

  * Bump Standards-Version to 4.5.0. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Wed, 29 Jan 2020 21:49:47 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-2) unstable; urgency=medium

  * Restore kmem_cache_create_usercopy.patch.  (Closes: #948032, #948195)
  * Add NEWS entry w.r.t. EoL state.
  * Use substitution to keep Standards-Version in sync (430.64-5).

 -- Andreas Beckmann <anbe@debian.org>  Mon, 06 Jan 2020 13:56:19 +0100

nvidia-graphics-drivers-legacy-340xx (340.108-1) unstable; urgency=medium

  * The 340.xx legacy driver series has been declared as End-of-Life by
    NVIDIA. No further updates fixing security issues, critical bugs, or
    adding support for new Xorg or Linux releases will be issued.
    https://nvidia.custhelp.com/app/answers/detail/a_id/3142

  * New upstream legacy 340xx branch release 340.108 (2019-12-23).
    - Updated the nvidia-drm kernel module for compatibility with the removal
      of the DRIVER_PRIME flag in recent Linux kernel versions.
    - Updated nvidia-bug-report.sh to search the systemd journal for
      gdm-x-session logs.
    - Fixed a build failure, "too many arguments to function
      'get_user_pages'", when building the NVIDIA kernel module for Linux
      kernel v4.4.168.
    - Fixed a build failure, "implicit declaration of function
      do_gettimeofday", when building the NVIDIA kernel module for Linux
      kernel 5.0 release candidates.
    * Improved compatibility with recent Linux kernels.

  [ Andreas Beckmann ]
  * Add back buildfix_kernel_4.11.patch (replacing vm-fault.patch) and (parts
    of) buildfix_kernel_5.2.patch from Ubuntu to fix more vm-fault issues
    during kernel module build for Linux 5.2+.
  * Refresh patches.
  * Allow alternative libnvidia-{tesla,legacy}-*-cuda1 packages to substitute
    libcuda1 in third-party packages (430.64-3).
    - Add Provides: libcuda.so.1 (= ${nvidia:Version}).
    - Generate alternative versioned dependency on libcuda.so.1 through the
      symbols file.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 31 Dec 2019 04:23:51 +0100

nvidia-graphics-drivers-legacy-340xx (340.107-8) unstable; urgency=medium

  * Create and commit tarball symlinks for legacy branches (430.64-1).
  * Allow alternative libnvidia-{tesla,legacy}-*-ml1 packages to substitute
    libnvidia-ml1 in third-party packages (430.64-2).
    - Add Provides: libnvidia-ml.so.1 (= ${nvidia:Version}).
    - Generate alternative versioned dependency on libnvidia-ml.so.1 through
      the symbols file.
  * Add buildfix_kernel_5.4.patch from Ubuntu to fix kernel module build for
    Linux 5.4.  (Closes: #946137)

 -- Andreas Beckmann <anbe@debian.org>  Thu, 05 Dec 2019 22:45:31 +0100

nvidia-graphics-drivers-legacy-340xx (340.107-7) unstable; urgency=medium

  * Add buildfix_kernel_5.3.patch from Ubuntu to fix kernel module build for
    Linux 5.3.  (Closes: #941788)
  * Bump Standards-Version to 4.4.1. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Thu, 10 Oct 2019 14:50:51 +0200

nvidia-graphics-drivers-legacy-340xx (340.107-6) unstable; urgency=medium

  * Add conftest-include-guard.patch to restore compatibility with older
    kernels.

 -- Andreas Beckmann <anbe@debian.org>  Sat, 17 Aug 2019 21:46:00 +0200

nvidia-graphics-drivers-legacy-340xx (340.107-5) unstable; urgency=medium

  * Add buildfix_kernel_4.11.patch (replacing vm-fault.patch),
    buildfix_kernel_5.0.patch, buildfix_kernel_5.2.patch from Ubuntu to fix
    kernel module build for Linux 5.2.  (Closes: #934295, #923815)
  * Bump Standards-Version to 4.4.0. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Mon, 12 Aug 2019 12:20:21 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog libgl1-nvidia-legacy-340xx-glx`.
