580 legacy branch: please backport Linux 7.4 support (vma_is_hugetlb / VM_SPECIAL, drm atomic_create_state)

未關閉
#1,629 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
50/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
c, linux

研究方向

Compare the 580 and 620 branches, starting with kernel-open/nvidia-uvm/uvm_hmm.c and nvidia-drm-crtc.c. Check how the 620 branch handles Linux 7.4 compatibility and identify the corresponding 580 code paths for hugetlb detection and DRM state creation. Done means the 580 branch builds against Linux 7.4 with both compatibility changes backported.

由索引模型根據 Issue 內容生成。

描述

The 580 branch is the last one supporting Maxwell, Pascal and Volta GPUs, so distributions keep shipping it next to the current branch. 580.196.11 does not build against Linux 7.4:

  • nvidia-uvm: Linux 7.4 removed VM_SPECIAL and renamed is_vm_hugetlb_page() to vma_is_hugetlb(); kernel-open/nvidia-uvm/uvm_hmm.c still uses both.
  • nvidia-drm: Linux 7.4 removed the reset callbacks of drm_crtc_funcs/drm_plane_funcs in favour of atomic_create_state; nvidia-drm-crtc.c in 580.196.11 only provides .reset.

620.85.02 already handles both (nv_vma_is_hugetlb() in uvm_hmm.c, atomic_create_state hooks in nvidia-drm-crtc.c). Could these changes be backported to the 580 branch?

For reference, we currently carry our own downstream patches for 580.196.07 (conftest-based atomic_create_state for CRTC/plane, VM_SPECIAL/vma_is_hugetlb fallbacks); they build against 7.4.0-rc4 but are not tested on hardware, so we would much prefer an official 580 update.

AI disclosure: the comparison of the branches was prepared with the help of an AI coding assistant; reviewed by me.

🤖 Generated with Claude Code

主要語言
C
星號
17.7k
分支
2k
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/open-gpu-kernel-modules 的其他 Issue

查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。