Skip to content

Commit

Permalink
fix graphics startup failure with the rhgb paramter in CentOS8.2
Browse files Browse the repository at this point in the history
(cherry picked from commit d76e9ad)

Resolves: #1874506
  • Loading branch information
guochuang2008 authored and lnykryn committed Jan 7, 2021
1 parent 561339d commit add7675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/50drm/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ installkernel() {
if [[ $hostonly ]]; then
for i in /sys/bus/{pci/devices,virtio/devices,soc/devices/soc?}/*/modalias; do
[[ -e $i ]] || continue
if hostonly="" dracut_instmods --silent -s "drm_crtc_init" -S "iw_handler_get_spy" $(<$i); then
if hostonly="" dracut_instmods --silent -s "drm_crtc_init|drm_dev_register" -S "iw_handler_get_spy" $(<$i); then
if strstr "$(modinfo -F filename $(<$i) 2>/dev/null)" radeon.ko; then
hostonly='' instmods amdkfd
fi
Expand Down

0 comments on commit add7675

Please sign in to comment.