-
Notifications
You must be signed in to change notification settings - Fork 26
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 drm-v4.11 on 12.x #193
base: drm-v4.11-fbsd11.2
Are you sure you want to change the base?
Fix drm-v4.11 on 12.x #193
Conversation
DRM_SYSCTL_PRINT fails without the lock (FreeBSDDesktop#170)
Include header to allow building.
Enable Message Signaled Interrupts (MSI) (FreeBSDDesktop#163)
This needs to be properly tested on 11.3, 12.0 and 12.1 before it can land. |
@zeising : These changes look good to me. Can we merge them? |
I have merged this and #226 on top of drm-v4.11-fbsd11.2 and testing this on my 11.3-STABLE laptop with Intel GM45. So far, so good, at least it builds, runs and even OpenGL is available. How can I test if MSI work properly? |
Any reason why you're not using the 4.16 branch ? |
No reason, I am new to this project and I was installing |
drm-v4.16 as of e0ca912 fails on 11.3-STABLE #0 r356413 with
Same for
|
These changes allow running the 4.11 kmod on recentish stable/12, by cherrypicking back several recent changes from the 4.16 branch. I've now had several weeks on a radeonkms and an amdgpu system, without obvious incident.
This compiles against a stable/11 sys/ tree, but I don't have any 11.2 systems around to try running it on. I wouldn't naively expect issues from the sort of changes involved; if there were, I'd expect the MSI changes would be the likely cause.
In a minimalistic mold, the header added in linuxkpi/gplv2/src/linux_compat.c may be the only bit strictly necessary to get it to build and run on 12.