diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-15 21:46:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-15 21:49:06 +0100 |
commit | 54f8a3f7cf12eea484a0b0641718ced559959f53 (patch) | |
tree | c5f6785512d7f761e95f171c732cc12a00d4fe13 /tests | |
parent | cd87b4004fbe091e70798337f34152f197deb8da (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-x | tests/sysfs_l3_parity | 7 |
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 |