mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/dpf: simple dpf test
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
8f7ea34751
commit
dac1a2ceda
@ -71,6 +71,7 @@ TESTS_progs = \
|
||||
TESTS_scripts = \
|
||||
debugfs_reader \
|
||||
debugfs_emon_crash \
|
||||
dpf_test \
|
||||
sysfs_edid_timing \
|
||||
module_reload \
|
||||
ZZ_check_dmesg \
|
||||
|
@ -4,5 +4,12 @@ SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
||||
. $SOURCE_DIR/drm_lib.sh
|
||||
|
||||
$SOURCE_DIR/../tools/intel_l3_parity -c 2>&1
|
||||
|
||||
#Check that we can remap a row
|
||||
$SOURCE_DIR/../tools/intel_l3_parity 0,0,0 2>&1
|
||||
$SOURCE_DIR/../tools/intel_l3_parity 2>&1
|
||||
disabled=`$SOURCE_DIR/../tools/intel_l3_parity | grep -c 'Row 0, Bank 0, Subbank 0 is disabled'`
|
||||
[ "$disabled" = "1" ] || echo "Fail" && exit -1
|
||||
$SOURCE_DIR/../tools/intel_l3_parity -c 2>&1
|
||||
|
||||
#Check that we can clear remaps
|
||||
[ `$SOURCE_DIR/../tools/intel_l3_parity | wc -c` = "0" ] || echo "Fail" && exit -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user