-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
We are going to change the kernel DRM modules from static to dynamic. nvidia_drm.ko requires drm and drm_kms_helper. If theses are dynamic modules, probe them before we load the nvida modules.
@@ -48,6 +48,10 @@ nvver=$(readlink ${leglink}) | |||
|
|||
rm -f /node/usr_share_mxgfx | |||
ln -sf /usr/share/nvidia/${nvver} /node/usr_share_mxgfx | |||
|
|||
test -e /lib/modules/$kver/kernel/drivers/gpu/drm/drm.ko && modprobe drm |
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.
Passing the force switch --force
to modprobe
should also work, shouldn’t work. But it’s not important.
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.
But the man page says, "so using this option is dangerous unless you know what you are doing". So obviously this is not an option to us 🤣
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.
I just read up to dangerous and thought that’s good. ;-)
Looks good to me. |
Did I miss something important about the --force switch ? |
On 12/15/17 13:43, Thomas Kreitler wrote:
Did I miss something important about the --force switch?
Only that @donald thinks we don’t know what we are doing.
|
grin |
We are going to change the kernel DRM modules from static to dynamic.
nvidia_drm.ko requires drm and drm_kms_helper. If theses are dynamic
modules, probe them before we load the nvidia modules.