Skip to content

Fix building on kernel 6.14 #510

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

Closed
wants to merge 1 commit into from

Conversation

m-pellizzer
Copy link

In Linux 6.14-rc1 the field 'date' has been removed from the struct drm_driver. See upstream commit:

cb2e1c2136f716 drm: remove driver date from struct drm_driver and all drivers

This causes the following compile time error when compiling against 6.14 kernel:

evdi_drm_drv.c:150:10: error: ‘struct drm_driver’ has no member named ‘date’
  150 |         .date = DRIVER_DATE,
      |          ^~~~

Adjust the initialization of the struct drm_driver accordingly.

In Linux 6.14-rc1 the field 'date' has been removed from the struct
drm_driver. See upstream commit:

cb2e1c2136f716 drm: remove driver date from struct drm_driver and all drivers

Adjust the initialization of the struct drm_driver accordingly.

Signed-off-by: Massimiliano Pellizzer <massimiliano.pellizzer@canonical.com>
@elguero
Copy link
Contributor

elguero commented Mar 3, 2025

Adding a bit more of information.

This was deprecated in 6.11 and removed in 6.14.
torvalds/linux@7fb8af6

@nahoj
Copy link

nahoj commented May 31, 2025

If this simple fix is all it takes, it would be valuable to merge it as more and more people are using a kernel >= 6.14, with Ubuntu 25.04 for instance.

@nahoj
Copy link

nahoj commented May 31, 2025

Given this, the claim in the README that "DisplayLink has verified the module compiles and works with Ubuntu variants of kernels up to 6.15", sounds rather aspirational to me.

@m-pellizzer
Copy link
Author

Closing the PR because the change has already been included in the tree

@m-pellizzer m-pellizzer closed this Jun 2, 2025
@m-pellizzer m-pellizzer deleted the fix-linux-6.14 branch June 2, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants