Version in base suite: 550.163.01-2 Base version: nvidia-open-gpu-kernel-modules_550.163.01-2 Target version: nvidia-open-gpu-kernel-modules_550.163.01-4.1 Base file: /srv/ftp-master.debian.org/ftp/pool/contrib/n/nvidia-open-gpu-kernel-modules/nvidia-open-gpu-kernel-modules_550.163.01-2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/contrib/n/nvidia-open-gpu-kernel-modules/nvidia-open-gpu-kernel-modules_550.163.01-4.1.dsc .gitignore | 1 changelog | 35 ++ patches/0006-backport-NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT-changes-f.patch | 30 ++ patches/module/0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch | 59 ----- patches/module/0072-backport-iommu_dev_enable_feature-changes-from-535.2.patch | 55 ++++ patches/module/0073-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch | 59 +++++ patches/module/0074-backport-drm_fb_create_takes_format_info-changes-fro.patch | 118 ++++++++++ patches/module/0075-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch | 58 ++++ patches/module/series | 5 patches/series-manual | 1 rules.defs | 2 source/lintian-overrides | 4 12 files changed, 361 insertions(+), 66 deletions(-) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpw1zqk0gh/nvidia-open-gpu-kernel-modules_550.163.01-2.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpw1zqk0gh/nvidia-open-gpu-kernel-modules_550.163.01-4.1.dsc: no acceptable signature found diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore --- nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/patches/*~ diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog --- nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog 2026-09-20 06:57:48.000000000 +0000 @@ -1,3 +1,29 @@ +nvidia-open-gpu-kernel-modules (550.163.01-4.1) unstable; urgency=medium + + [ Agathe Porte ] + * Non-maintainer upload. + + [ Ciel Avenir ] + * Backport NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG changes from + 590.48.01 to fix open kernel module build for Linux 6.12.100. + (Closes: #1143204) + + -- Agathe Porte Sun, 20 Sep 2026 08:57:48 +0200 + +nvidia-open-gpu-kernel-modules (550.163.01-4) unstable; urgency=medium + + * Sync with src:nvidia-graphics-drivers. (Closes: #1120470, #1116955) + + -- Andreas Beckmann Thu, 20 Nov 2025 00:08:25 +0100 + +nvidia-open-gpu-kernel-modules (550.163.01-3) unstable; urgency=medium + + * Backport NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT changes from 535.261.03 to fix + open kernel module build for Linux 6.16. (Closes: #1112186) + * Sync with src:nvidia-graphics-drivers. + + -- Andreas Beckmann Thu, 28 Aug 2025 09:22:01 +0200 + nvidia-open-gpu-kernel-modules (550.163.01-2) unstable; urgency=medium * Sync with src:nvidia-graphics-drivers. @@ -56,13 +82,18 @@ nvidia-open-gpu-kernel-modules (550.107.02-1) experimental; urgency=medium * New upstream production branch release 550.107.02 (2024-07-29). - * New upstream production branch release 550.100 (2024-07-09). - * New upstream Tesla branch release 550.90.12 (2024-09-10). * Sync with src:nvidia-graphics-drivers. * Refresh patches. -- Andreas Beckmann Sat, 17 May 2025 01:59:44 +0200 +nvidia-open-gpu-kernel-modules (550.100-1) UNRELEASED; urgency=medium + + * New upstream production branch release 550.100 (2024-07-09). + * New upstream Tesla branch release 550.90.12 (2024-09-10). + + -- Andreas Beckmann Sat, 17 May 2025 01:02:55 +0200 + nvidia-open-gpu-kernel-modules (550.90.07-1) experimental; urgency=medium * New upstream production and Tesla branch release 550.90.07 (2024-06-04). diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/0006-backport-NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT-changes-f.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/0006-backport-NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT-changes-f.patch --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/0006-backport-NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT-changes-f.patch 1970-01-01 00:00:00.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/0006-backport-NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT-changes-f.patch 2026-08-01 06:00:23.000000000 +0000 @@ -0,0 +1,30 @@ +From a8905a9a6f4df6d294fff534232dd6ec8ea84be6 Mon Sep 17 00:00:00 2001 +From: Andreas Beckmann +Date: Sun, 27 Jul 2025 10:05:50 +0200 +Subject: [PATCH] backport NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT changes from + 535.261.03 + +--- + kernel-open/nvidia/nv-dmabuf.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/kernel-open/nvidia/nv-dmabuf.c b/kernel-open/nvidia/nv-dmabuf.c +index f0608396..0086d7c6 100644 +--- a/kernel-open/nvidia/nv-dmabuf.c ++++ b/kernel-open/nvidia/nv-dmabuf.c +@@ -783,10 +783,9 @@ nv_dma_buf_map( + // On non-coherent platforms, importers must be able to handle peer + // MMIO resources not backed by struct page. + // +-#if defined(NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT) && \ +- defined(NV_DMA_BUF_ATTACHMENT_HAS_PEER2PEER) ++#if defined(NV_DMA_BUF_ATTACHMENT_HAS_PEER2PEER) + if (!priv->nv->coherent && +- dma_buf_attachment_is_dynamic(attachment) && ++ (attachment->importer_ops != NULL) && + !attachment->peer2peer) + { + nv_printf(NV_DBG_ERRORS, +-- +2.39.5 + diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -From 6537c546d698b1d21074f4a3c9085b9183ea469f Mon Sep 17 00:00:00 2001 -From: Andreas Beckmann -Date: Thu, 19 Jun 2025 10:23:36 +0200 -Subject: [PATCH] backport NV_DRM_FBDEV_AVAILABLE changes from 570.169 - ---- - nvidia-drm/nvidia-drm-conftest.h | 14 ++++++++++++++ - nvidia-drm/nvidia-drm-os-interface.h | 10 ---------- - 2 files changed, 14 insertions(+), 10 deletions(-) - -diff --git a/nvidia-drm/nvidia-drm-conftest.h b/nvidia-drm/nvidia-drm-conftest.h -index 54b2a99f..d3274600 100644 ---- a/nvidia-drm/nvidia-drm-conftest.h -+++ b/nvidia-drm/nvidia-drm-conftest.h -@@ -62,6 +62,20 @@ - #undef NV_DRM_FENCE_AVAILABLE - #endif - -+#if defined(NV_DRM_FBDEV_GENERIC_SETUP_PRESENT) && \ -+ defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) -+#define NV_DRM_FBDEV_AVAILABLE -+#define NV_DRM_FBDEV_GENERIC_AVAILABLE -+#endif -+ -+#if defined(NV_DRM_FBDEV_TTM_SETUP_PRESENT) && \ -+ defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) -+#if IS_ENABLED(CONFIG_DRM_TTM_HELPER) -+#define NV_DRM_FBDEV_AVAILABLE -+#define NV_DRM_FBDEV_TTM_AVAILABLE -+#endif -+#endif -+ - #if defined(NV_DRM_CLIENT_SETUP_PRESENT) && \ - (defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) || \ - defined(NV_APERTURE_REMOVE_CONFLICTING_PCI_DEVICES_PRESENT)) -diff --git a/nvidia-drm/nvidia-drm-os-interface.h b/nvidia-drm/nvidia-drm-os-interface.h -index 25c366f2..993678ee 100644 ---- a/nvidia-drm/nvidia-drm-os-interface.h -+++ b/nvidia-drm/nvidia-drm-os-interface.h -@@ -58,16 +58,6 @@ typedef struct nv_timer nv_drm_timer; - #error "Need to define kernel timer callback primitives for this OS" - #endif - --#if defined(NV_DRM_FBDEV_GENERIC_SETUP_PRESENT) && defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) --#define NV_DRM_FBDEV_AVAILABLE --#define NV_DRM_FBDEV_GENERIC_AVAILABLE --#endif -- --#if defined(NV_DRM_FBDEV_TTM_SETUP_PRESENT) && defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) --#define NV_DRM_FBDEV_AVAILABLE --#define NV_DRM_FBDEV_TTM_AVAILABLE --#endif -- - struct page; - - /* Set to true when the atomic modeset feature is enabled. */ --- -2.39.5 - diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-iommu_dev_enable_feature-changes-from-535.2.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-iommu_dev_enable_feature-changes-from-535.2.patch --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-iommu_dev_enable_feature-changes-from-535.2.patch 1970-01-01 00:00:00.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0072-backport-iommu_dev_enable_feature-changes-from-535.2.patch 2026-08-01 06:00:23.000000000 +0000 @@ -0,0 +1,55 @@ +From 8d9b7cb1162933a760255d72a9f724b28fb0f1ea Mon Sep 17 00:00:00 2001 +From: Andreas Beckmann +Date: Sun, 27 Jul 2025 21:53:55 +0200 +Subject: [PATCH] backport iommu_dev_enable_feature changes from 535.261.03 + +--- + nvidia-uvm/uvm_ats_sva.c | 5 ++++- + nvidia/nvidia.Kbuild | 2 ++ + 2 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/nvidia-uvm/uvm_ats_sva.c b/nvidia-uvm/uvm_ats_sva.c +index 75bad496..f46cd7a2 100644 +--- a/nvidia-uvm/uvm_ats_sva.c ++++ b/nvidia-uvm/uvm_ats_sva.c +@@ -308,12 +308,13 @@ void uvm_ats_smmu_invalidate_tlbs(uvm_gpu_va_space_t *gpu_va_space, NvU64 addr, + + NV_STATUS uvm_ats_sva_add_gpu(uvm_parent_gpu_t *parent_gpu) + { ++#if NV_IS_EXPORT_SYMBOL_GPL_iommu_dev_enable_feature + int ret; + + ret = iommu_dev_enable_feature(&parent_gpu->pci_dev->dev, IOMMU_DEV_FEAT_SVA); + if (ret) + return errno_to_nv_status(ret); +- ++#endif + if (UVM_ATS_SMMU_WAR_REQUIRED()) + return uvm_ats_smmu_war_init(parent_gpu); + else +@@ -325,7 +326,9 @@ void uvm_ats_sva_remove_gpu(uvm_parent_gpu_t *parent_gpu) + if (UVM_ATS_SMMU_WAR_REQUIRED()) + uvm_ats_smmu_war_deinit(parent_gpu); + ++#if NV_IS_EXPORT_SYMBOL_GPL_iommu_dev_disable_feature + iommu_dev_disable_feature(&parent_gpu->pci_dev->dev, IOMMU_DEV_FEAT_SVA); ++#endif + } + + NV_STATUS uvm_ats_sva_bind_gpu(uvm_gpu_va_space_t *gpu_va_space) +diff --git a/nvidia/nvidia.Kbuild b/nvidia/nvidia.Kbuild +index da5481ee..111d7174 100644 +--- a/nvidia/nvidia.Kbuild ++++ b/nvidia/nvidia.Kbuild +@@ -238,6 +238,8 @@ NV_CONFTEST_SYMBOL_COMPILE_TESTS += ecc_digits_from_bytes + NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_present_timer_delete_sync + NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_present_hrtimer_setup + NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_gpl___vma_start_write ++NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_gpl_iommu_dev_enable_feature ++NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_gpl_iommu_dev_disable_feature + + NV_CONFTEST_TYPE_COMPILE_TESTS += dma_ops + NV_CONFTEST_TYPE_COMPILE_TESTS += swiotlb_dma_ops +-- +2.39.5 + diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch 1970-01-01 00:00:00.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch 2026-08-01 06:00:23.000000000 +0000 @@ -0,0 +1,59 @@ +From 6537c546d698b1d21074f4a3c9085b9183ea469f Mon Sep 17 00:00:00 2001 +From: Andreas Beckmann +Date: Thu, 19 Jun 2025 10:23:36 +0200 +Subject: [PATCH] backport NV_DRM_FBDEV_AVAILABLE changes from 570.169 + +--- + nvidia-drm/nvidia-drm-conftest.h | 14 ++++++++++++++ + nvidia-drm/nvidia-drm-os-interface.h | 10 ---------- + 2 files changed, 14 insertions(+), 10 deletions(-) + +diff --git a/nvidia-drm/nvidia-drm-conftest.h b/nvidia-drm/nvidia-drm-conftest.h +index 54b2a99f..d3274600 100644 +--- a/nvidia-drm/nvidia-drm-conftest.h ++++ b/nvidia-drm/nvidia-drm-conftest.h +@@ -62,6 +62,20 @@ + #undef NV_DRM_FENCE_AVAILABLE + #endif + ++#if defined(NV_DRM_FBDEV_GENERIC_SETUP_PRESENT) && \ ++ defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) ++#define NV_DRM_FBDEV_AVAILABLE ++#define NV_DRM_FBDEV_GENERIC_AVAILABLE ++#endif ++ ++#if defined(NV_DRM_FBDEV_TTM_SETUP_PRESENT) && \ ++ defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) ++#if IS_ENABLED(CONFIG_DRM_TTM_HELPER) ++#define NV_DRM_FBDEV_AVAILABLE ++#define NV_DRM_FBDEV_TTM_AVAILABLE ++#endif ++#endif ++ + #if defined(NV_DRM_CLIENT_SETUP_PRESENT) && \ + (defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) || \ + defined(NV_APERTURE_REMOVE_CONFLICTING_PCI_DEVICES_PRESENT)) +diff --git a/nvidia-drm/nvidia-drm-os-interface.h b/nvidia-drm/nvidia-drm-os-interface.h +index 25c366f2..993678ee 100644 +--- a/nvidia-drm/nvidia-drm-os-interface.h ++++ b/nvidia-drm/nvidia-drm-os-interface.h +@@ -58,16 +58,6 @@ typedef struct nv_timer nv_drm_timer; + #error "Need to define kernel timer callback primitives for this OS" + #endif + +-#if defined(NV_DRM_FBDEV_GENERIC_SETUP_PRESENT) && defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) +-#define NV_DRM_FBDEV_AVAILABLE +-#define NV_DRM_FBDEV_GENERIC_AVAILABLE +-#endif +- +-#if defined(NV_DRM_FBDEV_TTM_SETUP_PRESENT) && defined(NV_DRM_APERTURE_REMOVE_CONFLICTING_PCI_FRAMEBUFFERS_PRESENT) +-#define NV_DRM_FBDEV_AVAILABLE +-#define NV_DRM_FBDEV_TTM_AVAILABLE +-#endif +- + struct page; + + /* Set to true when the atomic modeset feature is enabled. */ +-- +2.39.5 + diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0074-backport-drm_fb_create_takes_format_info-changes-fro.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0074-backport-drm_fb_create_takes_format_info-changes-fro.patch --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0074-backport-drm_fb_create_takes_format_info-changes-fro.patch 1970-01-01 00:00:00.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0074-backport-drm_fb_create_takes_format_info-changes-fro.patch 2026-08-01 06:00:23.000000000 +0000 @@ -0,0 +1,118 @@ +From 0b27226df4e5536edf73c471b9aa90bfbf558d5e Mon Sep 17 00:00:00 2001 +From: Andreas Beckmann +Date: Sun, 2 Nov 2025 08:18:20 +0100 +Subject: [PATCH] backport drm_fb_create_takes_format_info changes from + 535.274.02 + +--- + conftest.sh | 19 +++++++++++++++++++ + nvidia-drm/nvidia-drm-drv.c | 6 ++++++ + nvidia-drm/nvidia-drm-fb.c | 6 ++++++ + nvidia-drm/nvidia-drm-fb.h | 3 +++ + nvidia-drm/nvidia-drm-sources.mk | 1 + + 5 files changed, 35 insertions(+) + +diff --git a/conftest.sh b/conftest.sh +index 4d0b9916..270ef798 100755 +--- a/conftest.sh ++++ b/conftest.sh +@@ -4115,6 +4115,25 @@ compile_test() { + fi + ;; + ++ drm_fb_create_takes_format_info) ++ # ++ # Determine if a `struct drm_format_info *` is passed into ++ # the .fb_create callback. If so, it will have 4 arguments. ++ # This parameter was added in commit 81112eaac559 ("drm: ++ # Pass the format info to .fb_create") in linux-next ++ # (2025-07-16) ++ CODE=" ++ #include ++ #include ++ ++ static const struct drm_mode_config_funcs funcs; ++ void conftest_drm_fb_create_takes_format_info(void) { ++ funcs.fb_create(NULL, NULL, NULL, NULL); ++ }" ++ ++ compile_check_conftest "$CODE" "NV_DRM_FB_CREATE_TAKES_FORMAT_INFO" "" "types" ++ ;; ++ + drm_connector_funcs_have_mode_in_name) + # + # Determine if _mode_ is present in connector function names. We +diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c +index 1d64592f..8c0fc296 100644 +--- a/nvidia-drm/nvidia-drm-drv.c ++++ b/nvidia-drm/nvidia-drm-drv.c +@@ -188,6 +188,9 @@ static void nv_drm_output_poll_changed(struct drm_device *dev) + static struct drm_framebuffer *nv_drm_framebuffer_create( + struct drm_device *dev, + struct drm_file *file, ++#if defined(NV_DRM_FB_CREATE_TAKES_FORMAT_INFO) ++ const struct drm_format_info *info, ++#endif + #if defined(NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG) + const struct drm_mode_fb_cmd2 *cmd + #else +@@ -203,6 +206,9 @@ static struct drm_framebuffer *nv_drm_framebuffer_create( + fb = nv_drm_internal_framebuffer_create( + dev, + file, ++#if defined(NV_DRM_FB_CREATE_TAKES_FORMAT_INFO) ++ info, ++#endif + &local_cmd); + + #if !defined(NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG) +diff --git a/nvidia-drm/nvidia-drm-fb.c b/nvidia-drm/nvidia-drm-fb.c +index 1c842015..098459cd 100644 +--- a/nvidia-drm/nvidia-drm-fb.c ++++ b/nvidia-drm/nvidia-drm-fb.c +@@ -206,6 +206,9 @@ fail: + struct drm_framebuffer *nv_drm_internal_framebuffer_create( + struct drm_device *dev, + struct drm_file *file, ++#if defined(NV_DRM_FB_CREATE_TAKES_FORMAT_INFO) ++ const struct drm_format_info *info, ++#endif + struct drm_mode_fb_cmd2 *cmd) + { + struct nv_drm_device *nv_dev = to_nv_device(dev); +@@ -259,6 +262,9 @@ struct drm_framebuffer *nv_drm_internal_framebuffer_create( + dev, + #endif + &nv_fb->base, ++#if defined(NV_DRM_FB_CREATE_TAKES_FORMAT_INFO) ++ info, ++#endif + cmd); + + /* +diff --git a/nvidia-drm/nvidia-drm-fb.h b/nvidia-drm/nvidia-drm-fb.h +index cf477cc7..c853559c 100644 +--- a/nvidia-drm/nvidia-drm-fb.h ++++ b/nvidia-drm/nvidia-drm-fb.h +@@ -59,6 +59,9 @@ static inline struct nv_drm_framebuffer *to_nv_framebuffer( + struct drm_framebuffer *nv_drm_internal_framebuffer_create( + struct drm_device *dev, + struct drm_file *file, ++#if defined(NV_DRM_FB_CREATE_TAKES_FORMAT_INFO) ++ const struct drm_format_info *info, ++#endif + struct drm_mode_fb_cmd2 *cmd); + + #endif /* NV_DRM_ATOMIC_MODESET_AVAILABLE */ +diff --git a/nvidia-drm/nvidia-drm-sources.mk b/nvidia-drm/nvidia-drm-sources.mk +index a1354c00..06e0f206 100644 +--- a/nvidia-drm/nvidia-drm-sources.mk ++++ b/nvidia-drm/nvidia-drm-sources.mk +@@ -139,3 +139,4 @@ NV_CONFTEST_TYPE_COMPILE_TESTS += drm_output_poll_changed + NV_CONFTEST_TYPE_COMPILE_TESTS += drm_driver_has_date + NV_CONFTEST_TYPE_COMPILE_TESTS += file_operations_fop_unsigned_offset_present + NV_CONFTEST_TYPE_COMPILE_TESTS += drm_connector_helper_funcs_mode_valid_has_const_mode_arg ++NV_CONFTEST_TYPE_COMPILE_TESTS += drm_fb_create_takes_format_info +-- +2.39.5 + diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0075-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0075-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0075-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch 1970-01-01 00:00:00.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0075-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch 2026-09-20 06:57:48.000000000 +0000 @@ -0,0 +1,58 @@ +From: cielavenir +Date: Mon, 10 Aug 2026 15:00:00 +0900 +Subject: [PATCH] backport NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG from 590.48.01 + +--- a/nvidia/nv-pci.c 2026-08-10 14:37:29.701142746 +0900 ++++ b/nvidia/nv-pci.c 2026-08-10 14:47:54.711993675 +0900 +@@ -234,7 +234,11 @@ + + resize: + /* Attempt to resize BAR1 to the largest supported size */ ++#if defined(NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG) ++ r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size, 0); ++#else + r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size); ++#endif + + if (r) { + if (r == -ENOSPC) +--- a/nvidia/nvidia.Kbuild 2026-08-10 14:42:53.576785875 +0900 ++++ b/nvidia/nvidia.Kbuild 2026-08-10 14:46:57.086638469 +0900 +@@ -262,6 +262,7 @@ + NV_CONFTEST_TYPE_COMPILE_TESTS += memory_failure_has_trapno_arg + NV_CONFTEST_TYPE_COMPILE_TESTS += foll_longterm_present + NV_CONFTEST_TYPE_COMPILE_TESTS += bus_type_has_iommu_ops ++NV_CONFTEST_TYPE_COMPILE_TESTS += pci_resize_resource_has_exclude_bars_arg + + NV_CONFTEST_GENERIC_COMPILE_TESTS += dom0_kernel_present + NV_CONFTEST_GENERIC_COMPILE_TESTS += nvidia_vgpu_kvm_build +--- a/conftest.sh 2026-08-10 14:42:53.584786074 +0900 ++++ b/conftest.sh 2026-08-10 14:44:57.647827732 +0900 +@@ -6449,6 +6449,27 @@ + compile_check_conftest "$CODE" "NV_PCI_REBAR_GET_POSSIBLE_SIZES_PRESENT" "" "functions" + ;; + ++ pci_resize_resource_has_exclude_bars_arg) ++ # ++ # Determine if pci_resize_resource() has exclude_bars argument. ++ # ++ # exclude_bars argument was added to pci_resize_resource by commit ++ # 337b1b566db0 (11/14/2025) ("PCI: Fix restoring BARs on BAR resize rollback path") ++ # in linux-next. ++ # ++ CODE=" ++ #include ++ ++ typeof(pci_resize_resource) conftest_pci_resize_resource_has_exclude_bars_arg; ++ int __must_check conftest_pci_resize_resource_has_exclude_bars_arg(struct pci_dev *dev, ++ int i, int size, ++ int exclude_bars) { ++ return 0; ++ }" ++ ++ compile_check_conftest "$CODE" "NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG" "" "types" ++ ;; ++ + wait_for_random_bytes) + # + # Determine if the wait_for_random_bytes() function is present. diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series 2026-09-20 06:57:48.000000000 +0000 @@ -20,7 +20,10 @@ 0069-backport-page_pgmap-changes-from-570.153.02.patch 0070-backport-make_device_exclusive-changes-from-570.153..patch 0071-backport-nv_vma_start_write-changes-from-570.169.patch -0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch +0072-backport-iommu_dev_enable_feature-changes-from-535.2.patch +0073-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch +0074-backport-drm_fb_create_takes_format_info-changes-fro.patch +0075-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch # build system updates conftest-verbose.patch diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/series-manual nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/series-manual --- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/series-manual 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/series-manual 2026-08-01 06:00:23.000000000 +0000 @@ -1,5 +1,6 @@ 0004-backport-page_pgmap-changes-from-570.153.02.patch 0005-backport-hmm_make_device_exclusive_range-changes-fro.patch +0006-backport-NV_DMA_BUF_HAS_DYNAMIC_ATTACHMENT-changes-f.patch hardening.patch typos.patch hmm.patch diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/rules.defs nvidia-open-gpu-kernel-modules-550.163.01/debian/rules.defs --- nvidia-open-gpu-kernel-modules-550.163.01/debian/rules.defs 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/rules.defs 2026-08-01 06:00:23.000000000 +0000 @@ -1,6 +1,6 @@ LINUX_KMOD_VARIANT = -open -LINUX_KMOD_TESTED = 6.15 +LINUX_KMOD_TESTED = 6.18 ARCH_LIST = amd64 ARCH_LIST += arm64 diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/source/lintian-overrides nvidia-open-gpu-kernel-modules-550.163.01/debian/source/lintian-overrides --- nvidia-open-gpu-kernel-modules-550.163.01/debian/source/lintian-overrides 2025-07-21 21:45:24.000000000 +0000 +++ nvidia-open-gpu-kernel-modules-550.163.01/debian/source/lintian-overrides 2026-08-01 06:00:23.000000000 +0000 @@ -8,5 +8,5 @@ # kernel module superficial-tests -# binary data -very-long-line-length-in-source-file * > 512 [src/nvidia-modeset/src/shaders/g_*_shaders:*] +# this package targets bookworm +redundant-rules-requires-root-no-field