16 # Include KMS capable drm drivers
18 if [[ "$(uname -p)" == arm
* ]]; then
19 # arm specific modules needed by drm
21 "=drivers/gpu/drm/i2c" \
22 "=drivers/gpu/drm/panel" \
24 "=drivers/video/backlight" \
25 "=drivers/video/fbdev/omap2/displays-new" \
29 instmods amdkfd hyperv_fb
31 # if the hardware is present, include module even if it is not currently loaded,
32 # as we could e.g. be in the installer; nokmsboot boot parameter will disable
33 # loading of the driver if needed
34 if [[ $hostonly ]]; then
35 for i
in /sys
/bus
/{pci
/devices
,soc
/devices
/soc?
}/*/modalias
; do
36 [[ -e $i ]] ||
continue
37 if hostonly
="" dracut_instmods
-s "drm_crtc_init" $
(<$i) 2>/dev
/null
; then
38 if strstr $
(modinfo
-F filename $
(<$i) 2>/dev
/null
) radeon.ko
; then
39 hostonly
='' instmods amdkfd
44 dracut_instmods
-s "drm_crtc_init" "=drivers/gpu/drm"