Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF:Kernel
x11-video-nvidia-legacy
kernel-4.9.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kernel-4.9.patch of Package x11-video-nvidia-legacy
Author: Luca Boccassi <luca.boccassi@gmail.com> Description: Fix kernel module load on 4.9 and greater From kernel 4.9 and newer (commit fa5386459f06) non-modesetting drivers have to use the DRM flag DRIVER_LEGACY. Without this flag the kernel module does not load correctly. --- a/nv-drm.c +++ b/nv-drm.c @@ -71,7 +71,11 @@ }; static struct drm_driver nv_drm_driver = { +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0) .driver_features = 0, +#else + .driver_features = DRIVER_LEGACY, +#endif .load = nv_drm_load, .unload = nv_drm_unload, .fops = &nv_drm_fops,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor