-
Notifications
You must be signed in to change notification settings - Fork 184
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
Remove use of FBINFO_CAN_FORCE_OUTPUT #148
Conversation
Thanks, this completely fixed issue for me. I am on this kernel:Linux version 4.20.3-200.fc29.x86_64 (mockbuild@bkernel04.phx2.fedoraproject.org) (gcc version 8.2.1 20181215 (Red Hat 8.2.1-6) (GCC)) #1 SMP Thu Jan 17 15:19:35 UTC 2019 |
We are preparing new release which will address problems with compatibility with new kernels. We have already fix for 4.20 kernel in our '#if #else' style |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check for kernel version
@@ -367,7 +367,7 @@ static int evdifb_create(struct drm_fb_helper *helper, | |||
info->fix.smem_len = size; | |||
info->fix.smem_start = (unsigned long)ufbdev->ufb.obj->vmapping; | |||
|
|||
info->flags = FBINFO_DEFAULT | FBINFO_CAN_FORCE_OUTPUT; | |||
info->flags = FBINFO_DEFAULT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- info->flags = FBINFO_DEFAULT | FBINFO_CAN_FORCE_OUTPUT;
+ #if KERNEL_VERSION(4, 20, 0) <= LINUX_VERSION_CODE
+ info->flags = FBINFO_DEFAULT;
+ #else
+ info->flags = FBINFO_DEFAULT | FBINFO_CAN_FORCE_OUTPUT;
+ #endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check for kernel version
@gbraad You are right about the kernel versions. New stuff should be 'live' early next week; both EVDI and DisplayLinkManager. |
So, finally its there :) (I will just copy&paste this message to wherever it fits ;p) |
The flag was removed in 4.20, see https://patchwork.kernel.org/patch/10572741/