Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Remove i915kms loading by default, let Xorg load it on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Oct 7, 2013
1 parent 0f1ec55 commit b660a2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions overlays/install-overlay/etc/pcbsd-video.sh
Expand Up @@ -68,9 +68,3 @@ if [ $? -eq 0 ] ; then
sleep 1
fi
fi

# If we are running an intel chipset, load the newer KMS driver automatically
if [ "$loadIntelKMS" = "yes" ] ; then
kldload i915kms
touch /tmp/loadIntelKMS
fi
10 changes: 0 additions & 10 deletions src-sh/xtrafiles/local/share/pcbsd/scripts/sys-init.sh
Expand Up @@ -73,16 +73,6 @@ if [ "$1" = "desktop" ] ;then
# Init the desktop
/usr/local/bin/pc-extractoverlay desktop --sysinit

# Check if we need to load i915kms
kldstat | grep -q "i915kms"
if [ $? -eq 0 ] ; then
echo "iicbb_load=\"YES\"" >> /boot/loader.conf
echo "iicbus_load=\"YES\"" >> /boot/loader.conf
echo "iic_load=\"YES\"" >> /boot/loader.conf
echo "drm2_load=\"YES\"" >> /boot/loader.conf
echo "i915kms_load=\"YES\"" >> /boot/loader.conf
fi

# Need to save a language?
if [ -n "$2" ] ; then
echo "$2" > /etc/pcbsd-lang
Expand Down

0 comments on commit b660a2d

Please sign in to comment.