mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
tests: add some help to module_reload
... so that it's easier to get the kernel configuration right.
This commit is contained in:
parent
a628d56470
commit
3985d9b976
@ -12,7 +12,11 @@ SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
||||
|
||||
# vtcon0 is vga, vtcon1 fbcon and let's pray that won't change due to boot load
|
||||
# time changes
|
||||
echo 0 > /sys/class/vtconsole/vtcon1/bind || echo "no kms unload support" && exit 77
|
||||
if ! echo 0 > /ys/class/vtconsole/vtcon1/bind ; then
|
||||
echo -e "no kms unload support"
|
||||
echo "please enable CONFIG_VT_HW_CONSOLE_BINDING in the kernel"
|
||||
exit 77
|
||||
fi
|
||||
|
||||
#ignore errors in ips - gen5 only
|
||||
rmmod intel_ips &> /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user