summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-10-15 21:46:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-10-15 21:49:06 +0100
commit54f8a3f7cf12eea484a0b0641718ced559959f53 (patch)
treec5f6785512d7f761e95f171c732cc12a00d4fe13 /tests
parentcd87b4004fbe091e70798337f34152f197deb8da (diff)
tools/l3_parity: Skip on ivb with only a single slice
The l3_parity tool requires multiple banks and fails on ivb which has no l3_parity_slice_1. References: https://bugs.freedesktop.org/show_bug.cgi?id=97565 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sysfs_l3_parity7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/sysfs_l3_parity b/tests/sysfs_l3_parity
index 6f14b84c..d5f3284d 100755
--- a/tests/sysfs_l3_parity
+++ b/tests/sysfs_l3_parity
@@ -3,12 +3,7 @@
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
. $SOURCE_DIR/drm_lib.sh
-if ! find /sys/class/drm/card*/ | grep l3_parity > /dev/null ; then
- echo "no l3_parity interface, skipping test"
- exit $IGT_EXIT_SKIP
-fi
-
-$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e
+$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e || exit $?
#Check that we can remap a row
$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -d