Commit 40bff507 authored by Eric Anholt's avatar Eric Anholt

Add intel_gpu_dump from the 2D driver.

parent d48fc144
......@@ -53,5 +53,6 @@ tests/gem_bad_blit
tests/gem_hang
tools/intel_gpu_dump
tools/intel_gpu_top
tools/intel_reg_dumper
tools/intel_reg_write
tools/intel_stepping
......@@ -36,6 +36,8 @@ extern struct pci_device *pci_dev;
extern uint32_t devid;
extern void *mmio;
#define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
static inline uint32_t
INREG(uint32_t reg)
{
......
This diff is collapsed.
dist_man1_MANS = \
intel_gpu_dump.1 \
intel_gpu_top.1 \
intel_reg_dumper.1 \
intel_reg_write.1 \
intel_stepping.1 \
intel_upload_blit_large.1 \
......
emacs .\" shorthand for double quote that works everywhere.
.ds q \N'34'
.TH intel_reg_dumper 1 "intel_reg_dumper 1.0"
.SH NAME
intel_reg_dumper \- Decode a bunch of Intel GPU registers for debugging
.SH SYNOPSIS
.B intel_reg_dumper
.SH DESCRIPTION
.B intel_reg_write
is a tool to read and decode the values of many Intel GPU registers. It is
commonly used in debugging video mode setting issues.
......@@ -2,6 +2,7 @@ bin_PROGRAMS = \
intel_gpu_dump \
intel_gpu_top \
intel_stepping \
intel_reg_dumper \
intel_reg_write
intel_gpu_dump_SOURCES = \
......
......@@ -59,8 +59,6 @@
return count; \
} while (0)
#define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
static FILE *out;
static uint32_t saved_s2 = 0, saved_s4 = 0;
static char saved_s2_set = 0, saved_s4_set = 0;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment