summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/intel_dump_gpu.in
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2018-07-03 11:38:39 -0700
committerRafael Antognolli <[email protected]>2018-07-10 09:05:44 -0700
commit688d757e15e2a7142312d74748142bee1f3b6d74 (patch)
treeb86e466b1327ec45f906ad7006c845cbe4d162ff /src/intel/tools/intel_dump_gpu.in
parent45106a1c931d86060df72bcd296b4a1d33fda9bb (diff)
intel/tools/dump_gpu: Add option to print ppgtt mappings.
Using -vv will increase the verbosity, by printing the ppgtt mappings as they get written into the aub file. Cc: Lionel Landwerlin <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools/intel_dump_gpu.in')
-rwxr-xr-xsrc/intel/tools/intel_dump_gpu.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/tools/intel_dump_gpu.in b/src/intel/tools/intel_dump_gpu.in
index 875a67e7682..b9887f0ed2e 100755
--- a/src/intel/tools/intel_dump_gpu.in
+++ b/src/intel/tools/intel_dump_gpu.in
@@ -17,6 +17,8 @@ contents and execution of the GEM application.
-v Enable verbose output
+ -vv Enable extra verbosity - dumps gtt mappings
+
--help Display this help message and exit
EOF
@@ -55,6 +57,10 @@ while true; do
add_arg "verbose=1"
shift 1
;;
+ -vv)
+ add_arg "verbose=2"
+ shift 1
+ ;;
-o*)
file=${1##-o}
add_arg "file=${file:-$(basename ${file}).aub}"