Skip to content
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

Fix building on kernel 6.14 #510

Open
wants to merge 1 commit into
base: main
Choose a base branch
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 <[email protected]>
@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

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.

2 participants