intel_reg_dumper: Add support for reading register dumps from files

Also add intel_reg_snapshot for creating such snapshots, and relevant
documentation.

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson
2010-03-31 17:25:23 -04:00
parent 2187ec2112
commit cd64e19329
7 changed files with 109 additions and 5 deletions
+16 -3
View File
@@ -4,8 +4,21 @@
.SH NAME
intel_reg_dumper \- Decode a bunch of Intel GPU registers for debugging
.SH SYNOPSIS
.B intel_reg_dumper
.B intel_reg_dumper [ file ]
.SH DESCRIPTION
.B intel_reg_write
.B intel_reg_dumper
is a tool to read and decode the values of many Intel GPU registers. It is
commonly used in debugging video mode setting issues.
commonly used in debugging video mode setting issues. If the
.B file
argument is present, the registers will be decoded from the given file
instead of the current registers. Use the
.B intel_reg_snapshot
tool to generate such files.
.SH ENVIRONMENT
.BR HAS_PCH_SPLIT
.PP
If set, decode as though the GPU has a PCH split. This is only necessary for
Intel HD (Ironlake) and later register dumps in files; live decodes get this
correct automatically.
.SH SEE ALSO
.BR intel_reg_snapshot(1)
+15
View File
@@ -0,0 +1,15 @@
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
.TH intel_reg_snapshot 1 "intel_reg_snapshot 1.0"
.SH NAME
intel_reg_snapshot \- Take a GPU register snapshot
.SH SYNOPSIS
.B intel_reg_snapshot
.SH DESCRIPTION
.B intel_reg_snapshot
takes a snapshot of the registers of an Intel GPU, and writes it to standard
output. These files can be inspected later with the
.B intel_reg_dumper
tool.
.SH SEE ALSO
.BR intel_reg_dumper(1)