|
|
1bf31c |
From add76751a1bc290088ca650cbec0be3696beb8d6 Mon Sep 17 00:00:00 2001
|
|
|
1bf31c |
From: GuoChuang <guo.chuang@zte.com.cn>
|
|
|
1bf31c |
Date: Mon, 24 Aug 2020 14:03:48 +0800
|
|
|
1bf31c |
Subject: [PATCH] fix graphics startup failure with the rhgb paramter in
|
|
|
1bf31c |
CentOS8.2
|
|
|
1bf31c |
|
|
|
1bf31c |
(cherry picked from commit d76e9ad5d7b16edb3c544ed3888640bea0efbf72)
|
|
|
1bf31c |
|
|
|
1bf31c |
Resolves: #1874506
|
|
|
1bf31c |
---
|
|
|
1bf31c |
modules.d/50drm/module-setup.sh | 2 +-
|
|
|
1bf31c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
1bf31c |
|
|
|
1bf31c |
diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh
|
|
|
1bf31c |
index a1711c00..b4ead7f2 100755
|
|
|
1bf31c |
--- a/modules.d/50drm/module-setup.sh
|
|
|
1bf31c |
+++ b/modules.d/50drm/module-setup.sh
|
|
|
1bf31c |
@@ -33,7 +33,7 @@ installkernel() {
|
|
|
1bf31c |
if [[ $hostonly ]]; then
|
|
|
1bf31c |
for i in /sys/bus/{pci/devices,virtio/devices,soc/devices/soc?}/*/modalias; do
|
|
|
1bf31c |
[[ -e $i ]] || continue
|
|
|
1bf31c |
- if hostonly="" dracut_instmods --silent -s "drm_crtc_init" -S "iw_handler_get_spy" $(<$i); then
|
|
|
1bf31c |
+ if hostonly="" dracut_instmods --silent -s "drm_crtc_init|drm_dev_register" -S "iw_handler_get_spy" $(<$i); then
|
|
|
1bf31c |
if strstr "$(modinfo -F filename $(<$i) 2>/dev/null)" radeon.ko; then
|
|
|
1bf31c |
hostonly='' instmods amdkfd
|
|
|
1bf31c |
fi
|
|
|
1bf31c |
|