Fix drm-v4.11 on 12.x#193
Open
fullermd wants to merge 3 commits intoFreeBSDDesktop:drm-v4.11-fbsd11.2from
Open
Fix drm-v4.11 on 12.x#193fullermd wants to merge 3 commits intoFreeBSDDesktop:drm-v4.11-fbsd11.2from
fullermd wants to merge 3 commits intoFreeBSDDesktop:drm-v4.11-fbsd11.2from
Conversation
DRM_SYSCTL_PRINT fails without the lock (FreeBSDDesktop#170)
Include header to allow building.
Enable Message Signaled Interrupts (MSI) (FreeBSDDesktop#163)
Member
|
This needs to be properly tested on 11.3, 12.0 and 12.1 before it can land. |
Contributor
|
@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? |
Contributor
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.