3 # This check the time we take to read the content of all the possible connectors.
4 # Without the edid -ENXIO patch (http://permalink.gmane.org/gmane.comp.video.dri.devel/62083),
5 # we sometimes take a *really* long time. So let's just check for some reasonable timing here
8 DRM_LIB_ALLOW_NO_MASTER=1
10 SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
11 . $SOURCE_DIR/drm_lib.sh
14 cat $(find /sys/devices/|grep drm | grep /status) > /dev/null
18 RES=$(((TIME2 - TIME1) / 1000000))
20 if [ $RES -gt 600 ]; then
21 echo "Talking to outputs took ${RES}ms, something is wrong"