580 legacy branch: please backport Linux 7.4 support (vma_is_hugetlb / VM_SPECIAL, drm atomic_create_state)
维护者通常 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_SPECIALand renamedis_vm_hugetlb_page()tovma_is_hugetlb();kernel-open/nvidia-uvm/uvm_hmm.cstill uses both. - nvidia-drm: Linux 7.4 removed the
resetcallbacks ofdrm_crtc_funcs/drm_plane_funcsin favour ofatomic_create_state;nvidia-drm-crtc.cin 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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/open-gpu-kernel-modules 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
维护者通常 1 天内回复
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 条评论 ·
维护者通常 1 天内回复
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at boot可能已有人在做 @SammyTourani 于 69 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 条评论 ·
维护者通常 1 天内回复
查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
Jstar269/nakagawa-recomp#3753 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
ly05010419/MacNativeGames#2474 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
Life-Framework/Life-Framework#7017 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
gjrtimmer/jetson-nvmpi#170 ·