call xrandr to refresh sysfs

This commit is contained in:
Stefan Tomanek 2010-11-09 15:16:46 +01:00
parent 890b56ec80
commit e0408ae8c8
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ setup_fp_xrandr_edid() {
}
setup_fp_sysfs_edid() {
# xrandr triggers the reloading of EDID data
$XRANDR -q > /dev/null
# hash the EDIDs of all _connected_ devices
for P in /sys/class/drm/card*-*/; do
if grep -q "^connected$" < "${P}status"; then