From cd64e193299be4b9733a5e804cedd99e2072830f Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 31 Mar 2010 17:25:23 -0400 Subject: 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 --- man/intel_reg_dumper.1 | 19 ++++++++++++++++--- man/intel_reg_snapshot.1 | 15 +++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 man/intel_reg_snapshot.1 (limited to 'man') diff --git a/man/intel_reg_dumper.1 b/man/intel_reg_dumper.1 index 9fbe300c..a92b054c 100644 --- a/man/intel_reg_dumper.1 +++ b/man/intel_reg_dumper.1 @@ -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) diff --git a/man/intel_reg_snapshot.1 b/man/intel_reg_snapshot.1 new file mode 100644 index 00000000..07cfb6e3 --- /dev/null +++ b/man/intel_reg_snapshot.1 @@ -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) -- cgit v1.2.3