diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh index ad0e6d80..ddc1223d 100755 --- a/modules.d/50drm/module-setup.sh +++ b/modules.d/50drm/module-setup.sh @@ -33,13 +33,13 @@ installkernel() { if [[ $hostonly ]]; then for i in /sys/bus/{pci/devices,platform/devices,virtio/devices,soc/devices/soc?}/*/modalias; do [[ -e $i ]] || continue - if hostonly="" dracut_instmods --silent -s "drm_crtc_init|drm_dev_register" -S "iw_handler_get_spy" $(<"$i"); then + if hostonly="" dracut_instmods --silent -s "drm_crtc_init|drm_dev_register|drm_encoder_init" -S "iw_handler_get_spy" $(<"$i"); then if strstr "$(modinfo -F filename $(<"$i") 2>/dev/null)" radeon.ko; then hostonly='' instmods amdkfd fi fi done else - dracut_instmods -o -s "drm_crtc_init|drm_dev_register" "=drivers/gpu/drm" "=drivers/staging" + dracut_instmods -o -s "drm_crtc_init|drm_dev_register|drm_encoder_init" "=drivers/gpu/drm" "=drivers/staging" fi }