-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve compile errors for Linux Kernel 6.6 #436
Conversation
|
Any idea when this will be merged? Kernel 6.6 has landed on Archlinux and without this fix people can't upgrade to it while using displaylink and evdi |
Stoled from this PR: DisplayLink#436
|
Tested with Fedora 39 (6.6.1-300.fc39.x86_64), seems to work fine so far. |
I fiddled with the evdi-git pkg build to pull from bidski's repo if you're after an interim fix seems to largely work |
|
That looks like a creative PKGBUILD file. I don't even see where you reference the patch. ;) Do we have any kind of ETA when this fix will be merged? |
|
This is good, please squash all 3 commits to one and remove following comment that you can put in git commit message: |
Specifically, the changes made are: - drm_gem_prime_fd_to_handle and drm_gem_prime_handle_to_fd are no longer exported as these are the defaults, so .prime_fd_to_handle and .prime_handle_to_fd no longer need to be set. - FBINFO_DEFAULT is no longer defined as it was defined as 0 and this is the default value (assuming the info struct is zero initialised)
|
@lspintzyk this has now been squashed |
|
@Bidski Thank you |
I am getting compile errors for Linux Kernel 6.6. See #433 and NixOS/nixpkgs Issue 265868. This PR applies fixes that I think are correct based on the changes made to Linux Kernel 6.6.
Specifically, the changes made in this patch are
drm_gem_prime_fd_to_handleanddrm_gem_prime_handle_to_fdare no longer exported as these are the defaults (if I understand correctly), so.prime_fd_to_handleand.prime_handle_to_fdno longer need to be set.FBINFO_DEFAULTis no longer defined as it was defined as0and this is the default value (assuming theinfostruct is zero initialised)I have done limited testing on my system and it seems to work and the CI build against Linux Kernel 6.6 passes.