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

Đang mở
#1,629 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
50/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, linux
Lĩnh vực
operating-systems

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C
Star
17.7k
Fork
2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/open-gpu-kernel-modules

Tất cả issue của NVIDIA/open-gpu-kernel-modules

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.