mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
Requested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
19 lines
447 B
Bash
Executable File
19 lines
447 B
Bash
Executable File
#!/bin/bash
|
|
# Test some of the most critical tools we have accidentally broken before.
|
|
# TODO: Possibly make tests parse output
|
|
|
|
whoami | grep -q root || ( echo ERROR: not running as root; exit 1 )
|
|
|
|
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
|
. $SOURCE_DIR/drm_lib.sh
|
|
|
|
# ARB_MODE has existed for many gens
|
|
do_or_die "$SOURCE_DIR/../tools/intel_reg_read 0x4030"
|
|
|
|
do_or_die "$SOURCE_DIR/../tools/intel_reg_dumper"
|
|
|
|
# TODO: Add more tests
|
|
|
|
exit 0
|
|
|